All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
3.7.0 - 2022-07-29
- Add custom size option to iOS formSheet Modal by @ShaneMckenna23 (#331).
- Add
warmup
andmayLaunchUrl
functions for optimizati on in Android by @vincent-paing (#341). - Add
includeReferrer
to allow adding android package name as referrer for website to track by @vincent-paing (#342).
- Export options types by @rrebase (#324).
- Upgrade build configuration to use sdk 31 instead by @vincent-paing (#340).
- Upgraded dependency
org.greenrobot:eventbus
to 3.1.0 due to build issue by @chrismerino (#347).
- Avoid stringifying null redirect url by @rmartin48 (#286).
- Replaced jCenter with Maven by @matteodanelli (#320).
- Fix StatusBar prop name in README example @rrebase (#322).
- Fix redirection logic and update example project by @jdnichollsc (#371).
- Remove deprecated
removeEventListener()
calls with backward compatibility by @TheWirv (#297). - Remove
QUERY_ALL_PACKAGES
permission by @androideveloper (#335).
3.6.3 - 2021-07-05
- fix(android): Fix error com.facebook.react.bridge.NoSuchKeyException by @thuongtv-vn (#283).
3.6.2 - 2021-07-03
- Fix
Build failed. Error cannot find symbol builder.setNavigationBarColor
error for Android Support by @reberthkss and @jdnichollsc (#281).
3.6.1 - 2021-06-27
- Add try catch block to
CustomTabs
logic to validate the url.
3.6.0 - 2021-06-25
- Add
navigationBarColor
andnavigationBarDividerColor
options by @jdnichollsc. - Add try catch block to
Safari View Controller
logic by @Opstrup (#216).
- Fix invalid scheme with iOS 14.5 by @SimonIT (#262).
- Make InAppBrowserOptions exact typed by @ronal2do (#258).
- Fix
openAuth
crashed when going to be closed and then press the cancel button by @hikouki (#250). - Import
Alert
component for example code block by @orcuntuna (#209).
3.5.1 - 2020-10-16
- Removed
files
option from package.json to use.npmignore
instead. - Added
hasBackButton
to index.d.ts for typescript by @sharifhh (#200).
3.5.0 - 2020-10-16
- Added
hasBackButton
option to sets a back arrow instead of the default X icon to close the custom tab by @aitorct (#109). - Added default browser configuration for custom tab if any by @thuongtv-vn (#177).
- Added
browserPackage
option to use a Package name of a browser to be used to handle Custom Tabs. - Added
showInRecents
option to determine whether browsed website should be shown as separate entry in Android recents/multitasking view.
- Android
isAvailable
method checks Custom Tab support by @aitorct (#108). - Added a null check for
redirectResolve
insafariViewControllerDidFinish
by @ssuchanowski (#160). - Fixed README updating
modalPresentationStyle
to fullscreen by @Thomazella (#161). - Fixed
AppStateActiveOnce
event listener by @logangouget (#179).
3.4.0 - 2020-04-08
- Added
ephemeralWebSession
option to supportsephemeralWebBrowserSession
on iOS 13 by @avenner (#141). - Added
@ReactModule
annotation by @janicduplessis (#94).
- Removed listener of
openAuth
whencloseAuth
is called.
3.3.4 - 2020-01-07
- Disable swipe to dismiss gesture for modal by @frankyjuang (#134).
3.3.3 - 2019-11-25
- Removed build warnings with iOS 13 using Pragmas.
3.3.2 - 2019-11-15
- Validate if the type of the auth result is different to
cancel
before to check the url of the last redirection from Android. - Fixed issue getting the result of the auth redirection by using
AppState
to detect Android ActivityOnResume
event once.
3.3.1 - 2019-11-13
- Exclude unnecessary file and folders from release distribution by @SaeedZhiany (#114).
- Update
.gitignore
to clean unnecessary files by @friederbluemle (#115). - Use
yarn
instead ofnpm
cli by @friederbluemle (#116). - Update dev dependencies by @friederbluemle (#117).
3.3.0 - 2019-11-12
- Removed
waitForRedirectDelay
option and fixed race condition from Android to get the response of the redirection (#36) - Fixed Android Activity issue closing the browser and restoring the state by using
onSaveInstanceState
(#60).
3.2.0 - 2019-11-10
- Added support for
automatic
modal presentation style from iOS. - Added
enableBarCollapsing
option to determines whether the browser's tool bars will collapse or not from iOS.
- Fixed Browser crashes on iOS 13 when openAuth is used.
3.1.0 - 2019-09-03
- Added
waitForRedirectDelay
option for Android to fix issues dismissing the browser before detecting the redirection withLinking
(817f6ec).
3.0.1 - 2019-08-16
- Added gradle backward-compatibility for Android Support with Jetifier (#96).
- Added androidXAnnotation and androidXBrowser properties from rootProject.ext for AndroidX with backward compatibility using supportLibVersion property instead.
3.0.0 - 2019-07-27
- Android: Migrate to AndroidX by @jdnichollsc (8a083f2).
- Start following SemVer with git tags properly 😅.
- Include a CHANGELOG.md to see the history of the changes of the project.
- Validate if
EventBus
of Android is registered before to unregister. - Include ESLint config for React Native.
- Activating Open Collective (#80) and Create CONTRIBUTING.md to see how to contribute.
- Added
animated
,modalPresentationStyle
andmodalTransitionStyle
properties for iOS options (86f7238). - Present the SafariViewController modally or as push instead using the
modalEnabled
property (4a0d57c). - Added workaround to dismiss SafariViewController without animation.
- com.facebook.infer.annotation dependency is not required anymore to build for Android (dcbfaef).
- Android: You are required to only use either the Support Library or AndroidX for your dependencies. If you need to migrate this library back to the support library, or another library forward to AndroidX, then take a look at the Jetifier tool.
2.0.4 - 2019-05-16
- README now contains a badges section.
- Include deep linking example with
demo
schemes, redirecting back from an external static page created with GitHub Pages. - Use
ASWebAuthenticationSession
instead ofSFAuthenticationSession
for iOS >= 12.
2.0.3 - 2019-05-02
- Wrong
registerEventBus
been called fromclose
event on Android, usingunregister
ofEventBus
instead.
2.0.2 - 2019-05-02
- README now contains the different options to open the browser.
- Added
customTabsIntent.startAnimationBundle
when theChromeTabsManagerActivity
intent is created to fix Android animations by @miktolon (3f0cb35).
- Using Android
AssertionError
instead of useAssertion
lib of Facebook by @SnaiNeR (e9a54d3). - Set modal presentation style of SFSafariViewController to
UIModalPresentationNone
instead ofUIModalPresentationOverFullScreen
. - Update example to use RN 0.59.5.
2.0.1 - 2019-04-12
2.0.0 - 2019-03-21
- Default methods to open and close the embedded browser (open, close) with options.
- Methods to open and close external urls to authenticate the user (openAuth, closeAuth) using deep linking.
isAvailable
method to detect if the device supports the plugin.
Missing tags for previous versions 🤷♂
- Create
InAppBrowser for React Native
library inspired by WebBrowser component of Expo SDK. - Include options to costumize the browser, inspired from Chrome Custom Tabs for React Native and A React Native wrapper for Safari View Controller.
- Include readermode property for iOS options by @EQuimper (fb3efac).
- Let status bar been managed from the react-native side by @EQuimper (e66f652).
- Typescript support by @bonesyblue (d62f705).
- Fix result type when ChromeTabsManagerActivity is dismissed by @mlazari (f5a0be5).
- Move podspec file to root project by @plamworapot (aa7d33b).
- Fix gradle compile config by @fschindler (8bfa6da).
- Include supportLibVersion definition to avoid collisions by @maestor (332ceef).
- Fix the repository URL for podspec file by @adammcarth (7e4038c).
- Provide example how to restore old status bar style by @MrLoh (8cb9e75).
- Added
com.facebook.infer.annotation
dependecy to fix build error by Artem Emelyanov (80ff313). - Clear
mOpenBrowserPromise
after sending a cancel by @rbscott (d9cc2a3). - Fix README to import native package in
MainApplication
instead ofMainActivity
by @mammad2c (ce3f5a9). - Update the
isAvailable
method to return a boolean instead by @kikketer (1d75810). - Fix TypeScript typings by @petekp (e0e99a5).
- Fix
EventBusException
on Android by @Almouro (9cf4cbb).