[
https://issues.apache.org/jira/browse/CB-8947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15398339#comment-15398339
]
ASF GitHub Bot commented on CB-8947:
------------------------------------
Github user don commented on the issue:
https://github.com/apache/cordova-plugin-dialogs/pull/80
@jcesarmobile passing strings as the message is the *right* thing to do,
IMO. My main goal was to stop iOS from crashing when the user sent bad data. I
think the documentation should still recommend String.
I just left the "Prompt message" default since that one didn't crash. I'll
update that one to match the others.
> 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: Minor
> 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]