rns-mediapicker 0.0.2 → 0.0.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.
@@ -19,29 +19,29 @@ android {
19
19
  minifyEnabled false
20
20
  }
21
21
  }
22
-
22
+
23
23
  lintOptions {
24
24
  abortOnError false
25
25
  }
26
26
 
27
+ // 🔥 FORCE JAVA 17 (MATCHES REACT NATIVE / EXPO)
27
28
  compileOptions {
28
- sourceCompatibility JavaVersion.VERSION_18
29
- targetCompatibility JavaVersion.VERSION_18
29
+ sourceCompatibility JavaVersion.VERSION_17
30
+ targetCompatibility JavaVersion.VERSION_17
30
31
  }
31
32
 
33
+ // 🔥 FORCE KOTLIN JVM TARGET 17
32
34
  kotlinOptions {
33
- jvmTarget = '18'
35
+ jvmTarget = "17"
34
36
  }
35
37
  }
36
38
 
37
39
  dependencies {
38
- // React Native dependency
40
+ def kotlinVersion = safeExtGet('kotlinVersion', safeExtGet('kotlin_version', '1.9.24'))
41
+
39
42
  implementation "com.facebook.react:react-native:+"
40
-
41
- // Kotlin standard library
42
- implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
43
-
44
- // AndroidX for FileProvider and UI components
43
+ implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
44
+
45
45
  implementation "androidx.core:core-ktx:1.12.0"
46
46
  implementation "androidx.appcompat:appcompat:1.6.1"
47
- }
47
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rns-mediapicker",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "High-performance React Native module for picking media on Android and iOS.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",