Why Do You Need It?
Network conditions aren’t always reliable — especially for users who:- Are in areas with weak or unstable connections
- Use restrictive networks or firewalls
- Experience short-term server or CDN outages
In short: Fallbacks make your screens fail-safe.
How It Works
When you publish a screen, Qonversion automatically allows you to generate a fallback file for it. This file contains all visual elements and logic needed to display the screen offline. The system then behaves intelligently:- Smart Detection – Automatically detects when a network or server error occurs.
- Seamless Switch – Instantly displays a locally cached fallback screen.
- Fast Loading – Fallback screens open from the device storage (no request delay).
- Graceful Recovery – When the connection returns, the SDK automatically switches back to online mode.
What Triggers Fallback?
Fallbacks activate automatically when:- Network issues — DNS failure, timeout, or unreachable endpoint.
- Server errors — HTTP 500-599 responses, rate limiting, or geoblocking.
- Provider blocking — Connection refused or socket exceptions.
- CDN problems — Gateway timeout or invalid cache.
Adding Fallback to Your Project
Step 1 — Download Your Fallback File
- Go to your Dashboard → No-Codes → Screens.
- Select one or more published screens.
- Click Download Fallback File.

qonversion_fallbacks.json) containing all published screens and their local data.
Tip: You can download fallbacks for all screens at once, or only for selected ones.
Step 2 — Add the File to Your Project
Once downloaded, you’ll integrate it into your app bundle so that the SDK can access it when offline. ✅ Default Setup (No Code Required) Simply place the downloaded file in:assetsfolder for Android, or- project root for iOS (same directory where Qonversion SDK is initialized).
- Custom name:
"my_offline_screens.json"
- Custom name:
"my_offline_screens.json" - File in subdirectory:
"assets/fallbacks/my_fallbacks.json" - Different path:
"assets/offline/my_screens.json"
⚠️ Store Products Still Require Internet
While fallback screens load instantly, any screens that display App Store or Google Play products (subscriptions, one-time purchases, etc.) will still require an internet connection to fetch current pricing and availability information.⚠️ Important Note About Android Asset Caching
When working with fallback files in your Android project, be aware that changes to asset files (including fallback JSON files) are cached by the build system. If you modify the fallback file’s content, filename, or location, you must run a clean build to ensure the changes are properly included in your app. Without a clean build, the old cached version of the file may continue to be used, even if you’ve updated the source file.Summary
| Feature | Purpose |
|---|---|
| Fallbacks | Ensure No-Code screens remain available offline. |
| How it works | Detects network errors and loads locally cached screens. |
| Setup time | ~5 minutes |
| Supported on | iOS, Android, React Native, Flutter |
| Maintenance | Re-download after each screen update. |
Best Practices
- Always run
./gradlew cleanafter modifying fallback files during development - Test fallback functionality after any file changes
💡 Fallbacks are your safety net. Even if something breaks in the network or API layer, your users will still see a working screen — and your revenue stays protected.
Localization Screens Preloading