rns-mediapicker 0.0.3 → 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,32 +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
- // 1. Resolve the version locally so it never fails
39
40
  def kotlinVersion = safeExtGet('kotlinVersion', safeExtGet('kotlin_version', '1.9.24'))
40
41
 
41
- // 2. React Native dependency
42
42
  implementation "com.facebook.react:react-native:+"
43
-
44
- // 3. Use the local variable (no $ sign needed if used this way, or use ${kotlinVersion})
45
43
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
46
-
47
- // 4. AndroidX dependencies
44
+
48
45
  implementation "androidx.core:core-ktx:1.12.0"
49
46
  implementation "androidx.appcompat:appcompat:1.6.1"
50
- }
47
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rns-mediapicker",
3
- "version": "0.0.3",
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",