Offline map with capacitor, mapbox and mbtiles

Hi, i am trying to build an app working with offline map using mbtiles from openmaptiles and mapbox. i have followed this link : GitHub - oscarfonts/mapbox-gl-cordova-offline: Offline vector maps in Cordova using Mapbox GL JS and it was working fine with API 29 (cordova) but with API 30 (capacitor) i have this error :

ERROR Error: Uncaught (in promise): Error: cordova-sqlite-ext plugin not available. Please install the plugin and make sure this code is run after onDeviceReady event

I have used npm i cordova-sqlite-ext but i still have the same error can anybody help
this is my ionic info


Ionic CLI : 6.17.1 (C:\Users\SAH\AppData\Roaming\npm\node_modules@ionic\cli)
Ionic Framework : @ionic/angular 5.9.1
@angular-devkit/build-angular : 12.1.4
@angular-devkit/schematics : 12.1.4
@angular/cli : 12.1.4
@ionic/angular-toolkit : 4.0.0


Capacitor CLI : 3.3.2
@capacitor/android : 3.3.2
@capacitor/core : 3.3.2
@capacitor/ios : not installed


cordova-res : 0.15.3
native-run : 1.5.0


NodeJS : v14.17.6 (C:\Program Files\nodejs\node.exe)
npm : 6.14.15
OS : Windows 10