react-native-netmera 1.4.5 → 1.4.6

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.
@@ -3499,8 +3499,6 @@ int string hms_install 0x0
3499
3499
  int string hms_install_message 0x0
3500
3500
  int string hms_is_spoof 0x0
3501
3501
  int string hms_push_channel 0x0
3502
- int string hms_push_google 0x0
3503
- int string hms_push_vmall 0x0
3504
3502
  int string hms_retry 0x0
3505
3503
  int string hms_spoof_hints 0x0
3506
3504
  int string hms_update 0x0
@@ -3500,8 +3500,6 @@ string hms_install
3500
3500
  string hms_install_message
3501
3501
  string hms_is_spoof
3502
3502
  string hms_push_channel
3503
- string hms_push_google
3504
- string hms_push_vmall
3505
3503
  string hms_retry
3506
3504
  string hms_spoof_hints
3507
3505
  string hms_update
@@ -18,6 +18,6 @@ android {
18
18
  dependencies {
19
19
  implementation 'com.netmera:nmcore:3.9.6'
20
20
  implementation 'com.netmera:nmfcm:3.9.3'
21
- implementation 'com.netmera:nmhms:3.9.4'
21
+ implementation 'com.netmera:nmhms:3.9.5'
22
22
  implementation 'com.facebook.react:react-native:+'
23
23
  }
@@ -16,7 +16,7 @@ public class RNNetmera {
16
16
  static void setNetmeraHeaders() {
17
17
  ContentValues headerValues = new ContentValues();
18
18
  headerValues.put("X-netmera-framework", "react");
19
- headerValues.put("X-netmera-frameworkV", "1.4.5");
19
+ headerValues.put("X-netmera-frameworkV", "1.4.6");
20
20
  Netmera.setNetmeraHeaders(headerValues);
21
21
  }
22
22
  }
@@ -17,6 +17,8 @@ public class RNNetmeraEvent extends NetmeraEvent {
17
17
 
18
18
  @SerializedName("prms")
19
19
  private Map<String, Object> eventParameters;
20
+
21
+ @SerializedName("code")
20
22
  private String code;
21
23
 
22
24
  void setEventParameters(Map<String, Object> eventParameters) {
@@ -31,4 +33,4 @@ public class RNNetmeraEvent extends NetmeraEvent {
31
33
  protected String eventCode() {
32
34
  return code;
33
35
  }
34
- }
36
+ }
@@ -203,7 +203,6 @@ class RNNetmeraUtil {
203
203
  pushObjectMap.putInt("pushType", pushObject.getPushType());
204
204
  pushObjectMap.putString("pushId", pushObject.getPushId());
205
205
  pushObjectMap.putString("pushInstanceId", pushObject.getPushInstanceId());
206
- pushObjectMap.putString("sendDate", String.valueOf(pushObject.getSendDate()));
207
206
  pushObjectMap.putInt("inboxStatus", pushObject.getInboxStatus());
208
207
  pushObjectMap.putString("category", pushObject.getCategory());
209
208
 
@@ -220,9 +219,6 @@ class RNNetmeraUtil {
220
219
  if (pushObject.getCategories() != null && !pushObject.getCategories().isEmpty()) {
221
220
  pushObjectMap.putArray("categories", Arguments.fromList(pushObject.getCategories()));
222
221
  }
223
- if (pushObject.getPushStyle().getBigPicturePath() != null) {
224
- pushObjectMap.putString("mediaAttachmentURL", pushObject.getPushStyle().getBigPicturePath());
225
- }
226
222
  if (!pushObject.getCustomJson().isJsonNull() && pushObject.getCustomJson().size() > 0) {
227
223
  try {
228
224
  JSONObject jsonObject = new JSONObject(pushObject.getCustomJson().toString());
package/ios/RNNetmera.m CHANGED
@@ -46,7 +46,7 @@ NSString *const ERROR_MESSAGE_SET_CATEGORY_PREFERENCE = @"Error occurred while s
46
46
 
47
47
  + (void)setNetmeraHeaders {
48
48
  [Netmera setFramework:@"react"];
49
- [Netmera setFrameworkVersion:@"1.4.5"];
49
+ [Netmera setFrameworkVersion:@"1.4.6"];
50
50
  }
51
51
 
52
52
  + (void)setPushDelegate:(NSObject<NetmeraPushDelegate> *)delegate {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-netmera",
3
- "version": "1.4.5",
3
+ "version": "1.4.6",
4
4
  "description": "Netmera React Native SDK",
5
5
  "main": "index.js",
6
6
  "author": "netmera",