react-native-nami-sdk 3.4.12 → 3.4.13-rc.202610231929

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.
@@ -13,7 +13,12 @@ if (isNewArchitectureEnabled()) {
13
13
 
14
14
  apply plugin: 'com.android.library'
15
15
  // apply plugin: 'maven'
16
- apply plugin: "kotlin-android"
16
+ // AGP 9 compiles Kotlin itself unless the host opts out with android.builtInKotlin=false,
17
+ // and applying kotlin-android on top of built-in Kotlin fails the build.
18
+ def agpMajorVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION.tokenize('.')[0].toInteger()
19
+ if (agpMajorVersion < 9 || project.findProperty("android.builtInKotlin")?.toString() == "false") {
20
+ apply plugin: "kotlin-android"
21
+ }
17
22
  buildscript {
18
23
  ext.kotlin_version = '2.1.0'
19
24
  // The Android Gradle plugin is only required when opening the android folder stand-alone.
@@ -85,8 +90,8 @@ dependencies {
85
90
  implementation fileTree(dir: 'libs', include: ['*.jar'])
86
91
  implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
87
92
 
88
- playImplementation "com.namiml:sdk-android:3.4.12"
89
- amazonImplementation "com.namiml:sdk-amazon:3.4.12"
93
+ playImplementation "com.namiml:sdk-android:3.4.13-rc.202610231929"
94
+ amazonImplementation "com.namiml:sdk-amazon:3.4.13-rc.202610231929"
90
95
 
91
96
  implementation "com.facebook.react:react-native:+" // From node_modules
92
97
  coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:2.0.4"
@@ -100,23 +105,3 @@ if (isNewArchitectureEnabled()) {
100
105
  codegenJavaPackageName = "com.namiml.reactnative"
101
106
  }
102
107
  }
103
-
104
- configurations {
105
- customConfig.extendsFrom implementation
106
- }
107
-
108
- afterEvaluate { project ->
109
- // some Gradle build hooks ref:
110
- // https://www.oreilly.com/library/view/gradle-beyond-the/9781449373801/ch03.html
111
- android.libraryVariants.all { variant ->
112
- def name = variant.name.capitalize()
113
- def javaCompileTask = variant.javaCompileProvider.get()
114
- task "jar${name}"(type: Jar, dependsOn: javaCompileTask) {
115
- from javaCompileTask.destinationDir
116
- }
117
- }
118
-
119
- task installArchives(type: Upload) {
120
- configuration = configurations.archives
121
- }
122
- }
@@ -2,4 +2,4 @@
2
2
  * Auto-generated file. Do not edit manually.
3
3
  * React Native Nami SDK version.
4
4
  */
5
- export declare const NAMI_REACT_NATIVE_VERSION = "3.4.12";
5
+ export declare const NAMI_REACT_NATIVE_VERSION = "3.4.13-rc.202610231929";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-nami-sdk",
3
- "version": "3.4.12",
3
+ "version": "3.4.13-rc.202610231929",
4
4
  "description": "React Native SDK for Nami - No-code paywall and onboarding flows with A/B testing.",
5
5
  "main": "index.ts",
6
6
  "types": "dist/index.d.ts",
@@ -21,7 +21,7 @@ Pod::Spec.new do |s|
21
21
  s.requires_arc = true
22
22
  s.swift_version = '5.0' # or your supported version
23
23
 
24
- s.dependency 'Nami', '3.4.12'
24
+ s.dependency 'Nami', '3.4.13-rc.202610231929'
25
25
 
26
26
  pod_target_xcconfig = {
27
27
  'DEFINES_MODULE' => 'YES',
package/src/version.ts CHANGED
@@ -2,4 +2,4 @@
2
2
  * Auto-generated file. Do not edit manually.
3
3
  * React Native Nami SDK version.
4
4
  */
5
- export const NAMI_REACT_NATIVE_VERSION = '3.4.12';
5
+ export const NAMI_REACT_NATIVE_VERSION = '3.4.13-rc.202610231929';
package/android/README.md DELETED
@@ -1,15 +0,0 @@
1
- # README
2
-
3
- If you want to publish the lib as a maven dependency, follow these steps before publishing a new version to npm:
4
-
5
- 1. Be sure to have the Android [SDK](https://developer.android.com/studio/index.html) and [NDK](https://developer.android.com/ndk/guides/index.html) installed
6
- 2. Be sure to have a `local.properties` file in this folder that points to the Android SDK and NDK
7
-
8
- ```
9
- ndk.dir=/Users/{username}/Library/Android/sdk/ndk-bundle
10
- sdk.dir=/Users/{username}/Library/Android/sdk
11
- ```
12
-
13
- 3. Delete the `maven` folder
14
- 4. Run `./gradlew installArchives`
15
- 5. Verify that latest set of generated files is in the maven folder with the correct version number