react-native-moengage-cards 3.0.2 → 4.0.0
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.
|
@@ -18,9 +18,7 @@ Pod::Spec.new do |s|
|
|
|
18
18
|
s.source = {:file => './' }
|
|
19
19
|
s.source_files = "ios/**/*.{h,m,mm,swift}"
|
|
20
20
|
s.dependency 'React'
|
|
21
|
-
|
|
22
|
-
s.dependency 'MoEngagePluginCards','>= 1.6.0','< 1.7.0'
|
|
23
|
-
|
|
21
|
+
s.dependency 'MoEngagePluginCards','2.0.0'
|
|
24
22
|
|
|
25
23
|
if defined?(install_modules_dependencies()) != nil
|
|
26
24
|
install_modules_dependencies(s);
|
package/android/build.gradle
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
buildscript {
|
|
2
|
-
ext.kotlinVersion = '1.
|
|
2
|
+
ext.kotlinVersion = '1.9.23'
|
|
3
3
|
|
|
4
4
|
repositories {
|
|
5
5
|
google()
|
|
@@ -8,7 +8,7 @@ buildscript {
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
dependencies {
|
|
11
|
-
classpath 'com.android.tools.build:gradle:8.
|
|
11
|
+
classpath 'com.android.tools.build:gradle:8.4.0'
|
|
12
12
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
|
|
13
13
|
classpath "org.jlleitschuh.gradle:ktlint-gradle:11.4.0"
|
|
14
14
|
}
|
|
@@ -16,9 +16,9 @@ buildscript {
|
|
|
16
16
|
|
|
17
17
|
ext {
|
|
18
18
|
//dependency version
|
|
19
|
-
moengageCoreVersion = "13.
|
|
20
|
-
moengageCardsCoreVersion = "2.0
|
|
21
|
-
pluginBaseCardVersion = "2.0
|
|
19
|
+
moengageCoreVersion = "13.04.00"
|
|
20
|
+
moengageCardsCoreVersion = "2.2.0"
|
|
21
|
+
pluginBaseCardVersion = "2.1.0"
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
apply plugin: 'com.android.library'
|
|
@@ -27,7 +27,7 @@ apply plugin: "org.jlleitschuh.gradle.ktlint"
|
|
|
27
27
|
apply plugin: 'com.facebook.react'
|
|
28
28
|
|
|
29
29
|
android {
|
|
30
|
-
compileSdk
|
|
30
|
+
compileSdk 34
|
|
31
31
|
namespace "com.moengage.react.cards"
|
|
32
32
|
defaultConfig {
|
|
33
33
|
minSdk 21
|
|
@@ -13,6 +13,6 @@
|
|
|
13
13
|
|
|
14
14
|
distributionBase=GRADLE_USER_HOME
|
|
15
15
|
distributionPath=wrapper/dists
|
|
16
|
-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.
|
|
16
|
+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-all.zip
|
|
17
17
|
zipStoreBase=GRADLE_USER_HOME
|
|
18
18
|
zipStorePath=wrapper/dists
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-moengage-cards",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "Cards Module for the MoEngage Platform",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"keywords": [
|
|
@@ -30,12 +30,11 @@
|
|
|
30
30
|
},
|
|
31
31
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"react-native-moengage": "^
|
|
33
|
+
"react-native-moengage": "^11.0.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/jest": "^29.5.0",
|
|
37
|
-
"
|
|
38
|
-
"@tsconfig/react-native": "^2.0.2",
|
|
37
|
+
"react-native": "0.73.0",
|
|
39
38
|
"ts-jest": "^29.1.0",
|
|
40
39
|
"typescript": "^4.3.0"
|
|
41
40
|
},
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { NativeEventEmitter
|
|
2
|
-
import PlatformPayloadBuilder from "./utils/PlatformPayloadBuilder";
|
|
1
|
+
import { NativeEventEmitter } from "react-native";
|
|
3
2
|
import SyncCompleteData from "../model/SyncData";
|
|
4
3
|
import MoEngageCardsCache from "./MoEngageCardsCache";
|
|
5
4
|
import SyncType from "../model/enums/SyncType";
|