umbertoghio / self-hosted-expo-updates-server

MIT License
136 stars 17 forks source link

Can i use self hosted in local emulator #25

Closed Chuazz closed 1 month ago

Chuazz commented 1 month ago

i have a config to create a self hosted expo with my local emulator and have following error

I don't have enough qualifications to rent a server :((

my app: https://github.com/Chuazz/phone-book-for-old-man my clone server: https://github.com/Chuazz/self-host-expo-clone

image

umbertoghio commented 1 month ago

Hello, never seen this error, are you running a production .apk file on the emulator? it is not supposed to work in development. About the server URL, it may need to be in https, so that is another thing to check

Chuazz commented 1 month ago

i also try it on real device, i think my problem is server URL

umbertoghio commented 1 month ago

looks like, maybe you can get a domain, point it to your public ip address and then use let's encrypt?

Chuazz commented 1 month ago

i just rent a domain then get same error with #26 @umbertoghio

like i see, mongo doesn't understand environment: