react-native-netmera 1.10.0 → 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 +1 -1
- package/.vscode/settings.json +3 -0
- package/android/build.gradle +8 -5
- package/android/src/main/java/com/netmera/reactnativesdk/RNNetmera.java +1 -1
- package/ios/RNNetmera.m +1 -1
- package/package.json +1 -1
- package/.github/workflows/commit_sync.yml +0 -53
- package/.github/workflows/run-prettier-action.yaml +0 -21
- package/.idea/misc.xml +0 -4
- package/ios/RNNetmera.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
- package/ios/RNNetmera.xcodeproj/project.xcworkspace/xcuserdata/gunesbaki.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- /package/.idea/{Netmera-React-SDK.iml → Netmera-SDK-React-Native.iml} +0 -0
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-
|
|
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>
|
package/android/build.gradle
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
apply plugin: 'com.android.library'
|
|
2
2
|
|
|
3
3
|
android {
|
|
4
|
-
compileSdk
|
|
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
|
|
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.
|
|
23
|
-
implementation 'com.netmera:nmfcm:4.
|
|
24
|
-
implementation 'com.netmera:nmhms:4.
|
|
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.
|
|
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.
|
|
58
|
+
[Netmera setFrameworkVersion:@"1.11.0"];
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
+ (void)setPushDelegate:(NSObject<NetmeraPushDelegate> *)delegate {
|
package/package.json
CHANGED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
name: Sync Commits to Client Repo
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches:
|
|
6
|
-
- master
|
|
7
|
-
|
|
8
|
-
jobs:
|
|
9
|
-
sync_to_repo_a:
|
|
10
|
-
runs-on: ubuntu-latest
|
|
11
|
-
|
|
12
|
-
steps:
|
|
13
|
-
- name: Checkout repository
|
|
14
|
-
uses: actions/checkout@v2
|
|
15
|
-
with:
|
|
16
|
-
fetch-depth: 0 # fetch the entire history
|
|
17
|
-
|
|
18
|
-
- name: Configure Git
|
|
19
|
-
run: |
|
|
20
|
-
git config --global user.email "engineering@initialcode.com.tr"
|
|
21
|
-
git config --global user.name "Initial Code"
|
|
22
|
-
|
|
23
|
-
- name: Add Repo A as remote
|
|
24
|
-
run: |
|
|
25
|
-
eval `ssh-agent -s`
|
|
26
|
-
ssh-add - <<< '${{ secrets.SSH_PRIVATE_KEY }}'
|
|
27
|
-
git remote add repo-a "git@github.com:Netmera/netmera-sdk-react-native.git"
|
|
28
|
-
git fetch repo-a
|
|
29
|
-
|
|
30
|
-
- name: Pull latest changes from Repo A
|
|
31
|
-
run: |
|
|
32
|
-
eval `ssh-agent -s`
|
|
33
|
-
ssh-add - <<< '${{ secrets.SSH_PRIVATE_KEY }}'
|
|
34
|
-
git pull repo-a master --rebase || git rebase --abort
|
|
35
|
-
|
|
36
|
-
- name: Remove .github folder
|
|
37
|
-
run: |
|
|
38
|
-
rm -rf .github
|
|
39
|
-
git add -A
|
|
40
|
-
git commit -m "Remove .github folder before pushing" || true
|
|
41
|
-
|
|
42
|
-
- name: Resolve conflicts if any and continue rebase
|
|
43
|
-
if: failure()
|
|
44
|
-
run: |
|
|
45
|
-
eval `ssh-agent -s`
|
|
46
|
-
ssh-add - <<< '${{ secrets.SSH_PRIVATE_KEY }}'
|
|
47
|
-
git rebase --continue || git rebase --skip || true
|
|
48
|
-
|
|
49
|
-
- name: Push to Repo A
|
|
50
|
-
run: |
|
|
51
|
-
eval `ssh-agent -s`
|
|
52
|
-
ssh-add - <<< '${{ secrets.SSH_PRIVATE_KEY }}'
|
|
53
|
-
git push repo-a master:master --force
|
|
@@ -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
|
Binary file
|
|
File without changes
|