Skip to content

Latest commit

 

History

History
51 lines (31 loc) · 1.32 KB

File metadata and controls

51 lines (31 loc) · 1.32 KB

Local Development

This repository includes an example app built with Expo for local development and testing.

Development Setup

1. Clone this repository

2. Install dependencies

npm install

3. Set up React Native

Follow the React Native environment setup guide.

4. Install example project dependencies

cd example
npm install

5. Configure the SSO API proxy

The example application uses @mxenabled/sso-api-proxy to run a proxy server that communicates with MX's Platform API.

When the proxy server first starts up, it will prompt you to enter the necessary API and user settings. This configuration is then saved locally.

See the configuration documentation for more information on how to configure @mxenabled/sso-api-proxy.

6. Start the development dependencies

This will start an SSO proxy server and watch for changes to the SDK:

npm run dev:dependencies

7. Run the application

Finally, run the application on an iOS or Android simulator:

npm run dev