react-native-netmera 1.10.0-beta01 → 1.11.0-beta01

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/.idea/modules.xml CHANGED
@@ -2,7 +2,7 @@
2
2
  <project version="4">
3
3
  <component name="ProjectModuleManager">
4
4
  <modules>
5
- <module fileurl="file://$PROJECT_DIR$/.idea/Netmera-React-SDK.iml" filepath="$PROJECT_DIR$/.idea/Netmera-React-SDK.iml" />
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/Netmera-SDK-React-Native.iml" filepath="$PROJECT_DIR$/.idea/Netmera-SDK-React-Native.iml" />
6
6
  </modules>
7
7
  </component>
8
8
  </project>
@@ -0,0 +1,3 @@
1
+ {
2
+ "java.configuration.updateBuildConfiguration": "disabled"
3
+ }
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.24.9-WithoutDependency"
214
- pod "Netmera/NotificationServiceExtension", "3.24.9-WithoutDependency"
215
- pod "Netmera/NotificationContentExtension", "3.24.9-WithoutDependency"
213
+ pod "Netmera", "3.27.0-WithoutDependency"
214
+ pod "Netmera/NotificationServiceExtension", "3.27.0-WithoutDependency"
215
+ pod "Netmera/NotificationContentExtension", "3.27.0-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`.
@@ -1,7 +1,7 @@
1
1
  apply plugin: 'com.android.library'
2
2
 
3
3
  android {
4
- compileSdk 34
4
+ compileSdk 35
5
5
 
6
6
  // Conditional for compatibility with AGP <4.2.
7
7
  if (project.android.hasProperty("namespace")) {
@@ -9,7 +9,7 @@ android {
9
9
  }
10
10
  defaultConfig {
11
11
  minSdkVersion 21
12
- targetSdkVersion 34
12
+ targetSdkVersion 35
13
13
  versionCode 1
14
14
  versionName "1.0"
15
15
  }
@@ -19,8 +19,11 @@ android {
19
19
  }
20
20
 
21
21
  dependencies {
22
- implementation 'com.netmera:nmcore:4.6.1'
23
- implementation 'com.netmera:nmfcm:4.5.0'
24
- implementation 'com.netmera:nmhms:4.5.0'
22
+ implementation 'com.netmera:nmcore:4.9.1'
23
+ implementation 'com.netmera:nmfcm:4.6.0'
24
+ implementation 'com.netmera:nmhms:4.6.0'
25
25
  implementation 'com.facebook.react:react-native:+'
26
+
27
+ implementation 'com.google.firebase:firebase-messaging:23.1.2'
28
+ implementation 'com.huawei.hms:push:6.11.0.300'
26
29
  }
@@ -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.10.0");
21
+ headerValues.put("X-netmera-frameworkV", "1.11.0");
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.10.0"];
58
+ [Netmera setFrameworkVersion:@"1.11.0"];
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.10.0-beta01",
3
+ "version": "1.11.0-beta01",
4
4
  "description": "Netmera React Native SDK",
5
5
  "main": "index.ts",
6
6
  "author": "netmera",
@@ -1,23 +0,0 @@
1
- ---
2
- name: Bug report
3
- about: Describe a bug that needs to be fixed
4
-
5
- ---
6
-
7
- **Describe the bug**
8
- <!--- A clear and concise description of what the bug is. -->
9
-
10
- **To Reproduce**
11
- Steps to reproduce the behavior:
12
-
13
- **Expected behavior**
14
- <!--- A clear and concise description of what you expected to happen. -->
15
-
16
- **Testing**
17
- <!--- A clear and concise description of how to test the fix. -->
18
-
19
- **Screenshots**
20
- <!--- If applicable, add screenshots to help explain your problem. -->
21
-
22
- **Additional context**
23
- <!--- Add any other context about the problem here. -->
@@ -1,17 +0,0 @@
1
- ---
2
- name: Feature
3
- about: Describe a feature for this project
4
- ---
5
-
6
- **Is your feature related to a problem? Please describe.**
7
- <!--- A clear and concise description of what the problem is. -->
8
- <!--- Ex. I'm always frustrated when [...] -->
9
-
10
- **Testing**
11
- <!--- A clear and concise description of how to test the fix. -->
12
-
13
- **Additional context**
14
- <!--- Add any other context or screenshots about the feature here. -->
15
-
16
- **Acceptance criteria**
17
- <!--- A list of the conditions that a software product must meet to be accepted by a user, a customer, or other system. -->
@@ -1,19 +0,0 @@
1
- ---
2
- name: Release
3
- about: Describe a mobile app release.
4
- ---
5
- **Type of release.**
6
- <!--- Is this a Pre Release or a Prod release? -->
7
-
8
- **New features**
9
- <!-- Replace ADD_TIME_PERIOD_HERE with the scope of the release -->
10
- <!-- Add new release features below. -->
11
- We have completed the mobile dev worked the platform team had scoped out for the month of ADD_TIME_PERIOD_HERE and now it is time to deploy a new release.
12
- Details for this build are as follows:
13
-
14
- **Additional context**
15
- <!--- Add any other context or screenshots about the feature here. -->
16
-
17
- **Acceptance criteria**
18
- <!--- A list of the conditions that a software product must meet to be accepted by a user, a customer, or other system. -->
19
- Testers report no issues.
@@ -1,28 +0,0 @@
1
- ## Related Issue
2
- <!--- PRs should be related to open issues. -->
3
- <!--- If suggesting a new feature or change, please discuss it in an issue first. -->
4
- <!--- If fixing a bug, there should be an issue describing it with steps to reproduce it. -->
5
-
6
- <!--- Link to the issue here: -->
7
- ISSUE LINK: https://app.asana.com/0/1203144541549209/ISSUE_NUMBER
8
-
9
- ## Description
10
- <!--- Describe your changes in detail -->
11
-
12
-
13
- ## Types of changes
14
- <!--- What types of changes does your code introduce? Delete options that are not relevant: -->
15
-
16
- - [ ] Bug fix (non-breaking change which fixes an issue)
17
- - [ ] New feature (non-breaking change which adds functionality)
18
- - [ ] Breaking change (fix or feature that would cause existing functionality to change)
19
-
20
- ## How Has This Been Tested?
21
- <!--- Describe in detail how you tested your changes. -->
22
- <!--- Include details of your testing environment, and the tests you ran to -->
23
- <!--- see how your change affects other areas of the code, etc. -->
24
-
25
- ## Screenshots or Sample Output
26
- ~~~
27
- PASTE_OUTPUT_HERE
28
- ~~~
@@ -1,21 +0,0 @@
1
- name: run-prettier-action
2
- on:
3
- pull_request:
4
- branches:
5
- - main
6
- - develop
7
- jobs:
8
- check-bats-version:
9
- runs-on: ubuntu-latest
10
-
11
- steps:
12
- - uses: actions/checkout@v3
13
- - name: Test using Node.js
14
- uses: actions/setup-node@v3
15
- with:
16
- node-version: "16.x"
17
- - run: yarn install
18
- - run: cd example && yarn install && cd ..
19
- - run: yarn prettier --check .
20
- - run: yarn tsc
21
- - run: yarn eslint .
package/.idea/misc.xml DELETED
@@ -1,4 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ReactNativePackager" nodePath="/opt/homebrew/bin/node" reactNativePackagePath="$PROJECT_DIR$/example/node_modules/react-native" workingDirectory="$PROJECT_DIR$/example" />
4
- </project>
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <Workspace
3
- version = "1.0">
4
- <FileRef
5
- location = "self:">
6
- </FileRef>
7
- </Workspace>