react-native-moengage-cards 1.0.1 → 1.2.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.
@@ -20,6 +20,6 @@ Pod::Spec.new do |s|
20
20
  s.dependency 'React'
21
21
 
22
22
  #Note update dependency
23
- s.dependency 'MoEngagePluginCards','>= 1.1.0','< 1.2.0'
23
+ s.dependency 'MoEngagePluginCards','>= 1.3.0','< 1.4.0'
24
24
  end
25
25
 
@@ -1,5 +1,5 @@
1
1
  buildscript {
2
- ext.kotlinVersion = '1.6.0'
2
+ ext.kotlinVersion = '1.7.10'
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:7.3.1'
11
+ classpath 'com.android.tools.build:gradle:8.0.2'
12
12
  classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
13
13
  classpath "org.jlleitschuh.gradle:ktlint-gradle:11.4.0"
14
14
  }
@@ -19,11 +19,11 @@ apply plugin: 'kotlin-android'
19
19
  apply plugin: "org.jlleitschuh.gradle.ktlint"
20
20
 
21
21
  android {
22
- compileSdkVersion 33
23
-
22
+ compileSdk 33
23
+ namespace "com.moengage.react.cards"
24
24
  defaultConfig {
25
- minSdkVersion 21
26
- targetSdkVersion 33
25
+ minSdk 21
26
+ targetSdk 33
27
27
  versionCode 1
28
28
  versionName "1.0"
29
29
  }
@@ -50,9 +50,9 @@ repositories {
50
50
 
51
51
  dependencies {
52
52
  // noinspection GradleDynamicVersion
53
- api 'com.facebook.react:react-native:+'
53
+ compileOnly 'com.facebook.react:react-native:+'
54
54
  compileOnly "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
55
- compileOnly("com.moengage:moe-android-sdk:12.9.00")
56
- compileOnly("com.moengage:cards-core:1.5.0")
57
- implementation("com.moengage:plugin-base-cards:1.0.1")
55
+ compileOnly("com.moengage:moe-android-sdk:12.10.00")
56
+ compileOnly("com.moengage:cards-core:1.6.0")
57
+ implementation("com.moengage:plugin-base-cards:1.1.0")
58
58
  }
@@ -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-7.4-bin.zip
16
+ distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-all.zip
17
17
  zipStoreBase=GRADLE_USER_HOME
18
18
  zipStorePath=wrapper/dists
@@ -11,4 +11,5 @@
11
11
  # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
12
12
  #
13
13
 
14
- android.useAndroidX=true
14
+ android.useAndroidX=true
15
+ android.defaults.buildfeatures.buildconfig=true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-moengage-cards",
3
- "version": "1.0.1",
3
+ "version": "1.2.0",
4
4
  "description": "Cards Module for the MoEngage Platform",
5
5
  "main": "src/index.ts",
6
6
  "keywords": [