Skip to content
This repository has been archived by the owner on Nov 10, 2020. It is now read-only.

Migrating from 2.x to 3.x

Matei Radu edited this page Jul 13, 2019 · 2 revisions

v3.0.0 does not introduce any API breaking changes over v2.0.0, however, React Native 0.60 does bring some:

So, in order to support this and later versions of React Native, some under the hood modifications have been made that break compatibility with older versions.

How to migrate

First, if you are not using RN 0.60 or later versions, you cannot use v3 of this module. Please refer to the compatibility table and select the appropriate version.

If you have been using this module in a React Native project that upgraded to RN 0.60, please refer to the official documentation on autolinking and the Upgrade Helper.

TL;DR

First unlink the module:

react-native unlink @matt-block/react-native-in-app-browser

Then, for iOS only, make CocoaPods install the module as a dependency:

cd ios && pod install && cd ..

These steps should be sufficient.