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
npm i react-native-powerauth-mobile-sdk --saveTo make integration working with iOS, don't forget to install Pods:
cd ios
pod installimport { PowerAuth, PowerAuthAuthentication, PowerAuthError } from 'react-native-powerauth-mobile-sdk';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)
cordova plugin add cordova-powerauth-mobile-sdkTo make integration working with iOS, you might need to install Pods:
cd platforms/ios
pod installconst powerAuth = new PowerAuth("my-test-instance");