react-native-moengage 8.5.2 → 8.5.4

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,16 @@
1
+ # 30-10-2023
2
+
3
+ ## 8.5.4
4
+ - Android
5
+ - BugFix
6
+ - MoEngage SDK throwing incompatible version error on app open
7
+
8
+ # 31-08-2023
9
+
10
+ ## 8.5.3
11
+ - iOS
12
+ - MoEngage-iOS-SDK version updated to `~>9.11.0`.
13
+
1
14
  # 17-08-2023
2
15
 
3
16
  ## 8.5.2
@@ -12,6 +25,8 @@
12
25
  - Adding Strict TypeCheck For TypeScript files
13
26
  - Support for configuring the React-Native Plugin console logs
14
27
 
28
+ - iOS
29
+ - MoEngage-iOS-SDK version updated to `~>9.10.0`.
15
30
  # 25-05-2023
16
31
 
17
32
  ## 8.5.0
package/README.md CHANGED
@@ -83,13 +83,6 @@ In case you are facing issues with the import add the below import statement in
83
83
  ```
84
84
 
85
85
  ### iOS
86
- Install the native MoEngage iOS SDK by using CocoaPods as described here: https://docs.moengage.com/docs/sdk-integration#section-integration-through-cocoapods
87
-
88
- NOTE :
89
- Incase if you get errors in the test targets of the project, go to build settings of the test target and add -lc++ flag to Other Linker Flags as shown below :
90
-
91
- ![Build Settings](https://user-images.githubusercontent.com/15011722/31492360-4ca64ff8-af68-11e7-92f6-4743121b41d8.png)
92
-
93
- Thats it!! SDK is successfully installed in the project, and ready to use.
86
+ There are no additional steps required for installation.
94
87
 
95
88
  For more info on how to use react-native-moengage, refer to our developer docs: https://developers.moengage.com/hc/en-us/categories/4404199274900-React-Native-SDK
@@ -15,8 +15,8 @@ Pod::Spec.new do |s|
15
15
  s.platform = :ios, "11.0"
16
16
  s.source_files = 'iOS/MoEReactBridge/**/*.{h,m}'
17
17
  s.dependency 'React'
18
- s.dependency 'MoEngagePluginBase','>= 4.2.0','< 4.3.0'
19
- s.dependency 'MoEngageRichNotification','>= 7.8.0','< 7.9.0'
18
+ s.dependency 'MoEngagePluginBase','>= 4.4.0','< 4.5.0'
19
+ s.dependency 'MoEngageRichNotification','>= 7.11.0','< 7.12.0'
20
20
 
21
21
  s.prepare_command = <<-CMD
22
22
  echo // Generated file, do not edit > iOS/MoEReactBridge/MoEngageReactPluginInfo.h
@@ -20,8 +20,8 @@ rootProject.allprojects {
20
20
 
21
21
  ext {
22
22
  //dependency version
23
- moengageCoreVersion = "12.8.00"
24
- moengageInAppVersion = "6.7.0"
23
+ moengageCoreVersion = "12.10.00"
24
+ moengageInAppVersion = "7.0.0"
25
25
  basePluginVersion = "3.3.3"
26
26
  //build versions
27
27
  minimumVersion = 21
@@ -188,7 +188,7 @@ class MoEReactBridge(private val reactContext: ReactApplicationContext) :
188
188
  @ReactMethod
189
189
  fun validateSdkVersion(promise: Promise) {
190
190
  Logger.print { "$tag validateSdkVersion() : Validating Version" }
191
- if (moeSdkVersion > 13000) {
191
+ if (moeSdkVersion > 130000) {
192
192
  Logger.print(LogLevel.ERROR) { "$tag validateSdkVersion() : invalid version" }
193
193
  promise.reject("error", "Use SDK version 12.x.xx")
194
194
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-moengage",
3
- "version": "8.5.2",
3
+ "version": "8.5.4",
4
4
  "description": "MoEngage is a mobile marketing automation company. This react-native SDK helps you track events, trigger smart notifications and in-apps, provides a drop-in Inbox Controller for notifications.",
5
5
  "main": "src/index.ts",
6
6
  "files": [