To upgrade to the latest version of the Swrve React Native SDK plugin, replace the
react-native-swrve-plugin folder in your project with the one found in latest release on GitHub. Or use the following command:
npm update react-native-swrve-plugin
When you add the updated folder, we recommend clear your
node_modules folder and perform an
npm install to ensure you have the latest changes. Also, if you’re using iOS, ensure you run
pod update in the
There are no code changes required to upgrade to Swrve React Native SDK Plugin v1.2.1.
There are no code changes required to upgrade to Swrve React Native SDK Plugin v1.2.0.
This section provides information for upgrading to Swrve React Native SDK Plugin v1.1.0.
To use Swrve’s geo-triggered campaigns, you must integrate the Geo SDK plugin. For more information, see the Swrve Geo SDK Guide.