mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2024-11-14 19:44:53 +00:00
Fix link
This commit is contained in:
parent
14e2eb1f43
commit
1c98058aea
@ -91,7 +91,7 @@ The plugin creates the object `cordova.plugins.backgroundMode` with the followi
|
|||||||
4. [backgroundMode.isActive][is_active]
|
4. [backgroundMode.isActive][is_active]
|
||||||
5. [backgroundMode.getDefaults][android_specifics]
|
5. [backgroundMode.getDefaults][android_specifics]
|
||||||
6. [backgroundMode.setDefaults][android_specifics]
|
6. [backgroundMode.setDefaults][android_specifics]
|
||||||
7. [backgroundMode.configure][android_specifics]
|
7. [backgroundMode.configure][configure]
|
||||||
8. [backgroundMode.onactivate][onactivate]
|
8. [backgroundMode.onactivate][onactivate]
|
||||||
9. [backgroundMode.ondeactivate][ondeactivate]
|
9. [backgroundMode.ondeactivate][ondeactivate]
|
||||||
10. [backgroundMode.onfailure][onfailure]
|
10. [backgroundMode.onfailure][onfailure]
|
||||||
@ -194,7 +194,7 @@ document.addEventListener('deviceready', function () {
|
|||||||
## Platform specifics
|
## Platform specifics
|
||||||
|
|
||||||
### Android customization
|
### Android customization
|
||||||
To indicate, that the app is executing tasks in background and being paused would disrupt the user, the plug-in has to create a notification while in background - like a download progress bar.
|
To indicate that the app is executing tasks in background and being paused would disrupt the user, the plug-in has to create a notification while in background - like a download progress bar.
|
||||||
|
|
||||||
#### Override defaults
|
#### Override defaults
|
||||||
The title, ticker and text for that notification can be customized as follows:
|
The title, ticker and text for that notification can be customized as follows:
|
||||||
@ -252,6 +252,7 @@ This software is released under the [Apache 2.0 License][apache2_license].
|
|||||||
[is_enabled]: #receive-if-the-background-mode-is-enabled
|
[is_enabled]: #receive-if-the-background-mode-is-enabled
|
||||||
[is_active]: #receive-if-the-background-mode-is-active
|
[is_active]: #receive-if-the-background-mode-is-active
|
||||||
[android_specifics]: #android-customization
|
[android_specifics]: #android-customization
|
||||||
|
[configure]: #modify-the-currently-displayed-notification
|
||||||
[onactivate]: #get-informed-when-the-background-mode-has-been-activated
|
[onactivate]: #get-informed-when-the-background-mode-has-been-activated
|
||||||
[ondeactivate]: #get-informed-when-the-background-mode-has-been-deactivated
|
[ondeactivate]: #get-informed-when-the-background-mode-has-been-deactivated
|
||||||
[onfailure]: #get-informed-when-the-background-mode-could-not-been-activated
|
[onfailure]: #get-informed-when-the-background-mode-could-not-been-activated
|
||||||
|
Loading…
Reference in New Issue
Block a user