You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by shazron <gi...@git.apache.org> on 2015/04/11 01:24:15 UTC

[GitHub] cordova-plugin-dialogs pull request: Fix CB-7734. Changed plugin t...

Github user shazron commented on the pull request:

    https://github.com/apache/cordova-plugin-dialogs/pull/39#issuecomment-91715099
  
    Unfortunately after testing, it crashes on a prompt test on iOS 8. iOS 7 it passes alert, confirm, and prompt tests.
    
    I used from the README:
    ```
    function onPrompt(results) {
        alert("You selected button number " + results.buttonIndex + " and entered " + results.input1);
    }
    
    navigator.notification.prompt(
        'Please enter your name',  // message
        onPrompt,                  // callback to invoke
        'Registration',            // title
        ['Ok','Exit'],             // buttonLabels
        'Jane Doe'                 // defaultText
    );
    ```



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org