Installation
React-Native Installation
Supported Platforms
The library is available for the following React Native (0.64.1+) platforms:
- Android 5.0 (API 21) and newer
- iOS 13.4 and newer
How To Install
1. Install the package via npm
npm i react-native-powerauth-mobile-sdk --save
2. Install pods for iOS
To make integration working with iOS, don’t forget to install Pods:
cd ios
pod install
3. Import PowerAuth in your js/ts files
import { PowerAuth, PowerAuthAuthentication, PowerAuthError } from 'react-native-powerauth-mobile-sdk';
Cordova Installation
Supported Platforms
The library is available for the following Apache Cordova (>=12.0.0) platforms:
- Android 7.0 (API 24) and newer (cordova-android version >=12.0.0)
- iOS 11.0 and newer (cordova-ios version >=7.0.0)
How To Install
1. Install the plugin via the cordova plugin installer
cordova plugin add cordova-powerauth-mobile-sdk
2. Install pods for iOS (if needed)
To make integration working with iOS, you might need to install Pods:
cd platforms/ios
pod install
3. Start using PowerAuth classes
const powerAuth = new PowerAuth("my-test-instance");
Read Next
Last updated on Jan 29, 2025 (12:48)
Edit on Github
Send Feedback