Commit Graph

119 Commits

Author SHA1 Message Date
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
Sebastián Katzer
f7e5684a66 Re-add color 2016-08-17 13:55:51 +02:00
Sebastián Katzer
aed89d8503 Fix wrong icon resource 2016-08-17 13:26:47 +02:00
Sebastián Katzer
a63e750487 Re-add ticker 2016-08-17 12:03:41 +02: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
Sebastián Katzer
578ba9f686 Merge pull request #94 from Menardi/Android-Improvements
Android improvements
2016-08-16 13:20:23 +02:00
Daniel Riera
ee9d16cb27 Xcode se queja "Estos siempre se evaluará como true" no es necesario "&" 2015-12-01 20:24:42 +01:00
Mike Dailor
ffdd29d55a Added Windows 10 support 2015-11-25 11:24:11 -05:00
Gearóid Moroney
6d58038046 Update existing intent rather than replace it
For the use case of using the notification as a timer. If you update the
notification frequently, then tapping it would typically not resume the
app as the PendingIntent had been cancelled. Instead updates to the
notification now update the PendingIntent rather than replacing it, which
makes sense for most cases.
2015-06-04 15:29:32 +01:00
Gearóid Moroney
cd1fb46dcc Added customisable notification icon for Android 2015-06-04 10:59:11 +01:00
Gearóid Moroney
04d5dc581b Android notification update now updates inline 2015-06-03 19:45:26 +01:00
Gearóid Moroney
cec56db33c Added extra settings for Lollipop devices
Two settings have been added:
- Notification visibility - allows the notification to be made visible on a
secure lock screen
- Color - used to set the color of the notification circle that contains the
icon
2015-06-03 18:18:15 +01:00
Sebastián Katzer
270abbff02 Add silent mode for Android
Fixes issue #39 and #48
2015-01-01 17:24:37 +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
c20c90c1ec Replace sound file 2014-12-14 00:57:22 +01:00
Sebastián Katzer
5fa96556ae Onactivate, ondeactivate & onfailure callbacks 2014-12-14 00:04:12 +01:00
Sebastián Katzer
6fdfbdc29f On simulator apps never pause in background 2014-11-17 14:56:26 +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
b2ec730c88 Restart playing sound when interrupted by phone calls 2014-11-05 11:08:34 +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
8b7ef48cff Fix null pointer exception if launch intent may be null 2014-11-04 16:51:32 +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
96ae5df2ca Update iOS to use audio mode instead of geo location 2014-11-04 13:05:45 +00:00
Sebastián Katzer
e4f6d7cd0b Initial Android support 2014-10-26 16:47:18 +01:00
Sebastián Katzer
f27603ea67 Koordinaten werden bis auf 1km genau bestimmt 2014-02-26 00:15:00 +01:00
Sebastián Katzer
665aa2d685 Update script headers 2014-02-13 14:17:05 +01:00
Sebastián Katzer
1e12ae1884 Fix NullReferenceException in windows phone 8 (#3) 2014-01-30 18:22:07 +01:00
Sebastián Katzer
46dd479636 Rename variable 2013-12-09 13:37:11 +01:00
Sebastián Katzer
3d98c0f07f Release under Apache 2.0 license 2013-12-09 13:36:43 +01:00
Sebastián Katzer
a85644a75c Only activate the background mode if the location service is available 2013-12-09 11:39:21 +01:00
Sebastián Katzer
79a1327776 Added WP8 support 2013-10-10 12:19:50 +02:00
Sebastián Katzer
7de5589c66 Überflüssige Kommentare gelöscht 2013-10-09 16:14:56 +02:00
Sebastián Katzer
a3ed0f61fa Release version 0.2.1 2013-10-09 14:54:23 +02:00
Sebastián Katzer
20cc5084f4 Hintergrundmodus kann gesondert aktiviert bzw. deaktiviert werden 2013-10-09 11:40:06 +02:00
Sebastián Katzer
76ada42564 Added js interface 2013-10-09 10:50:15 +02:00
Sebastián Katzer
433e216439 ... 2013-10-08 17:59:20 +02:00
Sebastián Katzer
b4932b7ab1 Initial WP8 support 2013-10-08 17:11:35 +02:00
Sebastián Katzer
14bf569922 Initial iOS support 2013-10-08 14:36:19 +02:00
Sebastián Katzer
8cc9be6262 Start with iOS support 2013-10-08 11:00:36 +02:00