From 8548edff9c8553258248ddd543e5d0e6cd34b6f8 Mon Sep 17 00:00:00 2001 From: dannami Date: Wed, 9 Oct 2024 17:19:44 -0600 Subject: [PATCH 1/2] 3.2.5 --- android/build.gradle | 4 ++-- .../src/main/java/com/nami/reactlibrary/NamiBridgeModule.kt | 2 +- ios/Nami.m | 2 +- package.json | 2 +- react-native-nami-sdk.podspec | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index cd02fb91..51ce1df3 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -85,8 +85,8 @@ dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" - playImplementation "com.namiml:sdk-android:3.2.4" - amazonImplementation "com.namiml:sdk-amazon:3.2.4" + playImplementation "com.namiml:sdk-android:3.2.5" + amazonImplementation "com.namiml:sdk-amazon:3.2.5" implementation "com.facebook.react:react-native:+" // From node_modules coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:1.1.5" diff --git a/android/src/main/java/com/nami/reactlibrary/NamiBridgeModule.kt b/android/src/main/java/com/nami/reactlibrary/NamiBridgeModule.kt index cc97b79e..6bc4ac87 100644 --- a/android/src/main/java/com/nami/reactlibrary/NamiBridgeModule.kt +++ b/android/src/main/java/com/nami/reactlibrary/NamiBridgeModule.kt @@ -106,7 +106,7 @@ class NamiBridgeModule(reactContext: ReactApplicationContext) : } else { Arguments.createArray() } - val settingsList = mutableListOf("extendedClientInfo:react-native:3.2.4") + val settingsList = mutableListOf("extendedClientInfo:react-native:3.2.5") namiCommandsReact?.toArrayList()?.filterIsInstance()?.let { commandsFromReact -> settingsList.addAll(commandsFromReact) } diff --git a/ios/Nami.m b/ios/Nami.m index 8d989511..1c78b0d6 100644 --- a/ios/Nami.m +++ b/ios/Nami.m @@ -50,7 +50,7 @@ @implementation NamiBridge (RCTExternModule) } // Start commands with header iformation for Nami to let them know this is a React client. - NSMutableArray *namiCommandStrings = [NSMutableArray arrayWithArray:@[@"extendedClientInfo:react-native:3.2.4"]]; + NSMutableArray *namiCommandStrings = [NSMutableArray arrayWithArray:@[@"extendedClientInfo:react-native:3.2.5"]]; // Add additional namiCommands app may have sent in. NSObject *appCommandStrings = configDict[@"namiCommands"]; diff --git a/package.json b/package.json index 6811318c..ade6bce9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-nami-sdk", - "version": "3.2.4", + "version": "3.2.5", "description": "React Native Module for Nami - Easy subscriptions & in-app purchases, with powerful built-in paywalls and A/B testing.", "main": "index.ts", "types": "index.d.ts", diff --git a/react-native-nami-sdk.podspec b/react-native-nami-sdk.podspec index 049025a6..d6ae8ceb 100644 --- a/react-native-nami-sdk.podspec +++ b/react-native-nami-sdk.podspec @@ -20,7 +20,7 @@ Pod::Spec.new do |s| s.source_files = "ios/**/*.{h,m,swift}" s.requires_arc = true - s.dependency 'Nami', '3.2.4' + s.dependency 'Nami', '3.2.5' s.dependency 'React' end From 1c6b398fff899219c8bcf8922e24af9f51267b83 Mon Sep 17 00:00:00 2001 From: dannami Date: Wed, 9 Oct 2024 17:46:42 -0600 Subject: [PATCH 2/2] bump apple to 3.2.6 --- react-native-nami-sdk.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react-native-nami-sdk.podspec b/react-native-nami-sdk.podspec index d6ae8ceb..e487f630 100644 --- a/react-native-nami-sdk.podspec +++ b/react-native-nami-sdk.podspec @@ -20,7 +20,7 @@ Pod::Spec.new do |s| s.source_files = "ios/**/*.{h,m,swift}" s.requires_arc = true - s.dependency 'Nami', '3.2.5' + s.dependency 'Nami', '3.2.6' s.dependency 'React' end