phonegap navigator.notification.alert doesn't work

后端 未结 6 1072
时光说笑
时光说笑 2021-01-02 01:48

The title is self explanatory, I ca\'t figure out why tho.

sources: www/index.html:



    
        

        
6条回答
  •  攒了一身酷
    2021-01-02 02:37

    All that you have to do is add this feature to your project... Stand up con the phonegap project folder (not the platform folder), for example: cd MobileAplications/MyPhoneGapExample then, add the plugin (I installed cordova instead off phonegap, so I suposed if you install phonegap you have to use the "phonegap" command): cordova plugin add org.apache.cordova.dialogs

    I hope it works for you!!

    PD: If someone dont know whats the difference between the platform folder and the project folder, here is the document that can show the difference: http://docs.phonegap.com/en/3.2.0/guide_cli_index.md.html#The%20Command-Line%20Interface

提交回复
热议问题