Good this error is happening in the application I am reviewing, developed by another person, so far did not find something to help me. This error does not let me move forward since the screen always goes blank.
Here I leave photos of the error.
Good this error is happening in the application I am reviewing, developed by another person, so far did not find something to help me. This error does not let me move forward since the screen always goes blank.
Here I leave photos of the error.
that error is because your app uses a native plugin, so if you run ionic serve
, it will no work.
You should run ionic cordova run android --emulate
.
If you just want to test it in the web, you should check if platform is cordova (just like the answer Uncaught (in promise): cordova_not_available in Ionic 2):
if (this.platform.is('cordova')) {
// You're on a device, call the native plugins. Example:
} else {
// You're testing in browser, do nothing or mock the plugins' behaviour.
}
Hope it works!