Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cordova-plugin-local-notifications
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nabil Sadki
cordova-plugin-local-notifications
Commits
71e71809
Commit
71e71809
authored
Nov 23, 2013
by
Sebastián Katzer
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:katzer/cordova-plugin-local-notifications
parents
f906c0d1
2817a14c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletions
+15
-1
README.md
README.md
+15
-1
No files found.
README.md
View file @
71e71809
...
@@ -17,6 +17,11 @@ See [Local notifications for Windows Phone](http://msdn.microsoft.com/en-us/libr
...
@@ -17,6 +17,11 @@ See [Local notifications for Windows Phone](http://msdn.microsoft.com/en-us/libr
<br>
*Windows Phone 8.0 has no notification center. Instead local notifications are realized through live tiles updates.*
<br>
*Windows Phone 8.0 has no notification center. Instead local notifications are realized through live tiles updates.*
## Dependencies
Cordova will check all dependencies and install them if they are missing.
-
[
org.apache.cordova.device
](
https://github.com/apache/cordova-plugin-device
)
*(since v0.6.0)*
## Adding the Plugin to your project
## Adding the Plugin to your project
Through the
[
Command-line Interface
](
http://cordova.apache.org/docs/en/3.0.0/guide_cli_index.md.html#The%20Command-line%20Interface
)
:
Through the
[
Command-line Interface
](
http://cordova.apache.org/docs/en/3.0.0/guide_cli_index.md.html#The%20Command-line%20Interface
)
:
```
```
...
@@ -127,7 +132,7 @@ window.plugin.notification.local.add({ icon: 'ic_dialog_email' });
...
@@ -127,7 +132,7 @@ window.plugin.notification.local.add({ icon: 'ic_dialog_email' });
```
```
### Notification sound under Android
### Notification sound under Android
The default sound is
`RingtoneManager.TYPE_NOTIFICATION`
. But an specific sound can be d
inf
ed through the
`sound`
property.
<br>
The default sound is
`RingtoneManager.TYPE_NOTIFICATION`
. But an specific sound can be d
efin
ed through the
`sound`
property.
<br>
The sound must be a absolute or relative Uri pointing to the sound file.
The sound must be a absolute or relative Uri pointing to the sound file.
```
javascript
```
javascript
/**
/**
...
@@ -173,3 +178,12 @@ An application can only display one notification at a time. Each time a new noti
...
@@ -173,3 +178,12 @@ An application can only display one notification at a time. Each time a new noti
### Canceling a notification under WP8
### Canceling a notification under WP8
The methods
`cancel`
and
`cancelAll`
have the same effect.
The methods
`cancel`
and
`cancelAll`
have the same effect.
## Contributing
1.
Fork it
2.
Create your feature branch (
`git checkout -b my-new-feature`
)
3.
Commit your changes (
`git commit -am 'Add some feature'`
)
4.
Push to the branch (
`git push origin my-new-feature`
)
5.
Create new Pull Request
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment