0
votes

I am using Local Notification Plugin for andriod using PhoneGap Build,but its not working .

Here is my code

Config.xml:

            <gap:plugin name="de.appplant.cordova.plugin.local-notification" />

and in Javascript:

           <script type="text/javascript">
        document.addEventListener("deviceready", onDeviceReady, false);


        // device APIs are available
        //
        function onDeviceReady() {
            window.plugin.notification.local.add({ message: 'Great app!' });
        }
  </script>

it is not showing any notification. Please help me how to integrate 3rd party plugins for Andriod using phoneGap Build.

1
Did you include the js lib for you local notification plugin? Is there any errors? - Morten OC
yes included js file like <script src="js/local-notification.js" type="text/javascript"></script> - user3350067
3rd party plugins not working . please help me how to integrate . - user3350067
If you are using PhoneGap Build, you definitely shouldn't include the js file in your project. And don't reference it anywhere in your JS/HTML. You only need to put the plugin in your config.xml. - markj

1 Answers

0
votes

Use Git Link

Add Plugins in Src folder and give exact path in in xml.

Or else refer plugins.xml from above git code.