[# Weavr React Native SDK
With the Weavr mobile SDKs, you can embed financial services into your own application providing a seamless experience for your customers. The mobile SDKs handle integration with our Weavr UI components and Biometric authentication.
Moreover, React native SDK comprises native iOS and Android SDK functionalities
-
Authentication:
- Biometric authentication: The mobile SDK handles the entire authentication process.
- Passcode/Password Authentication: The mobile SDK handles authentication via Weavr UI components such as Password / Passcode.
-
Get started with components: The instructions below will walk you through using the native APIs to integrate Embedded - financial UI components into your iOS application.
- Login Components
- Card components
- Other components
There will a sample app to kick start quickly and run Weavr components on your device. You need expo-cli
and make sure install globally.
npm install expo-cli --global
Secondly, you'll have to configure your own API Key / UI key on .env
file as follows:
SAND_UI_KEY=XXX
SAND_API_KEY=XXX
You need to make sure you have the latest version of @weavr-io/secure-components-react-native
. You have either install specific package version or the latest from yarn / npm packages. To modify the Weavr components version, please use package.json
like
"@weavr-io/secure-components-react-native": "1.6.5"
You can use the distributed zip file contains react native sample app or you can download from our github repo if you have team access. Step 1: Navigate into your project directory in command line,
cd mobile-react-native-expo-managed-sample
Step 2: Let's install the dependencies,
yarn
Step 3: Add your credentials in the env file. like,
SAND_UI_KEY=XXX SAND_API_KEY=XXX
Step 4: From the root of your project; type the following in your command prompt to install and launch your app on the device, ( make sure you have simulator/Emulator) is up and running,
yarn ios
or
yarn android
If you any issues, please contact support and will assist you accordingly.