facebook

popup alert

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #333928 Reply

    NigelShaw
    Member

    Hi

    is there a way to remove the ip address showing on a popup alert? Does this show when published as an application or is it just in preview mode?

    thanks

    Nigel

    #333961 Reply

    support-michael
    Keymaster

    Hi Nigel,

    Following are 2 phoneui.js api that can be used in apps and webapps. The app context using the phonegap notification api which does not include the app URL. When used in a webapp the implementation falls back to standard javascript alert() and confirm() dialogs with the app url. In the jsdoc ‘TC’ refers to Test Center.

    
    /**
     * shows alert and calls fnContinue then. Note: works in different
     * ways in iOS and TC. For TC it returns immediately, while for iOS
     * it returns only when user pressed OK
     * 
     * @param message Text message
     * @param fnContinue function that called when user selected button.
     * @param optionalTitle optional, title for dialog
     * @param optionalButtonLabel optional, button label
     */
    phoneui.alert(message, fnContinue, optionalTitle, optionalButtonLabel)
    
    
    /**
     * shows confirmation dialog. result comes to fnContinue. Blocks in web app, doesn't block in
     * phonegap apps
     * 
     * @param message Text message
     * @param fnContinue function that called when user selected button. Takes 1-based index of selected button
     * @param optionalTitle optional, title for dialog
     * @param optionalButtonLabel optional, string with comma-separated button labels
     */
    phoneui.confirm(message, fnContinue, optionalTitle, optionalButtonLabel) {
    
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: popup alert

You must be logged in to post in the forum log in