Add staging code-push support in DevTools screen
Goal
Add toggle in developer menu to switch between production and staging code-push keys. Both keys pairs will be provided in the env file.
What needs to be done
- Add toggle component in developer menu to change code-push channel
- On toggle to staging channel, download, install and restart the app if any present code-push
QA
No need a new build for iOS and Android to test the channel switch.
UX/Design
Add new item in the DevTools screen with either a toggle switch component or a check to mark the staging channel selection.
Acceptance Criteria
- GIVEN that I'm in the DevTools screen
- WHEN I press on the line item with the staging code-push
- THEN the app will download and install the update
- AND the app will restart
- AND the changes will be present in the app
Definition of Ready Checklist
-
Definition Of Done (DoD) -
Acceptance criteria -
Weighted -
QA -
UX/Design
Edited by Vali