Documentation Index
Fetch the complete documentation index at: https://docs.newly.app/llms.txt
Use this file to discover all available pages before exploring further.
Expo Go limitations
To test real purchases, you need either:- A custom dev build (
npx expo prebuildthen build for your device) - A production build (through app store or ad-hoc distribution)
Test vs production API keys
Newly automatically manages two sets of API keys:| Environment | Key type | When used |
|---|---|---|
| Dev/Preview builds | Test Store keys (test_*) | When __DEV__ is true |
| Production builds | iOS (appl_*) / Android (goog_*) | When __DEV__ is false |
__DEV__ flag.
Web preview
You can preview your paywall in the web browser. Here’s how it works:- Pricing is real — mock data is fetched from your RevenueCat dashboard so prices shown match your actual product configuration
- Purchases are simulated — no real charges occur in web preview
- Purchases persist — test purchases persist across page reloads so you can test the full flow