Installation
This guide explains how to install the Wepin React Native Login Library.
Requirements
React Native version 0.71.8 or higher'
Android: API version 23 or higher
iOS: Version 12.0 or higher
Storage Migration Notice (from v1.0.0)
Starting from v1.0.0, changes to the storage key system may cause previously stored data to become inaccessible.
If the existing key is determined to be invalid, stored data will be automatically reset and a new key will be generated.
If the key is valid, your data will remain unchanged.
Downgrading from v1.0.0 to an earlier version may result in loss of access to previously stored data.
How to Disable Backup (Android)
Modify your AndroidManifest.xml file:
If android:allowBackup is true, the migration process may not work correctly, leading to potential data loss or storage issues.
Installation
It can be installed as an npm package.
peerDependencies
or
react-native.config.js Setting
You need to set the path for @wepin/storage-rn
in the react-native.config.js
file.
Last updated
Was this helpful?