From 6168eaee47c0d66d3b06702ee885caeee8ef10e4 Mon Sep 17 00:00:00 2001 From: John-Luke Date: Mon, 17 Apr 2017 15:22:44 -0300 Subject: [PATCH] feat(background-fetch): add status method --- src/@ionic-native/plugins/background-fetch/index.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/@ionic-native/plugins/background-fetch/index.ts b/src/@ionic-native/plugins/background-fetch/index.ts index c91bc6ae8e..02f1a52781 100644 --- a/src/@ionic-native/plugins/background-fetch/index.ts +++ b/src/@ionic-native/plugins/background-fetch/index.ts @@ -100,4 +100,11 @@ export class BackgroundFetch { }) finish(): void { } + /** + * Return the status of the background-fetch + * @returns {Promise} + */ + @Cordova() + status(): Promise { return; } + }