Installation
React-Native Installation Anchor link
Supported Platforms Anchor link
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 Anchor link
1. Install the package via npm Anchor link
npm i react-native-powerauth-mobile-sdk --save
2. Install pods for iOS Anchor link
To make integration working with iOS, don’t forget to install Pods:
cd ios
pod install
3. Import PowerAuth in your js/ts files Anchor link
import { PowerAuth, PowerAuthAuthentication, PowerAuthError } from 'react-native-powerauth-mobile-sdk';
Cordova Installation Anchor link
Supported Platforms Anchor link
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 Anchor link
1. Install the plugin via the cordova plugin installer Anchor link
cordova plugin add cordova-powerauth-mobile-sdk
2. Install pods for iOS (if needed) Anchor link
To make integration working with iOS, you might need to install Pods:
cd platforms/ios
pod install
3. Start using PowerAuth classes Anchor link
const powerAuth = new PowerAuth("my-test-instance");
Read Next Anchor link
Last updated on Jan 29, 2025 (12:48)
Edit on Github
Send Feedback