[
https://issues.apache.org/jira/browse/CB-589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263174#comment-13263174
]
Jesse MacFadyen commented on CB-589:
------------------------------------
iOS + Android are returning index + 1
Android can only display 3 buttons max, others will be ignored.
iOS:
https://github.com/apache/incubator-cordova-ios/blob/master/CordovaLib/Classes/CDVNotification.m#L89
Android:
https://github.com/apache/incubator-cordova-android/blob/master/framework/src/org/apache/cordova/Notification.java#L234
> What is the return value of Notification.confirm?
> -------------------------------------------------
>
> Key: CB-589
> URL: https://issues.apache.org/jira/browse/CB-589
> Project: Apache Callback
> Issue Type: Bug
> Components: Docs
> Affects Versions: 1.6.1
> Environment:
> http://docs.phonegap.com/en/1.6.1/cordova_notification_notification.md.html#notification.confirm
> Reporter: Jesse MacFadyen
> Assignee: Michael Brooks
>
> The sample code demonstrates that the confirm callback is called with a
> 'button' param, but does not specify the type of the return value, or what it
> means.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira