2 Replies Latest reply on Aug 25, 2016 5:48 AM by dinhl75813859

    local notification icon display phonegap default robot

    dinhl75813859 Level 1

      Hi

       

      Initially everything works fine i used the local notification function below but suddenly now it doesn't work.  It display the default robot phonegap icon.  is it because the latest update of phonegap has a different syntax?  The icon.png is in the root directory where index.html file is.

       

      cordova.plugins.notification.local.schedule({

        id: 1,

        title: "Production Jour fixe",

        text: "Duration 1h",

        firstAt: monday_9_am,

        every: "week",

        sound: "file://sounds/reminder.mp3",

      icon: file://icon.png,

        data: { meetingId:"123#fg8" }

      });