react-native-moengage-cards 3.0.1 → 3.1.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.
@@ -19,7 +19,7 @@ Pod::Spec.new do |s|
19
19
  s.source_files = "ios/**/*.{h,m,mm,swift}"
20
20
  s.dependency 'React'
21
21
 
22
- s.dependency 'MoEngagePluginCards','>= 1.5.0','< 1.6.0'
22
+ s.dependency 'MoEngagePluginCards','>= 1.7.0','< 1.8.0'
23
23
 
24
24
 
25
25
  if defined?(install_modules_dependencies()) != nil
@@ -1,5 +1,5 @@
1
1
  buildscript {
2
- ext.kotlinVersion = '1.7.10'
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.2.2'
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.00.03"
20
- moengageCardsCoreVersion = "2.0.2"
21
- pluginBaseCardVersion = "2.0.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 33
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.2-all.zip
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.0.1",
3
+ "version": "3.1.0",
4
4
  "description": "Cards Module for the MoEngage Platform",
5
5
  "main": "src/index.ts",
6
6
  "keywords": [
@@ -34,8 +34,7 @@
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/jest": "^29.5.0",
37
- "@types/react-native": "^0.69.3",
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, Platform } from "react-native";
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";