Commit Graph

229 Commits

Author SHA1 Message Date
Nathan
949a9e721c
Merge branch 'master' into master 2019-03-01 15:01:05 -08:00
Sebastián Katzer
0e95173de0 Fix typo in getAppStartIntents 2019-02-11 15:27:15 +01:00
Sebastián Katzer
157b34f867 Create app start intents at runtime 2019-02-11 15:26:42 +01:00
Sebastián Katzer
5f6072e738 Fix type in clearScreenAndKeyguardFlags 2019-02-11 15:23:27 +01:00
Sebastián Katzer
2c4df332d3 Restructure BackgroundModeExt as an internal cordova plugin 2019-02-11 15:21:06 +01:00
Sebastián Katzer
8fbf210e14 Initial implementation for openAppStartSettings 2019-02-10 13:09:57 +01:00
Sebastián Katzer
a9669052c0 REQUEST_IGNORE_BATTERY_OPTIMIZATIONS needs to be added manually 2019-02-10 11:22:11 +01:00
Sebastián Katzer
537f7a859f New "disableBatteryOptimizations" function for Android 2019-02-08 18:45:03 +01:00
Sebastián Katzer
9fb7257297 Change some formats 2019-02-08 18:33:54 +01:00
Nathan Kerr
79e8150d3e Option to turn off notification timer
Android notifications have a "how long ago was this notification set" timer.

Now there's an option to turn that off (the default is true, so it's shown, matching current behavior).
2019-02-04 13:57:06 -08:00
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
4c157f4509 Some more improvements to fix #325 2019-02-03 16:17:15 +01:00
Sebastián Katzer
6b522e9832 Some fixes and enhancements for Android 2019-02-03 15:58:40 +01: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
Sebastián Katzer
03f221e873 Regenerate package.json with plugman 2017-09-03 11:09:51 +02:00
imchrg
73621dc910 Fix incorrect method. (#295) 2017-07-05 11:17:22 +02: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
Ibby Hadeed
609ba41ae0 fix typo (#256) 2017-03-27 10:38:21 +02:00
Sebastián Katzer
110ec9d024 Additional improvements of method configure 2017-02-10 20:52:42 +01:00
Sebastián Katzer
5fdfb9885c Previously configured settings got overwritten by defaults [Fixes #179] 2017-02-10 16:33:38 +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
若海
1c084fac73 fix the version check failed (#236)
android-sdk version check failed (".\platforms\android\cordova\android_sdk_version"), continuing anyways.
2017-02-05 10:47:34 +01:00
Sebastián Katzer
892b4150ff Release v0.7.2 2017-02-02 15:29:28 +01:00
Sebastián Katzer
711ed27e1a Re-added crosswalk-webview 2017-02-02 15:23:25 +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
974d6c4e2a Release v0.7.1 2017-01-30 12:08:53 +01:00
Sebastián Katzer
4cd3302853 More code refactoring 2017-01-30 12:05:25 +01:00
Sebastián Katzer
9eb7f9f755 Crosswalk lib seems to be unavailable 2017-01-30 11:42:27 +01:00
Sebastián Katzer
96efffb319 Code refactoring 2017-01-30 11:36:10 +01:00
Sebastián Katzer
510518a42f Update changelog 2017-01-30 09:43:49 +01:00
Sebastián Katzer
d132215100 Fix invalid string format 2017-01-30 09:41:45 +01:00
Sebastián Katzer
4b31ee3097 Fix potential init bug in js interface 2017-01-30 09:37:21 +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
c2fedef6d2 Fix wrong event name in sample 2017-01-28 00:15:53 +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
eeacef9ade Release v0.7.0 2017-01-27 14:49:22 +01:00