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

This package is only available for Android and iOS environments. It is not supported on Web, macOS, Windows, or Linux environments.

Installation

It can be installed as an npm package.

npm install @wepin/login-rn

peerDependencies

npm install react-native-device-info

# for ios
cd ios
pod install

or

yarn add react-native-device-info

# for ios
cd ios 
pod install

react-native.config.js Setting

You need to set the path for @wepin/storage-rn in the react-native.config.js file.

const path = require('path');
module.exports = {
  dependencies: {
    '@wepin/storage-rn': {
      root: path.join(__dirname, './node_modules/@wepin/storage-rn'),
    },
  },
};

Last updated