If I start my app using exp start --offline
offline mode is not simulated - data is still being fetched from my api endpoints etc.
Environment:
Expo: 25.0.0
React: 16.2.0
React Native: https://github.com/expo/react-native/archive/sdk-25.0.0.tar.gz
Am I missing something?
Thanks in advance
Assigning our expert @fson to have a look at the issue and diagnose whether or not he needs more information.
The --offline
flag for exp start
doesn't simulate offline mode 鈥撀爄t merely tells exp
itself to run in offline mode and without having to sign in with your Expo account, so that you can keep developing your app even if you don't have internet connection available.
Simulating offline mode for your app also sounds like a great idea, and something that people have asked for, but we don't have it yet. You can vote on the feature and add your comments on Canny: https://expo.canny.io/feature-requests/p/developer-workflow-for-offline-support.
This thread has been automatically 馃敀locked馃敀 since there has not been any recent activity after it was closed. Oftentimes the underlying causes of old issues and steps to reproduce them are different from those of new issues. Please open a new issue for related bugs.
Most helpful comment
The
--offline
flag forexp start
doesn't simulate offline mode 鈥撀爄t merely tellsexp
itself to run in offline mode and without having to sign in with your Expo account, so that you can keep developing your app even if you don't have internet connection available.Simulating offline mode for your app also sounds like a great idea, and something that people have asked for, but we don't have it yet. You can vote on the feature and add your comments on Canny: https://expo.canny.io/feature-requests/p/developer-workflow-for-offline-support.