Skip to content

Commit

Permalink
Merge pull request #15 from getyoti/YD-25937
Browse files Browse the repository at this point in the history
[RELEASE][YM-25937] Release 2.1.0
  • Loading branch information
mariasenosiain authored Apr 7, 2022
2 parents 2e74119 + e889bf7 commit 1c2a245
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.lock
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# ChangeLog

## Version 2.1.0

Android 12 support

## Version 2.0.0

The `title` prop has been replaced by the localisation options.
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,3 +239,7 @@ protected List<ReactPackage> getPackages() {
```

</details>

## Support
If you have any other questions please do not hesitate to contact [email protected].
Once we have answered your question we may contact you again to discuss Yoti products and services. If you'd prefer us not to do this, please let us know when you e-mail.
6 changes: 3 additions & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ android {
defaultConfig {
minSdkVersion safeExtGet('minSdkVersion', 16)
targetSdkVersion safeExtGet('targetSdkVersion', 28)
versionCode 200
versionName "2.0.0"
versionCode 210
versionName "2.1.0"
ndk {
abiFilters "armeabi-v7a", "x86"
}
Expand All @@ -22,5 +22,5 @@ android {
dependencies {
//noinspection GradleDynamicVersion
implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}"
implementation "com.yoti.mobile.android.sdk:yoti-button-sdk:1.3.0"
implementation "com.yoti.mobile.android.sdk:yoti-button-sdk:1.3.2"
}
1 change: 1 addition & 0 deletions example/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,4 @@ buck-out/

# CocoaPods
/ios/Pods/
Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import android.content.Context;
import com.facebook.react.PackageList;
import com.facebook.react.ReactApplication;
import com.facebook.react.ReactInstanceManager;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import com.facebook.soloader.SoLoader;
Expand Down
4 changes: 2 additions & 2 deletions example/ios/example.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@
INFOPLIST_FILE = example/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 2.0.0;
MARKETING_VERSION = 2.1.0;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand Down Expand Up @@ -548,7 +548,7 @@
INFOPLIST_FILE = example/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 2.0.0;
MARKETING_VERSION = 2.1.0;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand Down
4 changes: 4 additions & 0 deletions example/ios/example/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#import <React/RCTRootView.h>
#import "React/RCTLinkingManager.h"
#import <React/RCTBundleURLProvider.h>
#import <React/RCTDevLoadingView.h>
#import <react-native-yoti-button/RNYotiButtonViewManager.h>

#ifdef FB_SONARKIT_ENABLED
Expand Down Expand Up @@ -35,6 +36,9 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
#endif

RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
#if RCT_DEV
[bridge moduleForClass:[RCTDevLoadingView class]];
#endif
RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
moduleName:@"example"
initialProperties:nil];
Expand Down
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "example",
"version": "2.0.0",
"version": "2.1.0",
"private": true,
"scripts": {
"android": "react-native run-android",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@getyoti/react-native-yoti-button",
"version": "2.0.0",
"version": "2.1.0",
"description": "A <YotiButton /> component for React Native",
"main": "YotiButton.js",
"license": "MIT",
Expand Down

0 comments on commit 1c2a245

Please sign in to comment.