Skip to content

Version 1.0.3

Choose a tag to compare

@CarlosSTS CarlosSTS released this 05 Sep 14:46
· 4 commits to main since this release

Fixes

  • Fix Android build failure on React Native 0.80+ (validated on RN 0.87):
    e: UtilsModule.kt Function invocation 'getCurrentActivity()' expected.
    ReactContextBaseJavaModule is now Kotlin and no longer exposes a synthetic
    currentActivity accessor — the activity is now read via
    reactApplicationContext.currentActivity.
  • Remove an always-false intent == null check in getLocationApps.

Android build modernization

  • Support React Native 0.87 / React 19 / Kotlin 2.2 / AGP 9 / compileSdk 36.
  • android/build.gradle: pinned AGP 7.3.1 / Kotlin 1.7.22 classpaths are now applied
    only for standalone builds; added Java 17 compileOptions/kotlinOptions,
    minSdk 24 / targetSdk 36 defaults, and buildFeatures.buildConfig true.
  • Runtime dependency com.facebook.react:react-native → com.facebook.react:react-android.
  • TurboReactPackage → BaseReactPackage; ReactModuleInfo 6-arg constructor
    (dropped deprecated hasConstants).

Notes

  • No public API changes — drop-in upgrade from 1.0.2.
  • Requires a host app on the New Architecture with JDK 17 / AGP 8+.

Full Changelog: v1.0.3...v1.0.3