Open sebastianhelbig opened 6 years ago
@sebastianhelbig Please provide a code snippets that reproduces the error message.
Same error with cordova-android-6.4.0
Code is
if (window.cordova.plugins &&
window.cordova.plugins.notification &&
window.cordova.plugins.notification.badge
) {
window.cordova.plugins.notification.badge.requestPermission();
}
I solved it by using only this instead:
if (window.cordova.plugins &&
window.cordova.plugins.notification &&
window.cordova.plugins.notification.local
) {
window.cordova.plugins.notification.local.requestPermission();
}
Anyone else experienced this? Testing on emulator. (Nexus_5X_API27, Android 8.1.0)