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)
- The build crashes after the expo 50 update HOT 1
- The build crashes after the expo 50 update HOT 1
- [expo-sqlite] Error: Call to function 'NativeDatabase.prepareAsync' has been rejected. Caused by: java.lang.NullPointerException: java.lang.NullPointerException] HOT 8
- TypeError: body used already for: https://api.expo.dev/v2/auth/loginAsync when using npx expo login HOT 4
- [expo-image] Animated images don't animate at small sizes
- expo-sensors barometer not working since ios 17.4 HOT 1
- expo-sensors Barometer not working since iOS 17.4 HOT 2
- Creating a Native Module is failing at "Prebuilding the example app" step (MacOS)(Linux) HOT 5
- app.config.ts value is IGNORED: googleServicesFile's value is different than what i pass on app.config.ts HOT 2
- Expo Router - Nested routes (Tabs inside Drawer) working on iOS but not Android HOT 1
- Drawer position is not correct in Expo 49 HOT 1
- Pressing TextInput Inside Modal Crashes App (Expo File-Based Router) HOT 3
- Expo crash without any log when submitting images to firebase with Expo Image Picker HOT 1
- Using CameraView in the Android emulator should cause the app to crash HOT 2
- [expo-modules][SDK51] build error with `useFrameworks` and new architecture enabled HOT 2
- [expo-camera] Not reading Barcode on DevBuild but works fine on Expo Go HOT 5
- [expo-modules] IOS Native Module View - AsyncFunction generates error "The 1st argument cannot be cast to type View<FooView>". HOT 1
- iOS 17.4.1 , WebBrowser error: Calling the 'openAuthSessionAsync' function has failed Caused by: Another web browser is already open HOT 1
- WebBrowser.openAuthSessionAsync does not show the browser with the url HOT 1
- WebBrowser.openAuthSessionAsync called after LocalAuthentication.authenticateAsync does not return on iOS 17.4.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.