https://github.com/phrase/react_native_sdk_example
Example application for the Phrase OTA React Native SDK
https://github.com/phrase/react_native_sdk_example
Last synced: over 1 year ago
JSON representation
Example application for the Phrase OTA React Native SDK
- Host: GitHub
- URL: https://github.com/phrase/react_native_sdk_example
- Owner: phrase
- License: mit
- Created: 2021-08-16T11:24:48.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-01-13T09:29:13.000Z (over 3 years ago)
- Last Synced: 2025-02-06T07:13:14.276Z (over 1 year ago)
- Language: Java
- Homepage: https://help.phrase.com/help/react-native-sdk-installation-instructions
- Size: 163 KB
- Stars: 1
- Watchers: 15
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Phrase OTA for React Native Example
Example application for the [OTA React Native SDK](https://www.npmjs.com/package/react-native-phrase-sdk).
## Setup
- Replace `YOUR_DISTRIBUTION_ID` and `YOUR_ENVIRONMENT_ID` with your values from Phrase in https://github.com/phrase/react_native_sdk_example/blob/main/i18n.js
- `npm install`
- Start app with `npm start`
### Android
- Set Android SDK ENV variables `export ANDROID_SDK_ROOT=/path_to_sdk` `export ANDROID_HOME=/path_to_sdk`
- Make sure the Android emulator is running
- Run Android app `npm run android`
### iOS
- Run `cd ios && pod install`
- Launch app `npm run ios`