diff --git a/android/build.gradle b/android/build.gradle index c9e73def..bed73889 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -35,11 +35,11 @@ buildscript { } } android { - compileSdkVersion 32 + compileSdkVersion 33 buildToolsVersion safeExtGet('buildToolsVersion', DEFAULT_BUILD_TOOLS_VERSION) defaultConfig { minSdkVersion 22 - targetSdkVersion 31 + targetSdkVersion 33 versionCode 1 versionName "1.0" } diff --git a/android/src/main/java/com/nami/reactlibrary/NamiBridgeModule.kt b/android/src/main/java/com/nami/reactlibrary/NamiBridgeModule.kt index 3fedd1dd..695e015b 100644 --- a/android/src/main/java/com/nami/reactlibrary/NamiBridgeModule.kt +++ b/android/src/main/java/com/nami/reactlibrary/NamiBridgeModule.kt @@ -115,7 +115,7 @@ class NamiBridgeModule(reactContext: ReactApplicationContext) : } else { Arguments.createArray() } - val settingsList = mutableListOf("extendedClientInfo:react-native:3.0.34") + val settingsList = mutableListOf("extendedClientInfo:react-native:3.1.10") namiCommandsReact?.toArrayList()?.filterIsInstance()?.let { commandsFromReact -> settingsList.addAll(commandsFromReact) } diff --git a/examples/Basic/android/app/build.gradle b/examples/Basic/android/app/build.gradle index a4928228..b96d29a4 100644 --- a/examples/Basic/android/app/build.gradle +++ b/examples/Basic/android/app/build.gradle @@ -218,7 +218,7 @@ dependencies { implementation fileTree(dir: "libs", include: ["*.jar"]) implementation "com.facebook.react:react-native:+" // From node_modules implementation 'com.github.jeziellago:compose-markdown:0.3.0' - implementation "com.namiml:sdk-android:3.1.9" + implementation "com.namiml:sdk-android:3.1.10" implementation project(':react-native-screens') diff --git a/examples/TestNamiTV/android/app/build.gradle b/examples/TestNamiTV/android/app/build.gradle index 714fcfba..9bbefc79 100644 --- a/examples/TestNamiTV/android/app/build.gradle +++ b/examples/TestNamiTV/android/app/build.gradle @@ -119,7 +119,7 @@ def jscFlavor = 'org.webkit:android-jsc:+' def enableHermes = project.ext.react.get("enableHermes", false); android { - compileSdkVersion 32 + compileSdkVersion 33 compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 @@ -130,7 +130,7 @@ android { defaultConfig { applicationId "com.namiml.stg.testreactnative" minSdkVersion 22 - targetSdkVersion 31 + targetSdkVersion 33 versionCode 1 versionName "1.0" manifestPlaceholders.app_name = "TestRNTV" @@ -142,7 +142,7 @@ android { production { applicationId "com.namiml.testreact.prod" minSdkVersion 22 - targetSdkVersion 31 + targetSdkVersion 33 dimension "default" manifestPlaceholders.app_name = "RNTVProd" manifestPlaceholders.app_icon_round = "@mipmap/ic_launcher_round_prod" @@ -151,7 +151,7 @@ android { staging { applicationId "com.namiml.stg.testreactnative" minSdkVersion 22 - targetSdkVersion 31 + targetSdkVersion 33 dimension "default" manifestPlaceholders.app_name = "RNTVStg" manifestPlaceholders.app_icon_round = "@mipmap/ic_launcher_round" @@ -227,8 +227,8 @@ dependencies { implementation "com.facebook.react:react-native:+" // From node_modules implementation 'com.github.jeziellago:compose-markdown:0.3.0' - amazonImplementation "com.namiml:sdk-amazon:3.1.9" - playImplementation "com.namiml:sdk-android:3.1.9" + amazonImplementation "com.namiml:sdk-amazon:3.1.10" + playImplementation "com.namiml:sdk-android:3.1.10" if (enableHermes) { def hermesPath = "../../node_modules/hermes-engine/android/"; diff --git a/examples/TestNamiTV/android/build.gradle b/examples/TestNamiTV/android/build.gradle index 186f4252..cffd3d70 100644 --- a/examples/TestNamiTV/android/build.gradle +++ b/examples/TestNamiTV/android/build.gradle @@ -4,8 +4,8 @@ buildscript { ext { buildToolsVersion = "29.0.3" minSdkVersion = 22 - compileSdkVersion = 32 - targetSdkVersion = 31 + compileSdkVersion = 33 + targetSdkVersion = 33 kotlin_version = '1.6.10' } diff --git a/ios/Nami.m b/ios/Nami.m index c27070f9..70a63700 100644 --- a/ios/Nami.m +++ b/ios/Nami.m @@ -52,7 +52,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.0.34"]]; + NSMutableArray *namiCommandStrings = [NSMutableArray arrayWithArray:@[@"extendedClientInfo:react-native:3.1.0"]]; // Add additional namiCommands app may have sent in. NSObject *appCommandStrings = configDict[@"namiCommands"]; diff --git a/package.json b/package.json index 4c947295..959ae8fb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-nami-sdk", - "version": "3.0.34", + "version": "3.1.0", "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 f5c98c8e..9825869b 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.1.9' + s.dependency 'Nami', '3.1.10' s.dependency 'React' end