News for hackers. Stuff that matters.
Re:Expo – open-source platform for making universal apps for... by vladev on Wednesday July 26, 2023 @03:31AM (#36874194)
You can use the `--local` flag to build on your own computer/CI/VPS. `eas build --local -p ios --profile production` can locally build you an iOS bundle. Don't expect it to work out of the box, though. Your machine should have all the XCode tooling correctly installed and configured. Works for Android as well.
Re:Expo – open-source platform for making universal apps for... by paradite on Wednesday July 26, 2023 @03:40AM (#36874261)
Thanks. I wasn't aware that eas build works locally as well (since they deprecated expo build).

Is the build job also open source somehow?

Re:Expo – open-source platform for making universal apps for... by qazxcvbnm on Wednesday July 26, 2023 @05:01AM (#36874850)
Re:Expo – open-source platform for making universal apps for... by paradite on Wednesday July 26, 2023 @08:45AM (#36876735)
Thank you very much and I'm glad you were able to get it working without the cloud stuff.
Re:Expo – open-source platform for making universal apps for... by Cthulhu_ on Wednesday July 26, 2023 @03:36AM (#36874220)
> Your machine should have all the XCode tooling correctly installed and configured. Works for Android as well.

I mean that's the case for the 'regular' React Native workflow as well, and most mobile / crossplatform development. That said, yeah getting RN running is a bit more effort compared to Expo, but it allows for a bit more flexibility.

We decided against using Expo because we had a number of 3rd party dependencies (trackers, analytics, chat, sigh) that had native components; it can work with Expo, but the dependency has to implement support for it, and that was a bit all over the place.

Re:Expo – open-source platform for making universal apps for... by artdigital on Wednesday July 26, 2023 @05:07AM (#36874883)
AFAIK using -—local still requires an eas account though.
Re:Expo – open-source platform for making universal apps for... by petecoop on Wednesday July 26, 2023 @05:21AM (#36874972)
I believe it still uses EAS for certificates by default. You can use "prebuild" to get the ios / android directories. Alternatively start a React Native app and install their modules separately. These options still work well but require a lot more setup.
Re:Expo – open-source platform for making universal apps for... by qazxcvbnm on Wednesday July 26, 2023 @05:13AM (#36874929)
It does. It's possible to make a patchset that lifts this restriction, though. If you're interested, I'd be willing to make it available.
Re:Expo – open-source platform for making universal apps for... by benterix on Wednesday July 26, 2023 @05:56AM (#36875185)
Just to make sure: if the company goes bankrupt, will I be able to continue releasing updates etc.?
Re:Expo – open-source platform for making universal apps for... by jameside on Thursday July 27, 2023 @02:19PM (#36897971)
The Expo Updates protocol is an open standard specified here https://docs.expo.dev/technical-specs/expo-updates-1/

The hosted services offered by the Expo team called EAS has an implementation of an updates server that conforms to that protocol. If EAS went away or you wanted not to use EAS, you could write and operate your own server that conforms to the protocol instead.

Re:Expo – open-source platform for making universal apps for... by qazxcvbnm on Wednesday July 26, 2023 @06:01AM (#36875211)
The Expo setup that I use never calls into Expo servers at build time. For OTA updates, I've managed to get my self-hosted Expo update server working too, although I'm not using it at the moment, as its incompatible with the React Native New Architecture (it's the last expo package to lack this support - hopefully they'll add it soon).
Re:Expo – open-source platform for making universal apps for... by psnehanshu on Wednesday July 26, 2023 @08:14AM (#36876378)
Do you have the self hosted OTA open-sourced? I tried implementating it, but it didn't work for some reason.
Re:Expo – open-source platform for making universal apps for... by qazxcvbnm on Wednesday July 26, 2023 @08:40AM (#36876673)
Unfortunately my update server contains a bit more stuff which I'm not planning to clean up at the moment, but the logic of the update server really is taken right from their https://github.com/expo/custom-expo-updates-server repo. Perhaps you were blocked by this https://github.com/expo/custom-expo-updates-server/issues/12 ? If so, its been fixed in the meantime, perhaps it works for you now?
Re:Expo – open-source platform for making universal apps for... by synergy20 on Wednesday July 26, 2023 @09:33AM (#36877415)
please do so, I would like to build it totally local and when I realize that outsourcing the build to the EAS cloud saves more time and money I will switch later, that sounds like a nice way to get more people use Expo.
Re:Expo – open-source platform for making universal apps for... by qazxcvbnm on Wednesday July 26, 2023 @09:39AM (#36877505)
I've put a link to it on my other comment. Hope it helps.