Re:Expo – open-source platform for making universal apps for...
by asdev on Wednesday July 26, 2023 @12:08AM
(#36872974)
works until you need to use a native library that hasn't been ported for Expo, then you need to eject. I would only consider Expo for POC/MVP
[ Parent
| on HN ]
Re:Expo – open-source platform for making universal apps for...
by jeppester on Wednesday July 26, 2023 @12:34AM
(#36873135)
This was my main criticism as well, but not anymore.
With the "prebuild" workflow you can regenerate your iOS and Android projects anytime you need. And set up scripts for adding external libraries in the process.
It is more work to set up over just altering the native projects, but the result is rather nice.
I've never felt 100% confident that react native project folders wouldn't break for arbitrary reasons. Being able to so easily start over is very useful.
Re:Expo – open-source platform for making universal apps for...
by jameside on Wednesday July 26, 2023 @01:15PM
(#36881221)
We also call this idea "continuous native generation". So glad to hear it is working well for you!
Re:Expo – open-source platform for making universal apps for...
by andridk on Wednesday July 26, 2023 @12:11AM
(#36872988)
Not true anymore. You can use their build service (EAS) to create app and dev client for custom libraries without ejecting
Re:Expo – open-source platform for making universal apps for...
by jacobp100 on Wednesday July 26, 2023 @07:00AM
(#36875633)
What if you need to do configuration in Xcode?
Re:Expo – open-source platform for making universal apps for...
by darcien on Wednesday July 26, 2023 @08:25AM
(#36876488)
I believe you could do it by writing a config plugin[1] that will apply the desired config changes to the native project files.
Expo will apply the config from plugins when they are building the native app for you.
(Disclaimer: I use Expo at work for cross-platform app including web but never wrote my own plugins)
Re:Expo – open-source platform for making universal apps for...
by conradfr on Wednesday July 26, 2023 @02:28AM
(#36873792)
At my last job last year there was many React Native libs (I remember Firebase) our front-end dev couldn't use "because of Expo".
Re:Expo – open-source platform for making universal apps for...
by techterrier on Wednesday July 26, 2023 @02:34AM
(#36873827)
No longer true.
Re:Expo – open-source platform for making universal apps for...
by clawoo on Wednesday July 26, 2023 @05:13AM
(#36874926)
What does eject mean in this context?
Re:Expo – open-source platform for making universal apps for...
by s_dev on Wednesday July 26, 2023 @05:23AM
(#36874986)
Ejecting means turning the project in to a native project i.e. one that can be opened and edited with Xcode or Android Studio.
This is in contrast to an IPA or AAB file which can be deployed to a device or distributed to an App Store.