@ada-support/react-native-sdk 中文文档教程
Ada React Native SDK
前往此处获取面向客户的文档。
Running the example app on Android
- To run the application on a simulated Android device, open Android Studio and start an AVD preferably one running Android 11 (API 30)
- In a terminal navigate to the
example
folder, runnpm run android:with-install
to install all packages and install the module locally. It with automatically start up the simulator and install the app for you.
Running the example app on iOS
- In a terminal navigate to the
example
folder and runnpm install
- In another terminal, navigate to
example/ios
and runpod install
- Once finished, run
npm run ios:with-install
. It with automatically start up the simulator and install the app for you.
Deploying to production
更新 package.json 文件中的版本号,方法是在最低有效值上将版本值增加 1(例如,如果版本为 0.0.1,则将其更新为 0.0.2)
审查您的 PR,然后将其压缩并合并到<代码>大师。 合并你的 PR 会自动触发部署到 npm
Ada React Native SDK
Go here for client-facing docs.
Running the example app on Android
- To run the application on a simulated Android device, open Android Studio and start an AVD preferably one running Android 11 (API 30)
- In a terminal navigate to the
example
folder, runnpm run android:with-install
to install all packages and install the module locally. It with automatically start up the simulator and install the app for you.
Running the example app on iOS
- In a terminal navigate to the
example
folder and runnpm install
- In another terminal, navigate to
example/ios
and runpod install
- Once finished, run
npm run ios:with-install
. It with automatically start up the simulator and install the app for you.
Deploying to production
Update the version number in the package.json file by incrementing the version value by 1 on the least significant value (eg. if version is 0.0.1, update it to 0.0.2)
Get your PR reviewed and then squash and merge it to
master
. Merging your PR will automatically trigger the deploy to npm