Does 'react-native-sqlite-storage' work with expo or it is compulsory to use expo-sqlite. I am trying to create an app which heavily depends on a database but for some reason 'react-native-sqlite-storage' shows me two error,
ERROR TypeError: Cannot convert null value to object, js engine: hermes
and
ERROR Invariant Violation: "main" has not been registered. This can happen if:
AppRegistry.registerComponent wasn't called., js engine: hermesFurthermore, there seems to be very little information regarding this error online and that's when I found out about expo-sqlite.
You can use expo-sqlite (https://docs.expo.dev/versions/latest/sdk/sqlite/)
Using react-native-sqlite-storage seems to be not an good idea:
Technically you can use the module by building your own expo client or eject the app but you should not do that if it isn‘t really necessary.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With