react-native-netmera 1.11.3-beta02 → 1.11.3-beta03

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 CHANGED
@@ -4,3 +4,4 @@
4
4
  /example/index.js
5
5
  /example/jest.config.js
6
6
  /example/metro.config.js
7
+ /scripts
@@ -0,0 +1,38 @@
1
+ name: Code Quality Check
2
+
3
+ on:
4
+ pull_request:
5
+ branches:
6
+ - main
7
+ - develop
8
+
9
+ jobs:
10
+ lint-and-typecheck:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Checkout repository
14
+ uses: actions/checkout@v4
15
+
16
+ - name: Setup Node.js
17
+ uses: actions/setup-node@v4
18
+ with:
19
+ node-version: "20"
20
+ cache: 'yarn'
21
+
22
+ - name: Install root dependencies
23
+ run: yarn install --frozen-lockfile
24
+
25
+ - name: Install example dependencies
26
+ run: |
27
+ cd example
28
+ yarn install --frozen-lockfile
29
+ cd ..
30
+
31
+ - name: Check Prettier
32
+ run: yarn prettier --check .
33
+
34
+ - name: Check ESLint
35
+ run: yarn eslint .
36
+
37
+ - name: TypeScript Compile
38
+ run: yarn tsc
package/.prettierignore CHANGED
@@ -5,4 +5,10 @@
5
5
  ios/
6
6
 
7
7
  # Ignore all Android files:
8
- android/
8
+ android/
9
+
10
+ # Ignore example files:
11
+ example/metro.config.js
12
+ example/vendor/*
13
+ example/__tests__/*
14
+ scripts/update-version.js
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.27.0-WithoutDependency'
21
+ s.dependency 'Netmera','3.27.3-WithoutDependency'
22
22
  end
23
23
 
@@ -18,7 +18,7 @@ public class RNNetmera {
18
18
  static void setNetmeraHeaders() {
19
19
  ContentValues headerValues = new ContentValues();
20
20
  headerValues.put("X-netmera-framework", "react");
21
- headerValues.put("X-netmera-frameworkV", "1.11.2");
21
+ headerValues.put("X-netmera-frameworkV", "1.11.3");
22
22
  Netmera.setNetmeraHeaders(headerValues);
23
23
  }
24
24
  }
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.11.2"];
58
+ [Netmera setFrameworkVersion:@"1.11.3"];
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.11.3-beta02",
3
+ "version": "1.11.3-beta03",
4
4
  "description": "Netmera React Native SDK",
5
5
  "main": "index.ts",
6
6
  "author": "netmera",