Cordova_not_available ionic 3

I’m getting this error on almost all native calls, I’ve re-created the subject and the error persists

ex:
this.browserTab.isAvailable().then((isAvailable: boolean) => {
if (isAvailable) {
this.browserTab.openUrl(‘https://play.google.com/store/apps/detailsid’);
}
}).catch(err => {
alert(err)
});

Where and how are you testing this?
It won’t work on desktopbrowsers because cordova isn’t supported over there.

tested on an Android device

Deployed as an android app or just opening it in a browser on an android device?

The problem was corrupted files