react-native-netmera 1.7.1 → 1.7.2

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/.eslintignore ADDED
@@ -0,0 +1,6 @@
1
+ /example/.eslintrc.js
2
+ /example/__tests__/App-test.js
3
+ /example/babel.config.js
4
+ /example/index.js
5
+ /example/jest.config.js
6
+ /example/metro.config.js
@@ -13,7 +13,7 @@ jobs:
13
13
  - name: Test using Node.js
14
14
  uses: actions/setup-node@v3
15
15
  with:
16
- node-version: "14.x"
16
+ node-version: "16.x"
17
17
  - run: yarn install
18
18
  - run: cd example && yarn install && cd ..
19
19
  - run: yarn prettier --check .
package/README.md CHANGED
@@ -210,9 +210,9 @@ export const onPushReceive = async (message) => {
210
210
 
211
211
  ```
212
212
  // For receiving Media Push, you must add Netmera pods to top of your Podfile.
213
- pod "Netmera", "3.23.1-WithoutDependency"
214
- pod "Netmera/NotificationServiceExtension", "3.23.1-WithoutDependency"
215
- pod "Netmera/NotificationContentExtension", "3.23.1-WithoutDependency"
213
+ pod "Netmera", "3.23.3-WithoutDependency"
214
+ pod "Netmera/NotificationServiceExtension", "3.23.3-WithoutDependency"
215
+ pod "Netmera/NotificationContentExtension", "3.23.3-WithoutDependency"
216
216
  ```
217
217
 
218
218
  5. In order to use the widget URL callback, add these methods to between `@implementation AppDelegate` and `@end`.
package/RNNetmera.podspec CHANGED
@@ -18,6 +18,6 @@ Pod::Spec.new do |s|
18
18
  s.requires_arc = true
19
19
 
20
20
  s.dependency 'React'
21
- s.dependency 'Netmera','3.23.1-WithoutDependency'
21
+ s.dependency 'Netmera','3.23.3-WithoutDependency'
22
22
  end
23
23
 
@@ -3,6 +3,10 @@ apply plugin: 'com.android.library'
3
3
  android {
4
4
  compileSdk 33
5
5
 
6
+ // Conditional for compatibility with AGP <4.2.
7
+ if (project.android.hasProperty("namespace")) {
8
+ namespace "com.netmera.reactnativesdk"
9
+ }
6
10
  defaultConfig {
7
11
  minSdkVersion 21
8
12
  targetSdkVersion 33
@@ -23,7 +23,7 @@ public class RNNetmera {
23
23
  static void setNetmeraHeaders() {
24
24
  ContentValues headerValues = new ContentValues();
25
25
  headerValues.put("X-netmera-framework", "react");
26
- headerValues.put("X-netmera-frameworkV", "1.7.1");
26
+ headerValues.put("X-netmera-frameworkV", "1.7.2");
27
27
  Netmera.setNetmeraHeaders(headerValues);
28
28
  }
29
29
 
package/ios/RNNetmera.m CHANGED
@@ -55,7 +55,7 @@ NSString *const ERROR_MESSAGE_UPDATE_USER = @"Error occurred while updating user
55
55
 
56
56
  + (void)setNetmeraHeaders {
57
57
  [Netmera setFramework:@"react"];
58
- [Netmera setFrameworkVersion:@"1.7.1"];
58
+ [Netmera setFrameworkVersion:@"1.7.2"];
59
59
  }
60
60
 
61
61
  + (void)setPushDelegate:(NSObject<NetmeraPushDelegate> *)delegate {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-netmera",
3
- "version": "1.7.1",
3
+ "version": "1.7.2",
4
4
  "description": "Netmera React Native SDK",
5
5
  "main": "index.ts",
6
6
  "author": "netmera",