@moxtradeveloper/react-native-moxo-module 8.13.1 → 9.6.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/README.md CHANGED
@@ -25,7 +25,7 @@ Below sdk or tools are required before start to use react-native-moxo-module.
25
25
 
26
26
  ### iOS
27
27
 
28
- * Xcode v14.1+
28
+ * Xcode v14.3+
29
29
  * Cocoapod v1.11.0+
30
30
 
31
31
  For more react-native set up details, please ref to [react native official site](https://reactnative.dev/docs/environment-setup)
@@ -148,7 +148,7 @@ dependencies {
148
148
  //noinspection GradleDynamicVersion
149
149
  implementation "com.facebook.react:react-native:+"
150
150
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
151
- implementation "com.moxtra:mep-sdk:8.13.1"
151
+ implementation "com.moxtra:mep-sdk:9.6.2"
152
152
  // From node_modules
153
153
  }
154
154
 
@@ -1,5 +1,5 @@
1
- MoxoModule_kotlinVersion=1.7.0
1
+ MoxoModule_kotlinVersion=1.9.0
2
2
  MoxoModule_minSdkVersion=21
3
- MoxoModule_targetSdkVersion=31
4
- MoxoModule_compileSdkVersion=31
3
+ MoxoModule_targetSdkVersion=34
4
+ MoxoModule_compileSdkVersion=34
5
5
  MoxoModule_ndkversion=21.4.7075529
@@ -220,7 +220,10 @@ class MoxoModuleModule(reactContext: ReactApplicationContext) :
220
220
  "registerNotification called and token is " + (if (deviceToken == null) "null" else "not null")
221
221
  )
222
222
  if (deviceToken != null) {
223
- MEPClient.registerNotification(deviceToken, object : ApiCallback<Void> {
223
+ MEPClient.registerNotification(
224
+ deviceToken,
225
+ null, null, null,
226
+ object : ApiCallback<Void> {
224
227
  override fun onCompleted(rlt: Void?) {
225
228
  Log.d(TAG, "registerNotification called and completed...")
226
229
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moxtradeveloper/react-native-moxo-module",
3
- "version": "8.13.1",
3
+ "version": "9.6.2",
4
4
  "description": "Plugin for adding Moxtra services to react-native Apps.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -30,7 +30,6 @@
30
30
  "test": "jest",
31
31
  "typescript": "tsc --noEmit",
32
32
  "lint": "eslint \"**/*.{js,ts,tsx}\"",
33
- "release": "release-it",
34
33
  "example": "yarn --cwd example",
35
34
  "bootstrap": "yarn example && yarn install && yarn example pods",
36
35
  "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build",
@@ -58,7 +57,6 @@
58
57
  },
59
58
  "devDependencies": {
60
59
  "@react-native-community/eslint-config": "^3.0.2",
61
- "@release-it/conventional-changelog": "^5.0.0",
62
60
  "@types/jest": "^28.1.2",
63
61
  "@types/react": "~17.0.21",
64
62
  "@types/react-native": "0.70.0",
@@ -72,10 +70,12 @@
72
70
  "react": "18.1.0",
73
71
  "react-native": "0.70.6",
74
72
  "react-native-builder-bob": "^0.20.0",
75
- "release-it": "^15.0.0",
76
73
  "typedoc": "^0.24.8",
77
74
  "typescript": "^4.5.2"
78
75
  },
76
+ "overrides": {
77
+ "semver": "^7.5.3"
78
+ },
79
79
  "resolutions": {
80
80
  "@types/react": "17.0.21"
81
81
  },
@@ -99,23 +99,6 @@
99
99
  "@commitlint/config-conventional"
100
100
  ]
101
101
  },
102
- "release-it": {
103
- "git": {
104
- "commitMessage": "chore: release ${version}",
105
- "tagName": "v${version}"
106
- },
107
- "npm": {
108
- "publish": true
109
- },
110
- "github": {
111
- "release": true
112
- },
113
- "plugins": {
114
- "@release-it/conventional-changelog": {
115
- "preset": "angular"
116
- }
117
- }
118
- },
119
102
  "eslintConfig": {
120
103
  "root": true,
121
104
  "extends": [
@@ -160,4 +143,4 @@
160
143
  ]
161
144
  ]
162
145
  }
163
- }
146
+ }
@@ -17,7 +17,7 @@ Pod::Spec.new do |s|
17
17
  s.public_header_files = 'ios/*.h'
18
18
  s.swift_version = '5.0'
19
19
  s.dependency "React-Core"
20
- s.dependency 'MEPSDK', '~> 8.13.1'
20
+ s.dependency 'MEPSDKDylib', '~> 9.6.2'
21
21
 
22
22
  # Don't install the dependencies when we run `pod install` in the old architecture.
23
23
  if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then