You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I've seen a few errors coming in from my app, I haven't been able to recreate it yet but I was wondering if I could submit a patch which checks if the handler object exists before calling it?
I've included a stack trace below:
\"onCommand@file:///var/containers/Bundle/Application/ID/app/www/plugins/cordova-plugin-remotecommand/www/RemoteCommand.js:75:45\\ncallbackFromNative@file:///var/containers/Bundle/Application/ID/app/www/cordova.js:293:63\\nnc2@file:///var/containers/Bundle/Application/ID/app/www/cordova.js:1046:39\",\"message\":\"RemoteCommand.handlers[command][i].apply is not a function. (In 'RemoteCommand.handlers[command][i].apply(undefined, args)', 'RemoteCommand.handlers[command][i].apply' is undefined)\",\"name\":\"TypeError\",\"logData\":{\"msg\":\"Uncaught Exception\",\"errorMsg\":\"TypeError: RemoteCommand.handlers[command][i].apply is not a function. (In 'RemoteCommand.handlers[command][i].apply(undefined, args)', 'RemoteCommand.handlers[command][i].apply' is undefined)\",\"url\":\"file:///var/containers/Bundle/Application/ID/app/www/cordova.js\",\"line number\":314,\"column\":22}}","n":"onerrorLogger","t":1505280794007}]}"}
The text was updated successfully, but these errors were encountered:
Hey, I've seen a few errors coming in from my app, I haven't been able to recreate it yet but I was wondering if I could submit a patch which checks if the handler object exists before calling it?
I've included a stack trace below:
\"onCommand@file:///var/containers/Bundle/Application/ID/app/www/plugins/cordova-plugin-remotecommand/www/RemoteCommand.js:75:45\\ncallbackFromNative@file:///var/containers/Bundle/Application/ID/app/www/cordova.js:293:63\\nnc2@file:///var/containers/Bundle/Application/ID/app/www/cordova.js:1046:39\",\"message\":\"RemoteCommand.handlers[command][i].apply is not a function. (In 'RemoteCommand.handlers[command][i].apply(undefined, args)', 'RemoteCommand.handlers[command][i].apply' is undefined)\",\"name\":\"TypeError\",\"logData\":{\"msg\":\"Uncaught Exception\",\"errorMsg\":\"TypeError: RemoteCommand.handlers[command][i].apply is not a function. (In 'RemoteCommand.handlers[command][i].apply(undefined, args)', 'RemoteCommand.handlers[command][i].apply' is undefined)\",\"url\":\"file:///var/containers/Bundle/Application/ID/app/www/cordova.js\",\"line number\":314,\"column\":22}}","n":"onerrorLogger","t":1505280794007}]}"}
The text was updated successfully, but these errors were encountered: