Need help window.opendatabase script not run on pie

I create mobile apk from framework7 ver 3.x and cordova @latest, The problem is the application runs normally on Android Kitkat - Oreo, but does not respond on Android 9-10

I traced the point of the problem is in this code, if this code I do not use, the application runs normally on the latest android version, is there anyone who can help for the solution

// CEK LOGIN
var db = window.openDatabase(“login”,“1.0”,“Login”,10000);
db.transaction(queryData, onError);

function queryData(tx) {
tx.executeSql(‘SELECT * FROM memberlogin’, [], onSuccess, onError);
}

function onSuccess(tx, result) {
var jml = result.rows.length;
if (jml > 0) {
app.dialog.alert(“Welcome”);
}
else {
app.router.navigate(’/login/’);
}
}

function onError(tx,err) {
app.dialog.alert(“Silahkan Login”, function() {
app.router.navigate(’/login/’);
})
}