Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.1.10 #253

Merged
merged 5 commits into from
Sep 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<String>()?.let { commandsFromReact ->
settingsList.addAll(commandsFromReact)
}
Expand Down
2 changes: 1 addition & 1 deletion examples/Basic/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down
12 changes: 6 additions & 6 deletions examples/TestNamiTV/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand Down Expand Up @@ -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/";
Expand Down
4 changes: 2 additions & 2 deletions examples/TestNamiTV/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}

Expand Down
2 changes: 1 addition & 1 deletion ios/Nami.m
Original file line number Diff line number Diff line change
Expand Up @@ -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"];
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": "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",
Expand Down
2 changes: 1 addition & 1 deletion react-native-nami-sdk.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading