Plugin for automatic setup react-native-cloudpayments-sdk to your expo application.
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"]
}
}
yandexClientId
- used for Yandex Pay. Check this guide for retrieve id from yandex.ios.sdk
- version CloudPayments-SDK-iOSandroid.sdk
- version CloudPayments-SDK-Android
{
"expo": {
...,
"plugins": [
...,
[
"react-native-cloudpayments-config-plugin",
{
"yandexClientId": "MY_COOL_TOKEN",
"ios": {
"sdk": "1.1.9"
},
"android": {
"sdk": "1.2.7"
}
}
]
]
}
}