Im using the Capacitor community sqlite plugin and it was working all along. I added a few more pages to my Ionic app and build the app again and this error started. Im getting this error in the Android Studio IDE when i run the app
I was expecting the app would run as usual
CodePudding user response:
CapacitorSQLPlugin: Protocol message contained in invalid tag (zero)
I have the same problem. But it doesn't happen to me on all devices. In virtual machines it seems to work fine (Pixel 3). On an OPPO Android 12 physical phone, the error occurs. On a CAT phone with android 11 it worked fine too.
In case it may be of interest to you, I have sent an incident to capacitor-community.
https://github.com/capacitor-community/sqlite/issues
CodePudding user response:
@jepiqueau found a solution that fixed the problem: https://github.com/capacitor-community/sqlite/issues/363#issuecomment-1382907255