@amplytools/react-native-amply-sdk 0.2.0 → 0.2.2

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.
@@ -1,90 +0,0 @@
1
- buildscript {
2
- ext {
3
- kotlin_version = "1.9.24"
4
- }
5
- repositories {
6
- google()
7
- mavenCentral()
8
- }
9
- dependencies {
10
- classpath("com.android.tools.build:gradle:8.2.2")
11
- classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version")
12
- }
13
- }
14
-
15
- apply plugin: 'com.android.library'
16
- apply plugin: 'org.jetbrains.kotlin.android'
17
-
18
- def amplySdkVersion = project.findProperty('amplySdkVersion') ?: System.getenv('AMPLY_SDK_VERSION') ?: '0.2.0'
19
- group = 'tools.amply'
20
- version = amplySdkVersion
21
-
22
- def reactNativeRootDir = file("$projectDir/../node_modules/react-native")
23
- def reactNativeArchitectures =
24
- project.hasProperty("reactNativeArchitectures") ?
25
- project.getProperty("reactNativeArchitectures").split(",") :
26
- ["armeabi-v7a", "arm64-v8a", "x86", "x86_64"]
27
-
28
- android {
29
- namespace 'tools.amply.sdk.reactnative'
30
- compileSdkVersion 34
31
-
32
- defaultConfig {
33
- minSdkVersion 24
34
- targetSdkVersion 34
35
- consumerProguardFiles 'consumer-rules.pro'
36
-
37
- ndk {
38
- abiFilters(*reactNativeArchitectures)
39
- }
40
-
41
- // Передаём путь в RN CMake (оба CMakeLists.txt используют это)
42
- externalNativeBuild {
43
- cmake {
44
- arguments "-DREACT_NATIVE_DIR=${reactNativeRootDir.absolutePath}", "-DANDROID_STL=c++_shared"
45
- }
46
- }
47
- }
48
-
49
- compileOptions {
50
- sourceCompatibility JavaVersion.VERSION_17
51
- targetCompatibility JavaVersion.VERSION_17
52
- }
53
-
54
- kotlinOptions {
55
- jvmTarget = '17'
56
- }
57
-
58
- lintOptions {
59
- abortOnError false
60
- }
61
-
62
- buildFeatures {
63
- prefab true
64
- }
65
-
66
- sourceSets {
67
- main {
68
- java.srcDirs += ["src/newarch/java"]
69
- }
70
- }
71
-
72
- externalNativeBuild {
73
- cmake {
74
- path file("src/main/jni/CMakeLists.txt")
75
- }
76
- }
77
- }
78
-
79
- repositories {
80
- mavenLocal()
81
- google()
82
- mavenCentral()
83
- }
84
-
85
- dependencies {
86
- implementation("com.facebook.react:react-android")
87
- implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3")
88
- implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3")
89
- implementation("tools.amply:sdk-android:${amplySdkVersion}")
90
- }
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
16
16
  s.dependency 'React-RCTFabric'
17
17
 
18
18
  # Amply KMP SDK from CocoaPods
19
- s.dependency 'AmplySDK', '~> 0.2.0'
19
+ s.dependency 'AmplySDK', '~> 0.2.2'
20
20
 
21
21
  s.libraries = 'c++'
22
22
  s.pod_target_xcconfig = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amplytools/react-native-amply-sdk",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "React Native SDK for Amply: Mobile SDK to orchestrate in-app experiences and campaigns remotely, without app releases",
5
5
  "license": "MIT",
6
6
  "repository": {