Skip to content

v2.1.1

Choose a tag to compare

@Arthur-Noh Arthur-Noh released this 21 May 05:22
· 6 commits to main since this release

Release Notes – v2.1.1

πŸ“¦ Version

v2.1.1 – Kotlin Module Stabilization & Gradle 8 Support


✨ Added

  • βœ… Kotlin Native Module: Custom openURL / canOpenURL for Android intent:// links
  • βœ… Automatic platform fallback: iOS uses default Linking, Android uses native handling
  • βœ… Gradle 8.x support:
    • gradle-wrapper.properties and gradlew added
    • Kotlin upgraded to 1.8.22, Gradle Plugin to 7.0.4
  • βœ… MIT LICENSE file added
  • βœ… Improved README.md:
    • Usage examples
    • Badges
    • Platform-specific behavior table

πŸ›  Changed

  • 🧹 Replaced reactContext with reactApplicationContext to fix Kotlin compilation error
  • ✨ Refined index.js logic:
    • canOpenURL() now uses Linking.canOpenURL() instead of openURL()
    • Improved error messages with Error object
  • βœ… Cleaned up index.d.ts for better TypeScript support

⚠️ Breaking Changes

  • None. Safe to upgrade.

πŸ§ͺ Example Usage

await SimpleLinking.openURL('intent://...');

const canOpen = await SimpleLinking.canOpenURL('intent://...');