react-native-cloudpayments-config-plugin
v1.0.0
Published
Plugin for automatic setup [react-native-cloudpayments-sdk](https://www.npmjs.com/package/react-native-cloudpayments-sdk) to your [expo](https://docs.expo.io/) application.
Downloads
12
Maintainers
Readme
react-native-cloudpayments-config-plugin
Plugin for automatic setup react-native-cloudpayments-sdk to your expo application.
Installation
Add the package to your project
npx expo install react-native-cloudpayments-config-plugin react-native-cloudpayments-sdk
After installing this npm package, add the config plugin to the plugins
array of your app.json
or app.config.js
:
{
"expo": {
"plugins": ["react-native-cloudpayments-config-plugin"]
}
}
API
yandexClientId
- used for Yandex Pay. Check this guide for retrieve id from yandex.ios.sdk
- version CloudPayments-SDK-iOSandroid.sdk
- version CloudPayments-SDK-Android
Example
{
"expo": {
...,
"plugins": [
...,
[
"react-native-cloudpayments-config-plugin",
{
"yandexClientId": "MY_COOL_TOKEN",
"ios": {
"sdk": "1.1.9"
},
"android": {
"sdk": "1.2.7"
}
}
]
]
}
}