[Offline Apps] Offline component breaks native plugin loader?

Forge Component
Published on 2015-11-19 by Labs
26 votes
Published on 2015-11-19 by Labs


In my application I'm using cordova plugin for local notifications https://github.com/katzer/cordova-plugin-local-notifications and it is working fine but when on page is present offline component I have this error: Uncaught ReferenceError: CDVNotification_handleClickEvent is not defined 

on page i have Native plugin loader web block and a script that runs on device ready 

SyntaxEditor Code Snippet

document.addEventListener('deviceready', function () {
                function (notification) {  .....

script with "missing" function is present on page sources 

So my question is are offline component use some specific logic that can conflict with cordova plugins? Or how can I debug it? 

On other page I have built in plugins for camera access and offline components and all is working fine. 

Thank you for any suggestion and help.