docs(background-geolocation): fix reference (#1206)

From old BackgroundGeolocation.finish() to new this.backgroundGeolocation.finish();
This commit is contained in:
Andrea 2017-03-21 21:37:42 +01:00 committed by Ibby Hadeed
parent f122a14445
commit 2e93c50b7d

View File

@ -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
*
* });
*