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.
- Add
hasBackButton
property to sets a back arrow instead of the default X icon to close the custom tab by @aitorct (#109).
- Android
isAvailable
method checks Custom Tab support by @aitorct (#108). - Add a null check for
redirectResolve
insafariViewControllerDidFinish
by @ssuchanowski (#160). - Fixed README updating
modalPresentationStyle
to fullscreen by @Thomazella (#161).
3.4.0 - 2020-04-08
- Added
ephemeralWebSession
option to supportsephemeralWebBrowserSession
on iOS 13 by @avenner (#141). - Add
@ReactModule
annotation by @janicduplessis (#94).
- Remove 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
- Remove 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). - Add 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.
- Add
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).
- Add
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).