react-native-cloudpayments-config-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

Example

{
    "expo": {
        ...,
        "plugins": [
            ...,
            [
                "react-native-cloudpayments-config-plugin",
                {
                    "yandexClientId": "MY_COOL_TOKEN",
                    "ios": {
                        "sdk": "1.1.9"
                    },
                    "android": {
                        "sdk": "1.2.7"
                    }
                }
            ]
        ]
    }
}

Package Sidebar

Install

npm i react-native-cloudpayments-config-plugin

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

10.3 kB

Total Files

13

Last publish

Collaborators

  • dpolyakov