What is the difference between expo prebuild and expo eject?

Viewed 736

I am in need of a more sophisticated notifications api/server. My app depends heavily on notifications and expo doesn't have much notification feature except the basic ones. I want to use an open source library called Notifee. But they tell me to prebuild my expo app in order to use it. Is prebuilding the same as ejecting?

1 Answers

Notifee library depends on the native modules which are not working with the standard Expo Go App development environment.

Before Expo SDK 42, It was required to eject to be able to add native modules. Starting with Expo SDK 42, you can add native modules without Ejecting.

To compile native modules, Expo provides the option to compile your custom Expo Go app with your custom native module ( Notifee) embedded.

With Expo Go Custom App, you still have same Expo Developer experience as the norm with the extra capabilities to add any custom library.

You can refer to this video where Expo Founder shows the process to compile a custom Expo App with native modules embedded - https://www.youtube.com/watch?v=id0Im72UN6w&t=25s

Related