Releases: mCodex/react-native-inappbrowser-nitro
Releases · mCodex/react-native-inappbrowser-nitro
v2.1.2
🚀 Release Notes - v2.1.2
✨ What's New
📱 Android Browser Fallback Improvements
We've enhanced the Android implementation to provide better browser selection logic:
- 🌟 Chrome Priority: The library now prioritizes Chrome Custom Tabs when Chrome is installed on the device, ensuring the best user experience with familiar Chrome features.
- 🔄 Graceful Fallback: On devices without Chrome (such as some Samsung devices), the library falls back to opening URLs in the device's default web browser using the standard
Intent.ACTION_VIEWmechanism. - 🎯 No More Unwanted Custom Tabs: Previously, the library might have used other browsers' Custom Tabs implementations (e.g., Samsung Internet). Now it only uses Chrome Custom Tabs when available, otherwise defaults to the system browser.
This change addresses compatibility issues on devices where Chrome is not the default or not installed, while maintaining optimal performance when Chrome is available.
📚 Documentation Updates
- Added a new "Android Browser Fallback" section to the README.md with details about the browser selection behavior.
- Improved package.json keywords for better discoverability on npm, including terms like "in-app-browser", "custom-tabs", "oauth", "authentication", and platform-specific keywords.
🔧 Technical Changes
- Modified
CustomTabsPackageHelper.ktto prefer Chrome package when available. - Updated
HybridInappbrowserNitro.ktto only attempt Custom Tabs launch when Chrome is the selected provider. - Enhanced README.md with collapsible details section for Android behavior.
- Expanded package.json keywords array from 2 to 15 relevant terms.
✅ Compatibility
- No breaking changes to the API.
- Maintains backward compatibility with existing code.
- Works across all supported Android versions (API 23+).
🛠️ Migration
No migration steps required. The changes are internal improvements that enhance behavior without changing the public API.
v2.0.0
Release 1.3.2
1.3.2 (2025-07-18)
- fix: implement iOS build process in CI workflow; add caching and setup steps (0bddecc)
- fix: set ANDROID_HOME environment variable and create local.properties for Android SDK (0188188)
- fix: setup Ruby environment and install dependencies for iOS build; add .ruby-version file (08c5b8a)
- fix: update Android SDK setup in CI workflow; use android-actions/setup-android and streamline licen (517d761)
- fix: update react-native-nitro-modules and nitro-codegen versions to 0.26.4; add useInAppBrowser hoo (e4909f6)
Full Changelog: v1.3.1...v1.3.2
Release 1.3.1
1.3.1 (2025-07-17)
- fix: correct modal transition style from partialCurl to partialcurl (06b4e0d)
- fix: remove redundant react-native export from package.json (4bf4c2c)
- fix: update InAppBrowserNitro version to 1.3.0 and adjust package.json exports (d9fa5c2)
- fix: update package.json exports to use import and require keys (2ba69ae)
v1.3.0
Full Changelog: v1.2.1...v1.3.0