rns-mediapicker 0.0.2 → 0.0.3

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