From a28667e751c9441a5b838deeea3560b1435a9446 Mon Sep 17 00:00:00 2001 From: Jay Cambron Date: Mon, 19 Sep 2016 18:00:58 -0400 Subject: [PATCH] docs(background-geolocation): add notice (#534) --- src/plugins/background-geolocation.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/background-geolocation.ts b/src/plugins/background-geolocation.ts index c7100a618..d9baa48ab 100644 --- a/src/plugins/background-geolocation.ts +++ b/src/plugins/background-geolocation.ts @@ -168,7 +168,8 @@ export interface Config { * * // When device is ready : * platform.ready().then(() => { - * + * // IMPORTANT: BackgroundGeolocation must be called within app.ts and or before Geolocation. Otherwise the platform will not ask you for background tracking permission. + * * // BackgroundGeolocation is highly configurable. See platform specific configuration options * let config = { * desiredAccuracy: 10,