expo: Expo Client iOS freezes on app splash screen when loading project from lan
- I updated expo cli to latest version
- Then updated expo iOS client to latest version too
- On expo cli I created new empty project and made
exp start --lan - Then I sent link to my iOS by
exp send - Then opened that link on iOS
- Expo iOS begins loading project by showing splash screen…
- And nothing happens after!
What am I doing wrong? (Windows 7 x64, iOS 11.2.5, node 8.9.1, Yarn 1.5.1)
update: all is OK on android
update 2: tested on another iOS device, same issue
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 27 (6 by maintainers)
Commits related to this issue
- Debounce loading notifications that occur immediately after a development error helps with https://github.com/expo/expo/issues/1576 fbshipit-source-id: 2f6b9e5 — committed to expo/expo by terribleben 6 years ago
- url encode bundle urls helps with https://github.com/expo/expo/issues/1576 fbshipit-source-id: 783564d — committed to expo/expo by terribleben 6 years ago
Hey everyone, please update to the newest version of
expor XDE (released less than an hour ago) and see if it fixes this issue for you.This fix should help most people, but it may not unblock the issue for everyone. If you have tried updating to the newest exp and are still seeing the same issue, please post here with as much information as you can.
Update: If you’re still experiencing the issue, make sure you have our latest build (2.4.6 simulator, 2.4.7 app store) and try again. At the minimum, you should get a better error message.
Hey all, I’ve succeeded in reproducing the error. Here’s what’s going on:
For
#1, one possible cause is if the path to your project contains spaces. We found a bug where we are not properly encoding paths with spaces (sorry) and this leads to#1happening.So, for some people reading this issue, you may be unblocked by using a project path with no spaces, and making sure the packager doesn’t display any errors when it starts.
However, there could be other causes of
#1, so that advice won’t work for everyone. I’m working on a fix for both#1and#2right now.Update: See the next reply below
Got it working!
XDE asked to upgrade to the latest version. I did that, removed my node_modules dir and re-ran npm install again. Opened my project in XDE, restarted the project. I’m now able to load over LAN on iphone and ipad in the new client!
How to solve the problem of how to start my project without QR? I don’t know where I can enter the address
The issue seems to be the iOS app for me. With two iOS devices, one running expo app released yesterday, and one running the previous version (still has the scanner), I am able to open my app with the previous version of expo but not the new one, which gets stuck at my app’s splash screen.
I had the same issue with new Expo v26.0.0. I solved it by removing all the spaces in path of my project like: ~/New Project/new-project to ~/New_Project/new-project