@convep_mobilogy/react-native-qms-plugin 0.5.0 → 0.5.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.
Files changed (2) hide show
  1. package/README.md +31 -1
  2. package/package.json +1 -9
package/README.md CHANGED
@@ -35,7 +35,37 @@ pod install
35
35
 
36
36
  # Android Setup
37
37
 
38
- Autolinking should set up everything automatically.
38
+ Autolinking should set up everything automatically, but you need to add our private Maven repo and enable core library desugaring.
39
+
40
+ 1. In your **android/build.gradle**, add the Maven repo with your credentials:
41
+
42
+ ```gradle
43
+ allprojects {
44
+ repositories {
45
+ google()
46
+ mavenCentral()
47
+ maven { url = uri("https://www.jitpack.io") } // keep JitPack if RN needs it
48
+
49
+ maven {
50
+ url = uri("https://raw.githubusercontent.com/alepmustaqim03-sudo/aarPublish/main/maven-repo")
51
+ credentials {
52
+ // prefer gradle.properties/env so the token isn’t hardcoded
53
+ username = "alepmustaqim03-sudo"
54
+ password = "<clientToken>"
55
+ }
56
+ }
57
+ }
58
+ }
59
+ ```
60
+
61
+ 2. In **android/app/build.gradle**, enable core library desugaring (inside `dependencies`):
62
+
63
+ ```gradle
64
+ dependencies {
65
+ // ...
66
+ coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.4")
67
+ }
68
+ ```
39
69
 
40
70
  ---
41
71
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@convep_mobilogy/react-native-qms-plugin",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "description": "To handle defect managment",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",
@@ -148,14 +148,6 @@
148
148
  ]
149
149
  ]
150
150
  },
151
- "codegenConfig": {
152
- "name": "QmsPluginSpec",
153
- "type": "modules",
154
- "jsSrcsDir": "src",
155
- "android": {
156
- "javaPackageName": "com.qmsplugin"
157
- }
158
- },
159
151
  "create-react-native-library": {
160
152
  "languages": "kotlin-objc",
161
153
  "type": "turbo-module",