react-native-moengage-geofence 5.0.0 → 5.0.2

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
+ # 03-07-2024
2
+
3
+ ## 5.0.2
4
+ - Android
5
+ - `geofence` version updated to `4.0.2`
6
+ - iOS
7
+ - `MoEngageGeofence` version updated to `~>5.16.0`
8
+
9
+ # 14-05-2024
10
+
11
+ ## 5.0.1
12
+ - BugFix
13
+ - Adding backward compatibility support for react-native version with react-native-moengage-geofence `5.x.x`
14
+
1
15
  # 07-05-2024
2
16
 
3
17
  ## 5.0.0
@@ -13,8 +13,14 @@ 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.9.0', '< 2.10.0'
17
17
  s.dependency 'React'
18
18
  s.source_files = "ios/**/*.{h,m,mm,swift}"
19
- install_modules_dependencies(s)
19
+
20
+
21
+ if defined?(install_modules_dependencies()) != nil
22
+ install_modules_dependencies(s);
23
+ else
24
+ s.dependency "React-Core"
25
+ end
20
26
  end
@@ -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.02.00"
19
+ moengageGeofenceVersion = "4.0.2"
20
+ pluginBaseGeofenceVersion = "2.0.1"
21
21
  }
22
22
 
23
23
  apply plugin: 'com.android.library'
@@ -38,6 +38,7 @@ class MoengageGeofencePackage : TurboReactPackage() {
38
38
  MoEngageGeofenceHandler.NAME,
39
39
  false, // canOverrideExistingModule
40
40
  false, // needsEagerInit
41
+ true, // hasConstants
41
42
  false, // isCxxModule
42
43
  isTurboModule // isTurboModule
43
44
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-moengage-geofence",
3
- "version": "5.0.0",
3
+ "version": "5.0.2",
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": "^10.0.0"
17
+ "react-native-moengage": "^10.0.1"
18
18
  },
19
19
  "keywords": [
20
20
  "moengage",