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
84267c09
Commit
84267c09
authored
Dec 29, 2015
by
Sebastián Katzer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #612 cannot update icon or sound
parent
0fee1447
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
CHANGELOG.md
CHANGELOG.md
+1
-0
Manager.java
src/android/notification/Manager.java
+1
-1
Options.java
src/android/notification/Options.java
+1
-1
No files found.
CHANGELOG.md
View file @
84267c09
...
...
@@ -11,6 +11,7 @@ Please also read the [Upgrade Guide](https://github.com/katzer/cordova-plugin-lo
-
Fixed #732 loop between update and trigger (Android)
-
Fixed #710 crash due to >500 notifications (Android)
-
Fixed #682 crash while resuming app from notification (Android 6)
-
Fixed #612 cannot update icon or sound (Android)
-
Fixed crashing
`get(ID)`
if notification doesn't exist
#### Version 0.8.2 (08.11.2015)
...
...
src/android/notification/Manager.java
View file @
84267c09
...
...
@@ -120,7 +120,7 @@ public class Manager {
notification
.
getOptions
().
getDict
(),
updates
);
try
{
options
.
put
Opt
(
"updated"
,
true
);
options
.
put
(
"updated"
,
true
);
}
catch
(
JSONException
ignore
)
{}
return
schedule
(
options
,
receiver
);
...
...
src/android/notification/Options.java
View file @
84267c09
...
...
@@ -129,7 +129,7 @@ public class Options {
*/
private
void
parseAssets
()
{
if
(
options
.
has
(
"iconUri"
))
if
(
options
.
has
(
"iconUri"
)
&&
!
options
.
optBoolean
(
"updated"
)
)
return
;
Uri
iconUri
=
assets
.
parse
(
options
.
optString
(
"icon"
,
"icon"
));
...
...
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