Skip to content

Commit 1c2a245

Browse files
Merge pull request #15 from getyoti/YD-25937
[RELEASE][YM-25937] Release 2.1.0
2 parents 2e74119 + e889bf7 commit 1c2a245

File tree

11 files changed

+22
-7
lines changed

11 files changed

+22
-7
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.lock

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# ChangeLog
22

3+
## Version 2.1.0
4+
5+
Android 12 support
6+
37
## Version 2.0.0
48

59
The `title` prop has been replaced by the localisation options.

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,3 +239,7 @@ protected List<ReactPackage> getPackages() {
239239
```
240240

241241
</details>
242+
243+
## Support
244+
If you have any other questions please do not hesitate to contact [email protected].
245+
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.

android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ android {
1111
defaultConfig {
1212
minSdkVersion safeExtGet('minSdkVersion', 16)
1313
targetSdkVersion safeExtGet('targetSdkVersion', 28)
14-
versionCode 200
15-
versionName "2.0.0"
14+
versionCode 210
15+
versionName "2.1.0"
1616
ndk {
1717
abiFilters "armeabi-v7a", "x86"
1818
}
@@ -22,5 +22,5 @@ android {
2222
dependencies {
2323
//noinspection GradleDynamicVersion
2424
implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}"
25-
implementation "com.yoti.mobile.android.sdk:yoti-button-sdk:1.3.0"
25+
implementation "com.yoti.mobile.android.sdk:yoti-button-sdk:1.3.2"
2626
}

example/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,4 @@ buck-out/
5757

5858
# CocoaPods
5959
/ios/Pods/
60+
Podfile.lock

example/android/app/src/main/java/com/example/MainApplication.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import android.content.Context;
55
import com.facebook.react.PackageList;
66
import com.facebook.react.ReactApplication;
7+
import com.facebook.react.ReactInstanceManager;
78
import com.facebook.react.ReactNativeHost;
89
import com.facebook.react.ReactPackage;
910
import com.facebook.soloader.SoLoader;

example/ios/example.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@
520520
INFOPLIST_FILE = example/Info.plist;
521521
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
522522
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
523-
MARKETING_VERSION = 2.0.0;
523+
MARKETING_VERSION = 2.1.0;
524524
OTHER_LDFLAGS = (
525525
"$(inherited)",
526526
"-ObjC",
@@ -548,7 +548,7 @@
548548
INFOPLIST_FILE = example/Info.plist;
549549
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
550550
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
551-
MARKETING_VERSION = 2.0.0;
551+
MARKETING_VERSION = 2.1.0;
552552
OTHER_LDFLAGS = (
553553
"$(inherited)",
554554
"-ObjC",

example/ios/example/AppDelegate.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#import <React/RCTRootView.h>
66
#import "React/RCTLinkingManager.h"
77
#import <React/RCTBundleURLProvider.h>
8+
#import <React/RCTDevLoadingView.h>
89
#import <react-native-yoti-button/RNYotiButtonViewManager.h>
910

1011
#ifdef FB_SONARKIT_ENABLED
@@ -35,6 +36,9 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
3536
#endif
3637

3738
RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
39+
#if RCT_DEV
40+
[bridge moduleForClass:[RCTDevLoadingView class]];
41+
#endif
3842
RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
3943
moduleName:@"example"
4044
initialProperties:nil];

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "example",
3-
"version": "2.0.0",
3+
"version": "2.1.0",
44
"private": true,
55
"scripts": {
66
"android": "react-native run-android",

0 commit comments

Comments
 (0)