Comments (7)
We support offline development with exp
. Use exp start --offline
from expo.
Hi, is there a reason you don't want to publish to Exponent? Publishing is the mechanism that solves your problem:
- It puts your JS bundle on our server so that all existing users of your app can get the newest version of your code.
- If you make a standalone app, it also rolls the JS bundle into your binary so the standalone app loads offline.
Even the standalone app will still continue fetching updates to your published JS when it has an internet connection. All versions of Exponent will cache the newest JS bundle so it's available next time they don't have an internet connection.
Serving from XDE is solely intended for development. When you're ready to share the app, that's what publishing is for. Hopefully that all makes sense.
from expo.
This really sucks. I want to develop an app for personal use, not to distribute on the app store (at least, not yet). It's one that I'd like to be able to use independently of a computer, but there's seemingly no way I can package it for just my phone.
I tried exp build:ios
but that doesn't work because I have 2FA enabled on my Apple ID. exp start --offline
doesn't seem to load the app when my computer is off either.
Is there a way I can (preferably without authenticating anywhere) just build the app for personal use?
Edit: I just learned that exp detach
is exactly what I was looking for. It generates project folders which can be open/built for offline use
from expo.
@hwaterke - you can also publish your app with the privacy setting "unlisted" - https://docs.getexponent.com/versions/v13.0.0/guides/configuration.html#privacy - and nobody will be able to find your app unless they know the URL (security by obscurity). At some point in the future we will also support entirely "private" apps, where you must be explicitly granted permission by the creator in order to use it, but we don't have that yet so "unlisted" is your best bet.
from expo.
I share hwaterke's request. I also discovered that I need an active connection to Exponent servers. I understand the benefit of publishing the app to earlier testers in beta phase but I would prefer a pure offline experience during development. For now, I quit using exponent because of missing offline functionality.
from expo.
Please add something in the auth CLI output about the --offline
switch, or if it could "just work" but warn about trying to go online instead of not starting.
I was bitten by this when I wanted to demo an Expo app during a design meeting, and the WiFi was spotty. I was unable to demo my app because Expo insists on logging in.
from expo.
I wanted to work on my app offline on my laptop (actually in the car on 7 hr drives). I figured out a way to do it.
http://javascriptrambling.blogspot.com/2018/03/running-expo-offline.html
I actually use this on my desktop too as it eliminates some of the firewall issues I was experiencing because of our crazy network. I now only use Expo XDE to publish.
from expo.
Related Issues (20)
- Error: The method or property expo-crypto.getRandomBytes is not available on android, are you sure you've linked all the native dependencies properly? HOT 1
- (Expo Router 3.5.2) - Wrapping route in Slot/Stack layout causes params to be undefined HOT 1
- can't copy object JS Debugger (DevTools) on SDK 50 HOT 5
- [Android][SDK 50] expo-camera/next causes freeze on render for specific OnePlus Device model HOT 1
- New expo and react native project events do not work HOT 2
- its telling me that i cant run the expo app on web because i have not yet installed the web dependencies HOT 1
- Cannot read property 'useMemo' of null HOT 20
- [SDK51/router 3.5.3] Href prop on Link not typed HOT 2
- expo-build-properties doesn't set iOS deployment target correctly. HOT 1
- expo-build-properties doesn't set iOS deployment target correctly. HOT 2
- Expo font not working HOT 1
- build error (in target 'EXUpdates' from project 'Pods') HOT 1
- [docs] @example tags are not rendered correctly HOT 1
- expo-image-picker doesn't return the cancel event on Web HOT 1
- Cannot build for iOS 17.4 with JSC - Expo 51 Beta HOT 4
- [SDK 51 beta] Build failing when not using Expo CLI integration in bare app HOT 10
- Cannot build when including react-native-skia with SDK 51 beta HOT 4
- Issue when running yarn test - Expo SDK 51 HOT 1
- [Expo 51](android) missing concurrentRoot from initialProps on bare react-native workflow HOT 2
- "Authenticate" header in the biometric authentication dialog on Android is not localized HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from expo.