Nathan Kerr
4d98947310
Add fix for moveToForeground. Requires new permission for Android 10
2020-06-08 12:19:04 -07:00
Menardi
53f3278722
Merged in Menardi/cordova-plugin-run-in-background/android_optimization (pull request #2 )
...
Add more Android battery optimisation functions
- Go to Battery Optimization settings screen
- Add function to check if battery optimization is enabled or not
2019-08-21 20:18:23 +00:00
Menardi
0da2006f7c
Merged in Menardi/cordova-plugin-run-in-background/visibility (pull request #1 )
...
Add ability to set Android notification visibility
2019-08-20 15:40:21 +00:00
Nathan
949a9e721c
Merge branch 'master' into master
2019-03-01 15:01:05 -08: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
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
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
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
131df973fb
Detect screen status
2017-02-06 16:09:28 +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
96efffb319
Code refactoring
2017-01-30 11:36:10 +01:00
Sebastián Katzer
4b31ee3097
Fix potential init bug in js interface
2017-01-30 09:37:21 +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
83f6cc9d1b
Fix wrong scope in overrideBackButton
2017-01-27 14:45:34 +01:00
Sebastián Katzer
0db148518e
Add support for the browser platform
2017-01-27 12:30:52 +01:00
Sebastián Katzer
5bc07f17fb
Add hidden flag - Fixes #224
2017-01-26 14:45:01 +01:00
Sebastián Katzer
35c1e63baf
Determine platform first
2017-01-23 10:17:25 +01:00
Sebastián Katzer
009854bb22
Support for Amazon FireOS
2017-01-23 10:08:05 +01:00
Sebastián Katzer
096d2b2557
Support windows platform - requires windows 10.14393 or newer
2017-01-21 18:00:10 +01:00
Sebastián Katzer
0ed766a91c
Manually fire enable event on iOS WebKit after deviceready event
2017-01-19 10:57:28 +01:00
Sebastián Katzer
e2a8ab038a
Add setEnabled
function
2017-01-19 10:56:26 +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
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
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
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
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
a63e750487
Re-add ticker
2016-08-17 12:03:41 +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
Julian Grinblat
90f4aa86db
Remove unexpected back button handler
2016-07-24 23:49:02 +09:00
Mike Dailor
ffdd29d55a
Added Windows 10 support
2015-11-25 11:24:11 -05:00
Gearóid Moroney
cd1fb46dcc
Added customisable notification icon for Android
2015-06-04 10:59:11 +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
c4a1a412d1
Wrong default values for isEnabled
and isActive
2014-12-14 15:41:04 +01:00
Sebastián Katzer
8f2c75321c
New method isActive
to receive if mode is active
2014-12-14 14:23:57 +01:00