react-native-nami-sdk 3.0.11 → 3.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/android/build.gradle
CHANGED
|
@@ -39,7 +39,7 @@ android {
|
|
|
39
39
|
compileSdkVersion 32
|
|
40
40
|
buildToolsVersion safeExtGet('buildToolsVersion', DEFAULT_BUILD_TOOLS_VERSION)
|
|
41
41
|
defaultConfig {
|
|
42
|
-
minSdkVersion
|
|
42
|
+
minSdkVersion 22
|
|
43
43
|
targetSdkVersion 31
|
|
44
44
|
versionCode 1
|
|
45
45
|
versionName "1.0"
|
|
@@ -47,6 +47,7 @@ android {
|
|
|
47
47
|
compileOptions {
|
|
48
48
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
49
49
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
50
|
+
coreLibraryDesugaringEnabled true
|
|
50
51
|
}
|
|
51
52
|
lintOptions {
|
|
52
53
|
abortOnError false
|
|
@@ -84,6 +85,7 @@ dependencies {
|
|
|
84
85
|
implementation "com.namiml:sdk-android:3.0.13"
|
|
85
86
|
|
|
86
87
|
implementation 'com.facebook.react:react-native:+' // From node_modules
|
|
88
|
+
coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:1.1.5"
|
|
87
89
|
}
|
|
88
90
|
def configureReactNativePom(def pom) {
|
|
89
91
|
def packageJson = new JsonSlurper().parseText(file('../package.json').text)
|
|
@@ -114,7 +114,7 @@ class NamiBridgeModule(reactContext: ReactApplicationContext) :
|
|
|
114
114
|
} else {
|
|
115
115
|
Arguments.createArray()
|
|
116
116
|
}
|
|
117
|
-
val settingsList = mutableListOf("extendedClientInfo:react-native:3.0.
|
|
117
|
+
val settingsList = mutableListOf("extendedClientInfo:react-native:3.0.12")
|
|
118
118
|
namiCommandsReact?.toArrayList()?.filterIsInstance<String>()?.let { commandsFromReact ->
|
|
119
119
|
settingsList.addAll(commandsFromReact)
|
|
120
120
|
}
|
package/ios/Nami.m
CHANGED
|
@@ -52,7 +52,7 @@ RCT_EXPORT_METHOD(configure: (NSDictionary *)configDict completion: (RCTResponse
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
// Start commands with header iformation for Nami to let them know this is a React client.
|
|
55
|
-
NSMutableArray *namiCommandStrings = [NSMutableArray arrayWithArray:@[@"extendedClientInfo:react-native:3.0.
|
|
55
|
+
NSMutableArray *namiCommandStrings = [NSMutableArray arrayWithArray:@[@"extendedClientInfo:react-native:3.0.12"]];
|
|
56
56
|
|
|
57
57
|
// Add additional namiCommands app may have sent in.
|
|
58
58
|
NSObject *appCommandStrings = configDict[@"namiCommands"];
|
package/package.json
CHANGED