Commit Graph

207 Commits

Author SHA1 Message Date
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
5bd6b1f0d8 Allow app to override backbutton behaviour 2017-01-03 21:56:57 +01:00
Sebastián Katzer
d012080d2b Allow app to move to background (Android) 2017-01-03 21:45:58 +01:00
Sebastián Katzer
af5da60143 Ensure boolean return type 2017-01-03 21:14:24 +01:00
Sebastián Katzer
626776f60b Renamce enableGeoLocation -> disableWebViewOptimizations 2017-01-02 16:38:17 +01:00
Sebastián Katzer
4b2db271c1 Set default for bigText to false 2017-01-02 16:16:22 +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
62dde9cada Set min SDK to 16 2016-08-17 14:25:15 +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
6297b9aea3 Bump to next dev cycle 2016-08-16 13:21:12 +02:00
Sebastián Katzer
578ba9f686 Merge pull request #94 from Menardi/Android-Improvements
Android improvements
2016-08-16 13:20:23 +02:00
Sebastián Katzer
99ec1cf418 Merge pull request #127 from DanielRiera/patch-1
Xcode se queja "Estos siempre se evaluará como true" no es necesario "&"
2016-08-15 20:02:21 +02:00
Sebastián Katzer
7fd6a6c8b1 Merge pull request #170 from perrin4869/patch-1
Remove unexpected back button handler
2016-08-15 20:01:15 +02:00
Sebastián Katzer
d559ccf911 Merge pull request #137 from ghost/master
Update README.md
2016-08-15 19:59:04 +02:00
Sebastián Katzer
b22e372305 Merge pull request #109 from colonelchlorine/master
Typo adjustment on "backgroundMode.enable"
2016-08-15 19:56:44 +02:00
Julian Grinblat
90f4aa86db Remove unexpected back button handler 2016-07-24 23:49:02 +09:00
Sebastián Katzer
4c1332ed4c Release v0.6.5 for npm 2016-02-29 10:03:50 +01:00
Sebastián Katzer
39eb2c5e64 Added npm badge button 2016-02-29 09:58:39 +01:00
Sebastián Katzer
6107572349 Changed plugin ID 2016-02-29 09:55:07 +01:00
Marcin Bogusz
21069ace2b Update README.md 2016-02-01 12:06:20 +01: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
PKnittel
2538983691 Added package.json for npm migration. 2015-11-19 11:08:09 +01:00
colonelchlorine
fa81d473e6 Typo adjustment on "backgroundMode.enable" 2015-08-30 08:59:46 -04: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
Gearóid Moroney
f41787afe1 Updated plugin.xml to depend on npm-based device plugin 2015-06-03 15:55:31 +01:00
Sebastián Katzer
6d0b48461b Update README.md 2015-03-05 23:53:15 +01:00
Sebastián Katzer
b718f2db16 Remove some keywords 2015-03-03 15:08:11 +01:00