react-native-moengage 8.5.1 → 8.5.3

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,9 +1,25 @@
1
+ # 31-08-2023
2
+
3
+ ## 8.5.3
4
+ - iOS
5
+ - MoEngage-iOS-SDK version updated to `~>9.11.0`.
6
+
7
+ # 17-08-2023
8
+
9
+ ## 8.5.2
10
+ - Android
11
+ - BugFix
12
+ - MoEngageLogLevel throwing undefined property
13
+ - Self Handled InApp delivery controls not working.
14
+
1
15
  # 18-07-2023
2
16
 
3
17
  ## 8.5.1
4
18
  - Adding Strict TypeCheck For TypeScript files
5
19
  - Support for configuring the React-Native Plugin console logs
6
20
 
21
+ - iOS
22
+ - MoEngage-iOS-SDK version updated to `~>9.10.0`.
7
23
  # 25-05-2023
8
24
 
9
25
  ## 8.5.0
@@ -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,9 +20,9 @@ rootProject.allprojects {
20
20
 
21
21
  ext {
22
22
  //dependency version
23
- moengageCoreVersion = "12.8.00"
24
- moengageInAppVersion = "6.7.0"
25
- basePluginVersion = "3.3.1"
23
+ moengageCoreVersion = "12.9.00"
24
+ moengageInAppVersion = "6.8.0"
25
+ basePluginVersion = "3.3.3"
26
26
  //build versions
27
27
  minimumVersion = 21
28
28
  targetVersion = 33
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-moengage",
3
- "version": "8.5.1",
3
+ "version": "8.5.3",
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": [
package/src/index.ts CHANGED
@@ -44,7 +44,8 @@ import MoESelfHandledCampaignData from "./models/MoESelfHandledCampaignData";
44
44
  import {MoEngagePermissionType} from "./models/MoEngagePermissionType";
45
45
  import MoEInitConfig from "./models/MoEInitConfig";
46
46
  import MoEPushConfig from "./models/MoEPushConfig";
47
- import MoEngageLogConfig, { MoEngageLogLevel } from "./models/MoEngageLogConfig";
47
+ import MoEngageLogConfig from "./models/MoEngageLogConfig";
48
+ import MoEngageLogLevel from "./models/MoEngageLogLevel";
48
49
  import MoEngageGlobalCache from "./utils/MoEngageGlobalCache";
49
50
  import MoEngageLogger from "./logger/MoEngageLogger";
50
51
 
@@ -1,5 +1,5 @@
1
+ import MoEngageLogLevel from "../models/MoEngageLogLevel";
1
2
  import MoEngageGlobalCache from "../utils/MoEngageGlobalCache";
2
- import { MoEngageLogLevel } from "../models/MoEngageLogConfig";
3
3
 
4
4
  /**
5
5
  * Logger to print the ReactNative Plugin log
@@ -2,6 +2,7 @@ import {
2
2
  DEFAULT_CONFIG_LOG_LEVEL,
3
3
  DEFAULT_CONFIG_RELEASE_BUILD_LOG_ENABLED
4
4
  } from "../utils/MoEConstants";
5
+ import MoEngageLogLevel from "./MoEngageLogLevel";
5
6
 
6
7
  /**
7
8
  * Config class to configure the React-Native Plugin log.
@@ -30,40 +31,4 @@ export default class MoEngageLogConfig {
30
31
  static defaultConfig() {
31
32
  return new MoEngageLogConfig(DEFAULT_CONFIG_LOG_LEVEL, DEFAULT_CONFIG_RELEASE_BUILD_LOG_ENABLED);
32
33
  }
33
- }
34
-
35
- /**
36
- * Different Log Level Supported by the {@link MoEngageLogConfig}
37
- */
38
- export const enum MoEngageLogLevel {
39
-
40
- /**
41
- * No logs from the SDK would be printed.
42
- */
43
- NO_LOG = 0,
44
-
45
- /**
46
- * Error logs from the SDK would be printed.
47
- */
48
- ERROR = 1,
49
-
50
- /**
51
- * Warning logs from the SDK would be printed.
52
- */
53
- WARN = 2,
54
-
55
- /**
56
- * Info logs from the SDK would be printed.
57
- */
58
- INFO = 3,
59
-
60
- /**
61
- * Debug logs from the SDK would be printed.
62
- */
63
- DEBUG = 4,
64
-
65
- /**
66
- * Verbose logs from the SDK would be printed.
67
- */
68
- VERBOSE = 5
69
34
  }
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Different Log Level Supported by the {@link MoEngageLogConfig}
3
+ */
4
+ const enum MoEngageLogLevel {
5
+
6
+ /**
7
+ * No logs from the SDK would be printed.
8
+ */
9
+ NO_LOG = 0,
10
+
11
+ /**
12
+ * Error logs from the SDK would be printed.
13
+ */
14
+ ERROR = 1,
15
+
16
+ /**
17
+ * Warning logs from the SDK would be printed.
18
+ */
19
+ WARN = 2,
20
+
21
+ /**
22
+ * Info logs from the SDK would be printed.
23
+ */
24
+ INFO = 3,
25
+
26
+ /**
27
+ * Debug logs from the SDK would be printed.
28
+ */
29
+ DEBUG = 4,
30
+
31
+ /**
32
+ * Verbose logs from the SDK would be printed.
33
+ */
34
+ VERBOSE = 5
35
+ }
36
+
37
+ export default MoEngageLogLevel;
@@ -1,4 +1,4 @@
1
- import { MoEngageLogLevel } from "../models/MoEngageLogConfig"
1
+ import MoEngageLogLevel from "../models/MoEngageLogLevel"
2
2
 
3
3
  export const MOE_PLATFORM = 'platform'
4
4
  export const MOE_PAYLOAD = 'payload'