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

this.browserTab.isAvailable().then((isAvailable: boolean) => {
if (isAvailable) {
}).catch(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