@moxtradeveloper/react-native-moxo-module 10.1.3 → 10.1.4
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 +0 -19
- package/android/build.gradle +11 -3
- package/android/src/main/AndroidManifest.xml +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -56,25 +56,6 @@ install! 'cocoapods', :deterministic_uuids => false
|
|
|
56
56
|
# Rest of the file.....
|
|
57
57
|
```
|
|
58
58
|
|
|
59
|
-
Exception:
|
|
60
|
-

|
|
61
|
-
if you getting this error post moxo plugin installation, please also add master cocoapod repo as source into Podfile under your iOS project.
|
|
62
|
-
Usually is https://github.com/CocoaPods/Specs.git
|
|
63
|
-
|
|
64
|
-
```ruby
|
|
65
|
-
require_relative '../node_modules/react-native/scripts/react_native_pods'
|
|
66
|
-
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
|
67
|
-
#Add moxo source here
|
|
68
|
-
source 'https://maven.moxtra.com/repo/moxtra-specs.git'
|
|
69
|
-
source 'https://github.com/CocoaPods/Specs.git'
|
|
70
|
-
|
|
71
|
-
#Change platform version if is not iOS 13
|
|
72
|
-
platform :ios, '13.0'
|
|
73
|
-
install! 'cocoapods', :deterministic_uuids => false
|
|
74
|
-
|
|
75
|
-
# Rest of the file.....
|
|
76
|
-
```
|
|
77
|
-
|
|
78
59
|
## Initialization
|
|
79
60
|
|
|
80
61
|
### Login
|
package/android/build.gradle
CHANGED
|
@@ -49,6 +49,7 @@ def getExtOrIntegerDefault(name) {
|
|
|
49
49
|
|
|
50
50
|
android {
|
|
51
51
|
compileSdkVersion getExtOrIntegerDefault('compileSdkVersion')
|
|
52
|
+
namespace "com.moxomodule"
|
|
52
53
|
|
|
53
54
|
defaultConfig {
|
|
54
55
|
minSdkVersion getExtOrIntegerDefault('minSdkVersion')
|
|
@@ -66,10 +67,17 @@ android {
|
|
|
66
67
|
}
|
|
67
68
|
|
|
68
69
|
compileOptions {
|
|
69
|
-
sourceCompatibility JavaVersion.
|
|
70
|
-
targetCompatibility JavaVersion.
|
|
70
|
+
sourceCompatibility JavaVersion.VERSION_17
|
|
71
|
+
targetCompatibility JavaVersion.VERSION_17
|
|
71
72
|
}
|
|
72
73
|
|
|
74
|
+
kotlinOptions {
|
|
75
|
+
jvmTarget = "17"
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
buildFeatures {
|
|
79
|
+
buildConfig true
|
|
80
|
+
}
|
|
73
81
|
}
|
|
74
82
|
|
|
75
83
|
repositories {
|
|
@@ -148,7 +156,7 @@ dependencies {
|
|
|
148
156
|
//noinspection GradleDynamicVersion
|
|
149
157
|
implementation "com.facebook.react:react-native:+"
|
|
150
158
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
151
|
-
implementation "com.moxtra:mep-sdk:10.1.
|
|
159
|
+
implementation "com.moxtra:mep-sdk:10.1.4"
|
|
152
160
|
// From node_modules
|
|
153
161
|
}
|
|
154
162
|
|
package/package.json
CHANGED