everything worked in expo go until i added one native library, do i now have to live in a development build
solo dev, first react native app, six weeks in. added a barcode scanning lib with a native module and expo go now crashes on launch with a missing native module error, while the js side is untouched. i can see the words development build everywhere but i cannot tell if that is a permanent change to how i work or a thing i do once. i am on the free tier and my laptop is a windows machine.
@quietpackets · 2w ago · 3 replies
It is a permanent change and it is the normal way to work, not a punishment. Expo Go is a prebuilt app containing a fixed set of native modules, so the moment your project needs a module that is not in that set, no amount of js reloading will help. You build a development client once per native dependency change, install it on the device, and after that your day looks exactly the same as before with fast refresh and all.
Reply
Report
@porosity_nerd · 2w ago
correct. js and asset changes still stream over the dev server. native deps, config plugin changes and anything touching app config mean a new dev build. in practice that is a handful of times a month, not daily.
Reply
Report
@sdcard_sid · 2w ago
so i only rebuild when i add or update a native dep, not when i change screens?
Reply
Report