react-native-netmera 1.3.5 → 1.3.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.
@@ -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.3.5");
19
+ headerValues.put("X-netmera-frameworkV", "1.3.6");
20
20
  Netmera.setNetmeraHeaders(headerValues);
21
21
  }
22
22
 
package/ios/RNNetmera.m CHANGED
@@ -39,7 +39,7 @@ NSString *const ERROR_MESSAGE_INVALID_PUSH_OBJECT = @"Received NetmeraPushObject
39
39
 
40
40
  + (void)setNetmeraHeaders {
41
41
  [Netmera setFramework:@"react"];
42
- [Netmera setFrameworkVersion:@"1.3.5"];
42
+ [Netmera setFrameworkVersion:@"1.3.6"];
43
43
  }
44
44
 
45
45
  + (void)setPushDelegate:(NSObject<NetmeraPushDelegate> *)delegate {
@@ -11,7 +11,11 @@
11
11
  @implementation RNNetmeraEvent
12
12
 
13
13
  - (NSString *)eventKey {
14
- return _netmeraEventKey;
14
+ if (super.eventKey != nil) {
15
+ return super.eventKey;
16
+ } else {
17
+ return _netmeraEventKey;
18
+ }
15
19
  }
16
20
 
17
21
  + (NSDictionary *)keyPathPropertySelectorMapping {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-netmera",
3
- "version": "1.3.5",
3
+ "version": "1.3.6",
4
4
  "description": "Netmera React Native SDK",
5
5
  "main": "index.js",
6
6
  "author": "netmera",