edfapay-softpos-sdk-rn 1.0.3 → 1.0.5-dev.1

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 +12 -10
  2. package/package.json +1 -9
package/README.md CHANGED
@@ -24,17 +24,19 @@
24
24
  > ```
25
25
 
26
26
  > [!IMPORTANT]
27
- > ### FragmentActivity Requirement
28
- > - Change the Android **MainActivity** base class from **`ReactActivity`** to **`ReactFragmentActivity`** (or ensure it extends `AppCompatActivity`)
29
- > - Path: `android/app/src/main/java/<your_package>/MainActivity.kt` (or `.java`)
27
+ > ### Packaging Options (Android)
28
+ > - Add the following `packagingOptions` block inside the `android { }` section of your **`android/app/build.gradle`** to avoid duplicate META-INF file conflicts:
29
+ > ```gradle
30
+ > android {
31
+ > // ... other config ...
30
32
  >
31
- > **Example (Kotlin)**
32
- > ```kotlin
33
- > package com.yourapp
34
- >
35
- > import com.facebook.react.ReactFragmentActivity
36
- >
37
- > class MainActivity : ReactFragmentActivity()
33
+ > packagingOptions {
34
+ > resources {
35
+ > excludes += ['META-INF/DEPENDENCIES', 'META-INF/LICENSE', 'META-INF/LICENSE.txt',
36
+ > 'META-INF/NOTICE', 'META-INF/NOTICE.txt', 'META-INF/**']
37
+ > }
38
+ > }
39
+ > }
38
40
  > ```
39
41
 
40
42
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edfapay-softpos-sdk-rn",
3
- "version": "1.0.3",
3
+ "version": "1.0.5-dev.1",
4
4
  "description": "Edfapay SoftPOS SDK helps developer to easily integrate Edfapay SoftPOS to their mobile application",
5
5
  "scope": "edfapay/edfapay-softpos-sdk-rn",
6
6
  "main": "./lib/module/index.js",
@@ -111,14 +111,6 @@
111
111
  ]
112
112
  ]
113
113
  },
114
- "codegenConfig": {
115
- "name": "EdfapaySoftposSdkRnSpec",
116
- "type": "modules",
117
- "jsSrcsDir": "src",
118
- "android": {
119
- "javaPackageName": "com.edfapaysoftpossdkrn"
120
- }
121
- },
122
114
  "prettier": {
123
115
  "quoteProps": "consistent",
124
116
  "singleQuote": true,