This repository includes an example app built with Expo for local development and testing.
npm install
Follow the React Native environment setup guide.
cd example
npm install
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.
This will start an SSO proxy server and watch for changes to the SDK:
npm run dev:dependencies
Finally, run the application on an iOS or Android simulator:
npm run dev