docs(background-geolocation): fix reference (#1206)
From old BackgroundGeolocation.finish() to new this.backgroundGeolocation.finish();
This commit is contained in:
parent
f122a14445
commit
2e93c50b7d
@ -288,7 +288,7 @@ export interface BackgroundGeolocationConfig {
|
||||
* // IMPORTANT: You must execute the finish method here to inform the native plugin that you're finished,
|
||||
* // and the background-task may be completed. You must do this regardless if your HTTP request is successful or not.
|
||||
* // IF YOU DON'T, ios will CRASH YOUR APP for spending too much time in the background.
|
||||
* BackgroundGeolocation.finish(); // FOR IOS ONLY
|
||||
* this.backgroundGeolocation.finish(); // FOR IOS ONLY
|
||||
*
|
||||
* });
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user