Commit Graph

34 Commits

Author SHA1 Message Date
Nathan
c575bec180
Fix for iOS 12.2
Apply fix from https://github.com/katzer/cordova-plugin-background-mode/issues/419#issuecomment-473851949
2019-04-01 12:12:32 -07: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
Sebastián Katzer
b7a911a974 Fix app freeze on iOS using wkwebview-engine 2017-02-02 15:22:12 +01:00
Sebastián Katzer
891fa51cb2 Fix threading issue on iOS9 2017-01-30 09:19:15 +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
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
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
a5e60b235d Fix fireEvent on ios 2017-01-16 15:15:15 +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
1768b025ce Update copyright 2017-01-01 22:40:41 +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
Sebastián Katzer
8f2c75321c New method isActive to receive if mode is active 2014-12-14 14:23:57 +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
b2ec730c88 Restart playing sound when interrupted by phone calls 2014-11-05 11:08:34 +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
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
3d98c0f07f Release under Apache 2.0 license 2013-12-09 13:36:43 +01: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
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