Hello Daniel,
From a search, I found this: https://www.outsystems.com/forums/discussion/21187/invalid-call-of-the-onnotificationreceived-client-action/
Could you test if the code provided by Carlos Simões works for you?You can put the code in a JavaScript in the screen OnDestroy.
var listeners = ["trigger", "click"]; listeners.forEach(function(event){ var callbacks = cordova.plugins.notification.local.core._listener[event]; callbacks.forEach(function(callback){ cordova.plugins.notification.local.un(event, callback); }); });
Let me know if it works for you, please.
Cheers, Eduardo Jauch
Eduardo Jauch wrote:
I haven't had a chance to test this yet but thank you for digging it up. We are receiving similar errors on various other callbacks, and I'm assuming it is because the user has navigated away from the page before the callback is fired.
Not that big of a deal except that it dirties up the error log :)
I will test this as soon as I can.