Local Notification - Error: Module cordova-plugin-local-notification.LocalNotification.Core does not exist

Hey, I’ve been testing local notification plugin on android emulador and it works fine.
When I tried to run the app on device, I get this error on console: Uncaught Error: Module cordova-plugin-local-notification.LocalNotification.Core does not exist. and the app hangs forever.

Android device: Galaxy Tab E
Android Version: 4.4.4

Ionic 3
Android SDK Target: 26

Can somebody help me figure out what is wrong?

2 Likes

Having the same issue on production build. Tried removing and reinstalling all plugins and and platform.
Still got the same errors

file:///android_asset/www/plugins/cordova-plugin-local-notification/www/local-notification-core.js: Line 72 : Uncaught SyntaxError: Unexpected identifier
"Uncaught SyntaxError: Unexpected identifier", source: file:///android_asset/www/plugins/cordova-plugin-local-notification/www/local-notification-core.js (72)
D/SystemWebChromeClient( 2044): file:///android_asset/www/plugins/cordova-plugin-local-notification/www/local-notification-util.js: Line 177 : Uncaught SyntaxError: Unexpected identifier
I/chromium( 2044): [INFO:CONSOLE(177)] "Uncaught SyntaxError: Unexpected identifier", source: file:///android_asset/www/plugins/cordova-plugin-local-notification/www/local-notification-util.js (177)
D/SystemWebChromeClient( 2044): file:///android_asset/www/cordova.js: Line 1470 : Uncaught Error: Module cordova-plugin-local-notification.LocalNotification.Core does not exist.
I/chromium( 2044): [INFO:CONSOLE(1470)] "Uncaught Error: Module cordova-plugin-local-notification.LocalNotification.Core does not exist.", source: file:///android_asset/www/cordova.js (1470)