Commit Graph

42 Commits

Author SHA1 Message Date
Nathan Kerr
167245b0b9 Remove extra lines. 2019-02-04 11:36:29 -08:00
Nathan Kerr
d43e451763 Fix from merge 2019-02-04 11:34:04 -08:00
Nathan Kerr
70495eddb0 Merge branch 'master' of https://github.com/katzer/cordova-plugin-background-mode 2019-02-04 11:27:37 -08:00
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
Sebastián Katzer
6b522e9832 Some fixes and enhancements for Android 2019-02-03 15:58:40 +01:00
Dimitrios Matanis
a2352f5d8b service stuck on swipe away fix (#304) 2018-01-09 20:51:50 +01: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
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
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
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
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
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
1768b025ce Update copyright 2017-01-01 22:40:41 +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
ef779d8f32 Fix silent mode 2016-08-17 11:52:31 +02:00
Sebastián Katzer
830c4a97ad Fix app going to sleep when device locked 2016-08-17 11:16:08 +02:00
Gearóid Moroney
04d5dc581b Android notification update now updates inline 2015-06-03 19:45:26 +01:00
Sebastián Katzer
db7006cb18 Fix type error 2014-12-14 15:26:43 +01:00
Sebastián Katzer
8f2c75321c New method isActive to receive if mode is active 2014-12-14 14:23:57 +01:00
Sebastián Katzer
cbed556154 Set default settings through setDefaults 2014-12-14 13:38:36 +01:00
Sebastián Katzer
0994147d13 Fix main thread bug 2014-12-14 13:23:10 +01:00
Sebastián Katzer
5fa96556ae Onactivate, ondeactivate & onfailure callbacks 2014-12-14 00:04:12 +01:00
Sebastián Katzer
8280fdeb3a Clean up 2014-11-17 14:19:29 +01:00
Sebastián Katzer
ffd81e00c2 Disabled by default 2014-11-12 23:04:01 +01:00
Sebastián Katzer
96663a36e8 Start service only if not already started 2014-11-12 22:40:31 +01:00
Sebastián Katzer
98f2544adb Change visibility 2014-11-12 22:28:25 +01:00
Sebastián Katzer
379e9228fb Fix crash when calling disable while not in the background 2014-11-07 18:55:24 +00:00
Sebastián Katzer
15807233a8 Fix warning 2014-11-04 17:06:01 +00:00
Sebastián Katzer
3cf8b62e84 Update notification when calling configure in background 2014-11-04 16:59:33 +00:00
Sebastián Katzer
d0d8b9e981 Fix null pointer exception for settings 2014-11-04 16:50:42 +00:00
Sebastián Katzer
439330a1d4 JS interface to customize the notification on Android 2014-11-04 14:48:14 +00:00
Sebastián Katzer
e4f6d7cd0b Initial Android support 2014-10-26 16:47:18 +01:00