Issues with Expo detached build

#1

I had to detach application form expo in-order to implement onesignal and background processes which was quite intimidating. I am having hard time building apk and running in different devices at the moment.

I ran exp start in command line and run application in emulator which worked.
Then I installed debug apk in some devices and try to run I will get following error .
Packager not running at http://192.168.98.43:19001
Then I stop and start exp project again and installed app in mobile works now but emulator start to show same error again.

Can some one please guide me through the process of building apk which will work easily in testing devices without needing to start project in terminal again and again. What will be the appropriate way to send test app to client and deployment following with Expokit starndards?

much appreciate your feedback,
Thanks

#2

Hi @surajmaharjan! Urls that look like http://192.168.98.43:19001 will only work if your phone and computer are on the same wifi network. You can try running exp start with the --tunnel flag so that it’s not as dependent on your local network configuration. Make sure that you run exp start --tunnel before building the Android project.

#3

Hi @jesse, thanks for the response. I certainly figure out that but my problem was it stops listening once I switch between emulator and device. I end up with blue scree again with message for that I need to stop and start exp start.

#4

Can you explain exactly what steps you are doing?

#5

Sometime uninstall application and running again works but it’s quite frustrating experience to go through all to just run and test application.


#6

I’m sorry it’s frustrating, but I still don’t know exactly what steps you are taking.

1 Like
#7

No worries @jesse. Sometimes it quite frustrating but mostly it works now. Thanks for your support.

closed #8

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.