expo: Publishing does not work
๐ Bug Report
Environment
Expo CLI 3.17.21 environment info:
System:
OS: Windows 10 10.0.18362
Binaries:
Node: 12.16.2 - C:\Program Files\nodejs\node.EXE
npm: 6.14.4 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version 3.5.0.0 AI-191.8026.42.35.6010548
npmPackages:
expo: ~36.0.0 => 36.0.2
react: ~16.9.0 => 16.9.0
react-native: https://github.com/expo/react-native/archive/sdk-36.0.0.tar.gz => 0.61.4
react-navigation: ^4.2.2 => 4.3.7
App target, iOS, Android, ExpoKit
Steps to Reproduce
I tried running expo publish
in a brand new project and the CLI says it all went ok, but when I try to load the app from the URL provided by the CLI https://exp.host/@rcollao/rctest the app will not load either on iOS (iPhone XR and iPhone 11 running v13.3.1) nor on a Samsung Galaxy J7 Android V 6.0.1
This is the output of the CLI
PS D:\> expo publish
Publishing to channel 'default'...
Building iOS bundle
Building Android bundle
Analyzing assets
Uploading assets
No assets changed, skipped.
Processing asset bundle patterns:
- D:\**\*
Uploading JavaScript bundles
Published
Your URL is
https://exp.host/@rcollao/rctest
The expo client app shows the following when trying to load the app:
exp://exp.host/@user/APP_NAME
Could not load exp://exp.host/@user.APP_NAME
Expected Behavior
My understanding is that the app should be published and I should be able to load it using Expo Client by scanning the QR on the URL.
Actual Behavior
Expo Client will not load the app.
Reproducible Demo
Just creating A brand new app using expo cli, running it npm start
and expo publish
should reproduce the problem.
Here is a sample repo just in case:
https://github.com/collaorodrigo7/expo-publish-fail
Expo is a great tool, but it is a bit frustrating not to be able to use this cool feature. Also, I was not sure whether I should report this here, or to the expo CLI repo. (I reported it on CLI, even though it does not look like itโs coming from there to me https://github.com/expo/expo-cli/issues/1854 )
Hope this explanation makes sense.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 21 (9 by maintainers)
Closing for inactivity
Same problem here.
@collaorodrigo7 are you still having issues viewing a project in the expo client?
Also in case it helps, if you run the app locally with Expo client and. Then on that same phone you go to the published version it will seem like itโs working. But if you try any other phone or clear all data of expo client app it wonโt work. (So Iโm guessing itโs just cashing it on that other phone)
I have the latest available in the stores. For iOS 2.15.2.108043 and 2.15 for android.
The problem is only with the published version of the apps it is not a problem in local network and development.