API Environments
| Environment | URL | When Used |
|---|---|---|
| Production | api.boxt.co.uk | App Store / Play Store releases |
| Testing | api.boxt-testing.com | Development, QA, PR builds (default) |
| Staging | api.boxt-staging.com | For business demos |
| Review App | XXXX-api.boxt-review.com | Testing specific backend PRs |
Testing is the default for all non-production builds.
Switching Environments
Non-production builds have a Base URL control in the debug menu (shake the device to open it) that lets you switch environments:
| Action | Description |
|---|---|
| Staging | Switch to api.boxt-staging.com |
| QR scan | Scan a review app QR code |
| Manual | Enter a URL manually |
| Reset | Reset to the environment default (testing) |
Connecting to a Review App
- Go to the backend PR's deployment page
- Find the QR code
- In the app's debug menu, tap QR scan under Base URL
- Scan the code
Tap Reset to reset to testing.