Nathan Kerr
32de5cb848
Add Android-specific options
...
Now the app can:
-Set the channel name and description
-Set the notification subtext
-Add a "Close" action to the notification, along with customizing the action text and icon
Fixed bugs:
-Icon is never used if it's in "drawable" rather than "mipmap"
-Used "Compat" library to make backwards compatibility easier
2019-02-04 11:18:34 -08:00
Marco Sirini
b5950b578d
Added notification support for Android 8 ( #389 )
...
* Added notification support for Android 8
Channel ID for notification
* Update ForegroundService.java
* Delete ForegroundService.java
* Update ForegroundService.java
* SetImportance
Add setImportance when SDK >= 26
* SetImportance
rm SetImportance
* Update README.md
* Revert "SetImportance"
This reverts commit 9535246bf3c32bb57f91f61ea82698600ff94f31.
* Revert "SetImportance"
This reverts commit 6f5e5e8bc3fc2dff7d0abcea901df12d8516f800.
* Revert "Update README.md"
This reverts commit 65c69077ab948193147627319a6266c765822831.
* Update README.md
* Revert "Update README.md"
This reverts commit 9cbe65e7da02c36b0de7039597f5b9a472edd19e.
2019-01-31 18:26:29 +01:00
Dimitrios Matanis
a2352f5d8b
service stuck on swipe away fix ( #304 )
2018-01-09 20:51:50 +01:00
Stephan Kristyn
7285bec9e0
fix for fatal crash on app open ( #315 )
...
* bugfix for WKWebViewEngine app crash
* fixing package.json
* fixing package.json
* reverting package.json for pull request
* reverting package.json for pull request
2018-01-09 20:47:49 +01:00
Soramister
e939b13738
Compatibility with homerours/cordova-music-controls-plugin plugin on iOS devices ( #274 )
...
* Update plugin.xml
* Update APPBackgroundMode.m
2018-01-09 20:46:33 +01:00
steedems
e9f072210e
android: remove singleInstance launchMode, add SINGLE and CLEAR TOP flags to the intent ( #290 )
2017-06-14 22:00:38 +02:00
Sebastián Katzer
110ec9d024
Additional improvements of method configure
2017-02-10 20:52:42 +01:00
Sebastián Katzer
0f94708c7a
Add wakeUp and unlock functions
2017-02-10 13:10:46 +01:00
Sebastián Katzer
ff9f06382f
Fix too many function arguments
2017-02-07 09:12:04 +01:00
Sebastián Katzer
a9300a43ae
Muting ABC issues [ci skip]
2017-02-07 08:53:15 +01:00
Sebastián Katzer
ece9aac833
Stop service as first in onDestroy, then call super
2017-02-06 16:10:26 +01:00
Sebastián Katzer
131df973fb
Detect screen status
2017-02-06 16:09:28 +01:00
Sebastián Katzer
8064b8853f
Avoid refrections
2017-02-06 13:35:04 +01:00
Sebastián Katzer
b7a911a974
Fix app freeze on iOS using wkwebview-engine
2017-02-02 15:22:12 +01:00
Sebastián Katzer
2801364ed8
Avoid reflections
2017-02-02 13:05:43 +01:00
Sebastián Katzer
4cd3302853
More code refactoring
2017-01-30 12:05:25 +01:00
Sebastián Katzer
96efffb319
Code refactoring
2017-01-30 11:36:10 +01:00
Sebastián Katzer
d132215100
Fix invalid string format
2017-01-30 09:41:45 +01:00
Sebastián Katzer
891fa51cb2
Fix threading issue on iOS9
2017-01-30 09:19:15 +01:00
Sebastián Katzer
18fc64fddb
Allow app from being excluded from recent list
2017-01-29 11:19:08 +01:00
Sebastián Katzer
b1e2080a1d
Fire failure event on service disconnected
2017-01-27 16:50:20 +01:00
Sebastián Katzer
17fbc6981d
Remove unused constant kAPPBackgroundEventFailure
2017-01-27 16:47:52 +01:00
Sebastián Katzer
0db148518e
Add support for the browser platform
2017-01-27 12:30:52 +01:00
Sebastián Katzer
5bc07f17fb
Add hidden flag - Fixes #224
2017-01-26 14:45:01 +01:00
Sebastián Katzer
e4ae47505b
Move default values to constants
2017-01-23 10:12:42 +01:00
Sebastián Katzer
096d2b2557
Support windows platform - requires windows 10.14393 or newer
2017-01-21 18:00:10 +01:00
Sebastián Katzer
ca3530d232
Prefer setProperty over the private setter
2017-01-19 10:09:17 +01:00
Sebastián Katzer
d7dd8a913c
Decode private method name
2017-01-18 18:14:30 +01:00
Sebastián Katzer
e25beda8c9
With webkit the plugin is enabled by default without the need to play audio
2017-01-18 18:00:57 +01:00
Sebastián Katzer
4764ffe14c
Fix find&replace issue
2017-01-18 17:11:46 +01:00
Sebastián Katzer
82cfbabbab
Remove wp8 and comment out windows platform
2017-01-17 14:05:49 +01:00
Sebastián Katzer
b76f70a9e6
Make it work with WKWebView #198
2017-01-17 14:02:16 +01:00
Sebastián Katzer
a2bcdb8942
Small ios code updates
2017-01-16 20:44:46 +01:00
Sebastián Katzer
f2016a7c33
Pass json settings as an argument
2017-01-16 15:18:19 +01:00
Sebastián Katzer
a5e60b235d
Fix fireEvent on ios
2017-01-16 15:15:15 +01:00
Sebastián Katzer
8b434e041c
Dont crash if color has wrong format
2017-01-16 10:17:25 +01:00
Sebastián Katzer
337e39b2db
enable/disable event
2017-01-15 14:20:26 +01:00
Thib
6dabe3427d
Fix ios other apps audio interruption ( #209 )
...
* Fix ios other apps audio interruption
Other apps audio was interrupted when the background mode was enabled. I found the solution on this post http://stackoverflow.com/questions/10180500/how-to-use-kaudiosessionproperty-overridecategorymixwithothers
If we don't disable the audio session before that the option AVAudioSessionCategoryOptionMixWithOthers is set, it interrupts the other apps audio. Because the category 'AVAudioSessionCategoryPlayback' is set and by default the session is already active and this category interrupts other apps audio without the option 'mix with others'.
* Update APPBackgroundMode.m
2017-01-15 10:29:51 +01:00
Sebastián Katzer
a9877ec0a1
Allow app to move to foreground (Android)
2017-01-03 22:06:50 +01:00
Sebastián Katzer
d012080d2b
Allow app to move to background (Android)
2017-01-03 21:45:58 +01:00
Sebastián Katzer
626776f60b
Renamce enableGeoLocation -> disableWebViewOptimizations
2017-01-02 16:38:17 +01:00
Sebastián Katzer
0394315f75
Merge pull request #214 from Woutwo/master
...
Move notification to the min-priority list on android
2017-01-02 16:15:21 +01:00
Sebastián Katzer
1768b025ce
Update copyright
2017-01-01 22:40:41 +01:00
Sebastián Katzer
681f2f9275
Support for multi line text [ Fixes #171 ]
2017-01-01 22:35:32 +01:00
Sebastián Katzer
8e3a3528ac
Enable geo location tracking in background [ Fixes #186 ]
2017-01-01 18:48:06 +01:00
Sebastián Katzer
bb72a5e8c8
Register events via backgroundMode.on(event)
2017-01-01 16:58:08 +01:00
Sebastián Katzer
11f5d0404d
Notification shows app info with cordova-android 6.x [ Fixes #212 ]
2016-12-31 13:40:55 +01:00
Woutwo
4ba15f2950
Update ForegroundService.java
2016-12-24 21:42:19 +01:00
Woutwo
05e8de79b9
Update ForegroundService.java
2016-12-24 21:36:44 +01:00
Sebastián Katzer
8d165cdf3a
Merge pull request #126 from mdailor/add-windows-10
...
Added Windows 10 support
2016-09-23 15:19:45 +02:00