react-native-moengage 11.1.0 → 11.1.1
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,13 @@
|
|
|
1
|
+
# 25-11-2024
|
|
2
|
+
|
|
3
|
+
## 11.1.1
|
|
4
|
+
- Fixing the lint issue for `getMoEInAppRules` with `noImplicitAny` as false in tsconfig file
|
|
5
|
+
- Android
|
|
6
|
+
- `moe-android-sdk` version updated to `13.05.01`
|
|
7
|
+
- `inapp` version updated to `8.7.0`
|
|
8
|
+
- iOS
|
|
9
|
+
- Fixed the compiler issue in Apple TV.
|
|
10
|
+
|
|
1
11
|
# 30-09-2024
|
|
2
12
|
|
|
3
13
|
## 11.1.0
|
|
@@ -15,7 +15,7 @@ Pod::Spec.new do |s|
|
|
|
15
15
|
s.platforms = { :ios => "11.0", :tvos => "11.0" }
|
|
16
16
|
s.source_files = 'iOS/MoEReactBridge/**/*.{h,m,mm}'
|
|
17
17
|
s.dependency 'React'
|
|
18
|
-
s.dependency 'MoEngagePluginBase','5.1.
|
|
18
|
+
s.dependency 'MoEngagePluginBase','5.1.1'
|
|
19
19
|
s.ios.dependency 'MoEngage-iOS-SDK/RichNotification'
|
|
20
20
|
|
|
21
21
|
s.prepare_command = <<-CMD
|
package/android/build.gradle
CHANGED
|
@@ -20,8 +20,8 @@ rootProject.allprojects {
|
|
|
20
20
|
|
|
21
21
|
ext {
|
|
22
22
|
//dependency version
|
|
23
|
-
moengageCoreVersion = "13.05.
|
|
24
|
-
moengageInAppVersion = "8.
|
|
23
|
+
moengageCoreVersion = "13.05.01"
|
|
24
|
+
moengageInAppVersion = "8.7.0"
|
|
25
25
|
basePluginVersion = "4.2.0"
|
|
26
26
|
//build versions
|
|
27
27
|
minimumVersion = 21
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-moengage",
|
|
3
|
-
"version": "11.1.
|
|
3
|
+
"version": "11.1.1",
|
|
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": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* DisplayRules for Campaign
|
|
3
|
-
* @since
|
|
3
|
+
* @since 11.1.0
|
|
4
4
|
*/
|
|
5
5
|
export default class MoEInAppRules {
|
|
6
6
|
/**
|
|
@@ -13,7 +13,7 @@ export default class MoEInAppRules {
|
|
|
13
13
|
*/
|
|
14
14
|
contexts: Array<string>
|
|
15
15
|
|
|
16
|
-
constructor(screenName: string, contexts: Array<string> = []) {
|
|
16
|
+
constructor(screenName: string | null, contexts: Array<string> = []) {
|
|
17
17
|
this.screenName = screenName;
|
|
18
18
|
this.contexts = contexts;
|
|
19
19
|
}
|
|
@@ -79,7 +79,7 @@ function getMoESelfHandledCampaign(json: { [k: string]: any }) {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
function getMoEInAppRules(json: { [k: string]: any }) {
|
|
82
|
-
var screenName = null;
|
|
82
|
+
var screenName: string | null = null;
|
|
83
83
|
if (json[MOE_INAPP_SCREEN_NAME] != undefined) {
|
|
84
84
|
screenName = json[MOE_INAPP_SCREEN_NAME];
|
|
85
85
|
}
|