react-native-nami-sdk 2.0.2 → 2.0.3

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.
@@ -46,7 +46,9 @@ jobs:
46
46
 
47
47
  - name: Setup .npmrc
48
48
  run: |
49
- cat .npmrc
49
+ echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc
50
+ env:
51
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
50
52
 
51
53
  - name: Run Yarn
52
54
  run: |
package/README.md CHANGED
@@ -2,9 +2,20 @@
2
2
 
3
3
  # React Native Bridge for the Nami SDK
4
4
 
5
- Nami is the smartest way to sell subscriptions. Our SDK is built for the subscription economy, providing an end-to-end solution powered by on-device machine learning to accelerate your in-app purchases.
5
+ Nami is easy subscriptions & in-app purchases, with powerful built-in paywalls and A/B testing.
6
6
 
7
- The Nami SDK takes care of platform specific implementation details to offer in-app purchases so you can focus on building your core app experience.
7
+ This library helps you easily offer in-app purchases and subscriptions using Apple App Store StoreKit & Google Play Billing APIs.
8
+ - No IAP code to write.
9
+ - Focus on your app experience.
10
+ - All edge cases are handled and no server is required.
11
+ - Includes is powerful built-in paywalls templates, built with native SwiftUI and Jetpack Compose
12
+ - Update paywalls easily using a browser-based paywall CMS.
13
+ - Conduct paywall A/B tests, to improve your conversion rate.
14
+ - Robust subscription analytics, webhooks, and much more.
15
+
16
+ Requires an account with Nami. The free tier is generous and includes everything you need to get up and running.
17
+
18
+ See https://www.namiml.com for more details and to create a free account.
8
19
 
9
20
  ## Getting started with React Native and Nami
10
21
 
@@ -74,7 +74,7 @@ dependencies {
74
74
  implementation fileTree(dir: 'libs', include: ['*.jar'])
75
75
  implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
76
76
 
77
- implementation "com.namiml:sdk-android:2.0.0"
77
+ implementation "com.namiml:sdk-android:2.0.1"
78
78
 
79
79
  implementation 'com.facebook.react:react-native:+' // From node_modules
80
80
  }
@@ -127,7 +127,7 @@ class NamiBridgeModule(reactContext: ReactApplicationContext) :
127
127
  } else {
128
128
  Arguments.createArray()
129
129
  }
130
- val settingsList = mutableListOf("extendedClientInfo:react-native:1.2.1")
130
+ val settingsList = mutableListOf("extendedClientInfo:react-native:2.0.2")
131
131
  namiCommandsReact?.toArrayList()?.filterIsInstance<String>()?.let { commandsFromReact ->
132
132
  settingsList.addAll(commandsFromReact)
133
133
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-nami-sdk",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "React Native Module for Nami - Easy subscriptions & in-app purchases, with powerful built-in paywalls and A/B testing.",
5
5
  "main": "index.js",
6
6
  "scripts": {