react-native-moengage-geofence 7.2.0 → 7.3.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,14 @@
1
+ # 15-04-2026
2
+
3
+ ## 7.3.0
4
+
5
+ - Android
6
+ - updating `android-bom` to `2.1.0`
7
+ - AGP version updated from `8.7.3` to `8.13.2`
8
+ - Migrating the common gradle configuration to the gradle config
9
+ - iOS
10
+ - Updated MoEngageGeofence to `6.00.7`
11
+
1
12
  # 09-02-2026
2
13
 
3
14
  ## 7.2.0
@@ -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, "13.0"
16
- s.dependency 'MoEngagePluginGeofence', '4.8.0'
16
+ s.dependency 'MoEngagePluginGeofence', '4.8.2'
17
17
  s.dependency 'React'
18
18
  s.dependency 'ReactNativeMoEngage'
19
19
  s.source_files = "ios/**/*.{h,m,mm,swift}"
@@ -1,60 +1,44 @@
1
- buildscript {
2
- ext.kotlinVersion = '1.9.23'
1
+ import com.moengage.gradle.android.library.plugin.configs.BuildConfigType
2
+
3
+ ext {
4
+ moengageNativeBOMVersion = "2.1.0"
5
+ moengagePluginBaseBOMVersion = "2.0.0"
6
+ kotlinVersion = "1.9.23"
7
+ }
3
8
 
9
+ buildscript {
4
10
  repositories {
5
11
  google()
6
12
  mavenCentral()
13
+ gradlePluginPortal()
7
14
  }
8
15
 
9
16
  dependencies {
10
- classpath 'com.android.tools.build:gradle:8.7.3'
11
- // noinspection DifferentKotlinGradleVersion
17
+ classpath 'com.android.tools.build:gradle:8.13.2'
12
18
  classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
19
+ classpath "com.moengage.android.hybrid.module.config.plugin:com.moengage.android.hybrid.module.config.plugin.gradle.plugin:0.0.4"
13
20
  }
14
21
  }
15
22
 
16
- ext {
17
- moengageNativeBOMVersion = "1.5.1"
18
- moengagePluginBaseBOMVersion = "1.2.1"
19
- }
20
-
21
- apply plugin: 'com.android.library'
22
- apply plugin: 'kotlin-android'
23
+ apply plugin: 'com.moengage.android.hybrid.module.config.plugin'
23
24
  apply plugin: 'com.facebook.react'
24
25
 
25
- android {
26
- compileSdk 35
27
- namespace "com.moengage.react.geofence"
28
- defaultConfig {
29
- minSdk 23
30
- versionCode 1
31
- versionName "1.0"
32
-
33
- buildConfigField("boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString())
34
- }
35
-
36
- buildTypes {
37
- release {
38
- minifyEnabled false
39
- }
40
- }
41
- lintOptions {
42
- disable 'GradleCompatible'
43
- }
44
- compileOptions {
45
- sourceCompatibility JavaVersion.VERSION_1_8
46
- targetCompatibility JavaVersion.VERSION_1_8
47
- }
48
-
26
+ hybridModuleConfig.configurePlugin {
49
27
  kotlinOptions {
50
- freeCompilerArgs = ['-Xjvm-default=all']
28
+ enableJvmTarget = false
29
+ compilerArgs = ['-Xjvm-default=all']
51
30
  }
52
-
53
- buildFeatures {
54
- buildConfig true
31
+ buildFeature {
32
+ buildConfigField(
33
+ BuildConfigType.BOOLEAN,
34
+ "IS_NEW_ARCHITECTURE_ENABLED",
35
+ isNewArchitectureEnabled().toString()
36
+ )
55
37
  }
38
+ }
56
39
 
57
-
40
+ android {
41
+ namespace "com.moengage.react.geofence"
58
42
  sourceSets {
59
43
  main {
60
44
  if (isNewArchitectureEnabled()) {
@@ -66,11 +50,6 @@ android {
66
50
  }
67
51
  }
68
52
 
69
- repositories {
70
- mavenCentral()
71
- google()
72
- }
73
-
74
53
  dependencies {
75
54
  // noinspection GradleDynamicVersion
76
55
  compileOnly('com.facebook.react:react-native')
@@ -1,5 +1,5 @@
1
1
  distributionBase=GRADLE_USER_HOME
2
2
  distributionPath=wrapper/dists
3
- distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-all.zip
3
+ distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-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": "7.2.0",
3
+ "version": "7.3.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": [
@@ -46,5 +46,9 @@
46
46
  "android": {
47
47
  "javaPackageName": "com.moengage.react.geofence"
48
48
  }
49
+ },
50
+ "repository": {
51
+ "type": "git",
52
+ "url": "https://github.com/moengage/React-Native"
49
53
  }
50
54
  }