Example Unleash React Native App
To try it out open 2 terminals, and start the expo app and proxy server
Start Expo app
cd app
yarn install
yarn start
Start Proxy Server
cd proxy
yarn install
yarn start
Try App Over Web
You can preview the app by typing w
in the expo terminal to see the web instance. You can edit the demoApp.step1
in the demo site
Try App Over Phone
You can scan the QR code using the expo app. You will need to expose your localhost over the internet. I recommend ngrok.
ngrok http 3000
Then change the url in App.tsx
Trying with your own unleash instance
- run
docker compose up -d
- go to
https://localhost:4242
- login with default user
user admin
password unleash4all
- Create a Feature flag
- Create an API key
- update you docker-compose.yml
UNLEASH_API_TOKEN
with your token