TypeError: Cannot read property 'setJSMaterials' of null
Hi @adelarsq, @bilewinters, @oitoito, @schiller-manuel, and @alexttyip,
I've used the latest version of this package along with the latest version of React Native, yet I'm encountering this error. Could you please advise on how I can resolve it?
Hey @ramangupta1602. Right now @doranteseduardo is working on the library's maintaince. I haven't worked on the project for a while.
@doranteseduardo Can you take a look on that?
update? did u fix it?
add this to your app.json or app.config.json :
"plugins": ["@reactvision/react-viro"],
After adding the plugin to app.json, don't forget to prebuild before running the app. I faced this error too, the reason why you see it is that viro library is not being linked properly to your app at build time. The prebuild step is npx expo prebuild --clean