Skip to content

Expo app skeleton with redux and sagas for WebSocket setup

Notifications You must be signed in to change notification settings

anthonyk1225/rnws

Repository files navigation

RNWS

Prerequisites

You will need to have the following installed:

Setup

To run the app locally, simply pull down the repository, cd into /rnws and run:

npm install

to install the project dependencies.

Next, run:

expo start

to launch the Metro Bundler which will open in your browser and in the terminal. From here select to open the project in the Android (Android Studio is needed) and/or the iOS (XCode is needed) simulator. You will need to setup an Expo account in order to run the project on the simulator or on your physical device (https://expo.io/signup).

Localization

The app is setup with localiztion in mind. It will use the device's set language and will fallback to english (US) if the language isn't available. To add different languages, add the json file for the language of your choice to /constants/languages.

// Set the key-value pairs for the different languages you want to support.
i18n.translations = {
  en: { welcome: 'Hello' },
  ja: { welcome: 'こんにちは' },
};

Refer to this link for more detailed information

Releases

No releases published

Packages

No packages published