react-native-moengage-geofence 5.0.1 → 5.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,23 @@
1
+ # 31-07-2024
2
+
3
+ ## 5.1.0
4
+ - Fixing the typescript configuration warnings.
5
+ - Android
6
+ - `geofence` version updated to `4.2.0`
7
+ - Added support for AGP `8.4.0` and above
8
+ - Kotlin version updated to `1.9.23`
9
+ - Compile SDK version updated to `34`
10
+ - iOS
11
+ - MoEngageGeofence SDK version updated to `~>5.17.0`.
12
+
13
+ # 03-07-2024
14
+
15
+ ## 5.0.2
16
+ - Android
17
+ - `geofence` version updated to `4.0.2`
18
+ - iOS
19
+ - `MoEngageGeofence` version updated to `~>5.16.0`
20
+
1
21
  # 14-05-2024
2
22
 
3
23
  ## 5.0.1
@@ -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.8.0', '< 2.9.0'
16
+ s.dependency 'MoEngagePluginGeofence', '>=2.10.0', '< 2.11.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.7.10'
2
+ ext.kotlinVersion = '1.9.23'
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:8.2.2'
10
+ classpath 'com.android.tools.build:gradle:8.4.0'
11
11
  // noinspection DifferentKotlinGradleVersion
12
12
  classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
13
13
  }
@@ -15,9 +15,9 @@ buildscript {
15
15
 
16
16
  ext {
17
17
  //dependency version
18
- moengageCoreVersion = "13.00.03"
19
- moengageGeofenceVersion = "4.0.1"
20
- pluginBaseGeofenceVersion = "2.0.0"
18
+ moengageCoreVersion = "13.04.00"
19
+ moengageGeofenceVersion = "4.2.0"
20
+ pluginBaseGeofenceVersion = "2.1.0"
21
21
  }
22
22
 
23
23
  apply plugin: 'com.android.library'
@@ -25,7 +25,7 @@ apply plugin: 'kotlin-android'
25
25
  apply plugin: 'com.facebook.react'
26
26
 
27
27
  android {
28
- compileSdk 33
28
+ compileSdk 34
29
29
  namespace "com.moengage.react.geofence"
30
30
  defaultConfig {
31
31
  minSdk 21
@@ -1,5 +1,5 @@
1
1
  distributionBase=GRADLE_USER_HOME
2
2
  distributionPath=wrapper/dists
3
- distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-all.zip
3
+ distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-all.zip
4
4
  zipStoreBase=GRADLE_USER_HOME
5
5
  zipStorePath=wrapper/dists
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-moengage-geofence",
3
- "version": "5.0.1",
3
+ "version": "5.1.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": [
@@ -25,7 +25,7 @@
25
25
  "geofence"
26
26
  ],
27
27
  "scripts": {
28
- "test": "echo \"Error: no test specified\" && exit 1"
28
+ "test": "echo \"Test cases not available\" && exit 0"
29
29
  },
30
30
  "author": {
31
31
  "name": "MoEngage",
@@ -36,7 +36,7 @@
36
36
  ],
37
37
  "license": "SEE LICENSE IN LICENSE.txt",
38
38
  "devDependencies": {
39
- "@types/react-native": "^0.69.3"
39
+ "react-native": "0.73.0"
40
40
  },
41
41
  "codegenConfig": {
42
42
  "name": "NativeMoEngageGeofenceSpec",
package/src/index.ts CHANGED
@@ -1,5 +1,3 @@
1
- import { Platform } from "react-native";
2
-
3
1
  import { MoEngageLogger } from "react-native-moengage";
4
2
  import MoEReactGeofence from './NativeMoEngageGeofence';
5
3
  import { getAppIdJson } from "./utils/MoEGeofenceJsonBuilder";