Loading README.md +3 −5 Changes for README.md: 3 added lines, 5 removed lines. Original line number Diff line number Diff line Loading @@ -38,10 +38,10 @@ window.plugin.notification.local.add({ date: date, // this expects a date object message: message, // the message that is displayed repeat: repeat, // has the options of 'weekly','daily','monthly','yearly') badge: badge, // displays number badge to notification badge: badge, // (only iOS) displays number badge to notification foreground: forground, // a javascript function to be called if the app is running background: background, // a javascript function to be called if the app is in the background sound: sound // a sound to be played, the sound must be located in your project's resources and must be a caf file sound: sound // (only iOS) a sound to be played, the sound must be located in your project's resources and must be a caf file }); ``` Loading @@ -66,10 +66,8 @@ window.plugin.notification.local.add({ date: _60_seconds_from_now, message: 'Hello world!', repeat: 'weekly', // will fire every week on this day badge: 1, foreground: 'foreground', background: 'background', sound: 'sub.caf' background: 'background' }); function foreground (id) { Loading Loading
README.md +3 −5 Changes for README.md: 3 added lines, 5 removed lines. Original line number Diff line number Diff line Loading @@ -38,10 +38,10 @@ window.plugin.notification.local.add({ date: date, // this expects a date object message: message, // the message that is displayed repeat: repeat, // has the options of 'weekly','daily','monthly','yearly') badge: badge, // displays number badge to notification badge: badge, // (only iOS) displays number badge to notification foreground: forground, // a javascript function to be called if the app is running background: background, // a javascript function to be called if the app is in the background sound: sound // a sound to be played, the sound must be located in your project's resources and must be a caf file sound: sound // (only iOS) a sound to be played, the sound must be located in your project's resources and must be a caf file }); ``` Loading @@ -66,10 +66,8 @@ window.plugin.notification.local.add({ date: _60_seconds_from_now, message: 'Hello world!', repeat: 'weekly', // will fire every week on this day badge: 1, foreground: 'foreground', background: 'background', sound: 'sub.caf' background: 'background' }); function foreground (id) { Loading