react-native-moengage-geofence 3.4.2 → 3.5.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ # 29-11-2023
2
+
3
+ ## 3.5.0
4
+ - Android
5
+ - Add support for AGP `8.0.2` and above
6
+ - Upgrade Kotlin Version to 1.7.10
7
+ - iOS
8
+ - MoEngageGeofence SDK version updated to `~>5.12.0`.
9
+
10
+ # 31-08-2023
11
+
12
+ ## 3.4.3
13
+ - Fixing the core version in peerDependencies
14
+
1
15
  # 31-08-2023
2
16
 
3
17
  ## 3.4.2
@@ -13,7 +13,7 @@ Pod::Spec.new do |s|
13
13
  s.authors = "MoEngage Inc."
14
14
  s.source = {:file => './' }
15
15
  s.platform = :ios, "11.0"
16
- s.dependency 'MoEngagePluginGeofence', '>=2.4.0', '< 2.5.0'
16
+ s.dependency 'MoEngagePluginGeofence', '>=2.5.0', '< 2.6.0'
17
17
  s.dependency 'React'
18
18
  s.source_files = "ios/**/*.{h,m,mm,swift}"
19
19
 
@@ -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()
@@ -7,7 +7,7 @@ buildscript {
7
7
  }
8
8
 
9
9
  dependencies {
10
- classpath 'com.android.tools.build:gradle:7.3.1'
10
+ classpath 'com.android.tools.build:gradle:8.0.2'
11
11
  // noinspection DifferentKotlinGradleVersion
12
12
  classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
13
13
  }
@@ -17,11 +17,11 @@ apply plugin: 'com.android.library'
17
17
  apply plugin: 'kotlin-android'
18
18
 
19
19
  android {
20
- compileSdkVersion 33
21
-
20
+ compileSdk 33
21
+ namespace "com.moengage.react.geofence"
22
22
  defaultConfig {
23
- minSdkVersion 21
24
- targetSdkVersion 33
23
+ minSdk 21
24
+ targetSdk 33
25
25
  versionCode 1
26
26
  versionName "1.0"
27
27
  }
@@ -47,9 +47,9 @@ repositories {
47
47
 
48
48
  dependencies {
49
49
  // noinspection GradleDynamicVersion
50
- api 'com.facebook.react:react-native:+'
51
- implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
52
- compileOnly("com.moengage:moe-android-sdk:12.8.00")
53
- compileOnly("com.moengage:geofence:3.2.0")
54
- implementation("com.moengage:plugin-base-geofence:1.1.0")
50
+ compileOnly 'com.facebook.react:react-native:+'
51
+ compileOnly "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
52
+ compileOnly("com.moengage:moe-android-sdk:12.10.00")
53
+ compileOnly("com.moengage:geofence:3.4.0")
54
+ implementation("com.moengage:plugin-base-geofence:1.2.0")
55
55
  }
@@ -1,5 +1,5 @@
1
1
  distributionBase=GRADLE_USER_HOME
2
2
  distributionPath=wrapper/dists
3
- distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
3
+ distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-all.zip
4
4
  zipStoreBase=GRADLE_USER_HOME
5
5
  zipStorePath=wrapper/dists
@@ -1 +1,2 @@
1
1
  android.useAndroidX=true
2
+ android.defaults.buildfeatures.buildconfig=true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-moengage-geofence",
3
- "version": "3.4.2",
3
+ "version": "3.5.0",
4
4
  "description": "MoEngage React Native package to support geofence based campaigns in iOS platform",
5
5
  "main": "src/index.ts",
6
6
  "files": [
@@ -14,7 +14,7 @@
14
14
  "!**/__mocks__"
15
15
  ],
16
16
  "peerDependencies": {
17
- "react-native-moengage": ">8.5.3"
17
+ "react-native-moengage": "^8.5.3"
18
18
  },
19
19
  "keywords": [
20
20
  "moengage",