My Ionic version was 4.9.0 + some other plugins + sqlite and everything was ok.
Now today I’ve updated ionic to 4.12.0 and I get the error message:
“Native: tried accessing the SQLite plugin but it’s not installed.” although the plugin is already installed.
I’ve done this so far to solve the problem but this hasn’t helped.
uninstall sqlite and install again
uninstall android platform and install again
downgrade ionic to 4.9.0 and then step 1 and step 2
What I could find out was, that this problem is apparently only on Android phones with Android 8.1 and Android 9.
But still couldn’t find any solution for that
After uninstalling and installing the plugin and android platform in different version etc… which didn’t help.
I figured out that the device ready in app.component.ts is apparently not enough to make sure that the device is “really” ready. since I use the database as a service I had to put the device ready stuff in my service constructor and now it works.