[
https://issues.apache.org/jira/browse/CB-8947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14530099#comment-14530099
]
Dennis Patzer commented on CB-8947:
-----------------------------------
The crash log can be seen here: CB-8938. I thought, the problem was the
geolocation plugin at first.
I use the notification plugin's alert function (which is why assigned the
dialogs component ;)):
// notifications
if (navigator.notification) {
window.alert = function (message) {
// second one is callback
navigator.notification.alert(message,
null, 'App', 'OK');
};
window.confirm = function (message, callback,
title, buttons) {
// second one is callback
navigator.notification.confirm(message,
callback, 'App', buttons);
};
}
> alert() crashes when passing a JSON object on iOS
> -------------------------------------------------
>
> Key: CB-8947
> URL: https://issues.apache.org/jira/browse/CB-8947
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Dialogs
> Affects Versions: 4.0.0
> Environment: Notifications Plugin version 0.3.0
> Reporter: Dennis Patzer
> Priority: Critical
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> In the error handler of a geolocation retrieval I had alert(error); which
> crashes, because I passed an object into the function call. This shouldn't
> happen.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]