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.2.2 - 2020-09-30
- Bump
@ctrl/tinycolor
to version3.1.2
. - Bump other devDependencies.
3.2.1 - 2020-05-17
- Bump Kotlin to version
1.3.72
. - Bump most JS/TS dependencies.
3.2.0 - 2020-02-29
- iOS specific:
entersReaderIfAvailable
setting to instruct Safari to enter in Reader mode, if available (thanks to @fonov). - iOS specific:
dismissButtonStyle
setting to change the label of the dismiss button.
3.1.4 - 2020-01-12
tinycolor2
was replaced with the fork@ctrl/tinycolor
because the the former has not received any update since 2016.
3.1.3 - 2019-12-14
- The React peer dependency is now
16.8.6
as needed by RN 0.60.0 and upwards.
- Bump TypeScript to version
3.7.3
.
3.1.2 - 2019-10-19
- Compatibility with React Native
0.61.0
. - Flow typings for Android
warmup
andmayLaunchUrl
methods.
- On iOS,
threading violation
exception thrown while invokingcloseInApp
(thanks to @fonov).
3.1.1 - 2019-09-01
- On Android, crash on app launch when there are no Custom Tabs compatible browsers available.
3.1.0 - 2019-08-06
- Android specific
warmup
andmayLaunchUrl
methods to reduce custom tab activity start time.
3.0.0 - 2019-07-13
- Compatibility with React Native
0.60.0
and, with it, autolinking: no need to manually link anymore.
- Compatibility with React Native versions below
0.60.0
. If you need to use an older version of React Native, check the compatibility table to use the appropriate package.
- iOS podspec file has been updated to support React Native
0.60.0
. - Bump Kotlin to version
1.3.31
. - Remove explicit Android Build Tools version from Gradle configuration.
2.0.0 - 2019-06-01
The following deprecated functions have been removed. Please see Migrating from 1.x to 2.x for more details.
openInApp
, useInAppBrowser.open
instead.initialize
, useInAppBrowser.configure
instead.closeInAppInstance
, useInAppBrowser.close
instead.
1.4.1 - 2019-04-19
- Packaging script typo that prevended NPM interoperability (thanks to @a6kme).
- Android
getBitmapFromUriOrDrawable
has been refactored for better maintainability. - Android
convertDpToPixel
has been replaced with Facebook'sPixelUtil.toPixelFromDIP
since it's more tested and reliable.
1.4.0 - 2019-03-01
- Object
InAppBrowser
with methods:open
as a drop-in replacement foropenInApp
,configure
as a drop-in replacement forinitialize
,close
as a drop-in replacement forcloseInAppInstance
.
The following functions have been deprecated. Please see Migrating from 1.x to 2.x for more details.
openInApp
, useInAppBrowser.open
instead.initialize
, useInAppBrowser.configure
instead.closeInAppInstance
, useInAppBrowser.close
instead.
1.3.0 - 2019-02-27
- Example project in the
example
directory.
- Color properties (
toolbarColor
,preferredBarTintColor
andpreferredControlTintColor
) now accept more color formats. Please refer to TinyColor's Accepted String Input to see all available formats. - The iOS
.podspec
will now automatically stay in sync withpackage.json
(thanks to @ericlewis).
1.2.7 - 2019-02-21
- Compatibility with React Native
0.59.0
.
- Missing Flow definitions for
closeInAppInstance
. - Outdated iOS podspec file.
- Bump Kotlin to version
1.3.21
. - Minor refactoring of
settings.ts
.
1.2.4 - 2019-01-29
- Compatibility with React Native
0.58.0
.
- Possible iOS crashes due to thread clashing (thanks to @yoneapp)
- Bump Android target from
26
to27
(same as React Native0.58.0
). - Bump Android build tools from
27.0.3
to28.0.2
(same as React Native0.58.0
). - Bump Android compile vesion from
27
to28
(same as React Native0.58.0
). - Bump Android Gradle tools from
3.1.4
to3.2.0
(same as React Native0.58.0
).
1.2.1 - 2019-01-10
- Typo in the iOS
openInApp
function that prevented compilation.
1.2.0 - 2019-01-08
closeInAppInstance
: programmatically close the in-app browser (works for iOS only).
1.1.2 - 2018-12-05
- Relax Xcode project compatibility version to
8.0
.
1.1.1 - 2018-10-30
- Bump Kotlin to version
1.3.0
. - Update other dependencies.
1.1.0 - 2018-10-14
initialize
: initialize the settings of the in-app browser so that eachopenInApp
call won't need to specify them each time.
- Minor refactoring.
1.0.1 - 2018-10-07
- Test release necessary to evaluate the CircleCI integration and auto publishing to NPM.
1.0.0 - 2018-10-03
openInApp
: open a valid http(s) URL with an in-app browser.