Loading README.md +5 −4 Changes for README.md: 5 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -49,10 +49,6 @@ window.plugin.notification.local.add({ 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 }); ``` **Android:** The `message` property can be devided into *title* and *subtitle* section: ```javascript message: "Title\r\nSubtitle comes after linebreak" ``` ### cancel() The method cancels a notification which was previously added. It takes the ID of the notification as an argument. Loading Loading @@ -87,3 +83,8 @@ function background (id) { console.log('I WAS IN THE BACKGROUND ID='+id) } ``` **Android:** The `message` property can be devided into *title* and *subtitle* section: ```javascript message: "Title\r\nSubtitle comes after linebreak" ``` Loading
README.md +5 −4 Changes for README.md: 5 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -49,10 +49,6 @@ window.plugin.notification.local.add({ 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 }); ``` **Android:** The `message` property can be devided into *title* and *subtitle* section: ```javascript message: "Title\r\nSubtitle comes after linebreak" ``` ### cancel() The method cancels a notification which was previously added. It takes the ID of the notification as an argument. Loading Loading @@ -87,3 +83,8 @@ function background (id) { console.log('I WAS IN THE BACKGROUND ID='+id) } ``` **Android:** The `message` property can be devided into *title* and *subtitle* section: ```javascript message: "Title\r\nSubtitle comes after linebreak" ```