local notification icon display phonegap default robot


hi

 

initially works fine used local notification function below doesn't work.  display default robot phonegap icon.  because latest update of phonegap has different syntax?  icon.png in root directory 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" }

});

i never tried myself, but...

 

the plugin's documentation inconsistent. in samples, use 'file://icon...." icon. however, in section 4 describes api, say: use 'res://icon...'

04. scheduling · katzer/cordova-plugin-local-notifications wiki · github

so, might try latter.



More discussions in PhoneGap


adobe

Comments

Popular posts from this blog

Why is os_ViewContainer running?

ai Files

"Bad allocation while creating disk aligned video frame" (RAM issue?)