Hi, I'm trying to add sqlite support to my Android app but am getting the following error:
Requiring unknown module "493".If you are sure the module is there, try restarting Metro Bundler. You may also want to run yarn, or npm install (depending on your environment).
unknownModuleError
The error message doesn't say what the "unknownModule" is but this happened only after I added sqlite. I see the react-native-sqlite-storage package in the android studio project and the project builds with no errors so I suspect the apk isn't correct since I get the above error at runtime. (I'm running on a virtual tablet) Any ideas much apprectiated
Ok. Found it. You really do need to restart the Metro Bundler after making changes to native code. E.g. adding the SQLLite reference