From 800669120bb7d5f5220ad821a323c3ab7f94342f Mon Sep 17 00:00:00 2001 From: yogevbd Date: Wed, 10 Jul 2019 21:22:16 +0300 Subject: [PATCH] Remove consumeBackgroundQueue api --- lib/src/index.ios.js | 4 ---- test/index.ios.spec.js | 1 - 2 files changed, 5 deletions(-) diff --git a/lib/src/index.ios.js b/lib/src/index.ios.js index d335c78..2182588 100644 --- a/lib/src/index.ios.js +++ b/lib/src/index.ios.js @@ -167,10 +167,6 @@ export default class NotificationsIOS { NativeRNNotifications.backgroundTimeRemaining(callback); } - static consumeBackgroundQueue() { - // NativeRNNotifications.consumeBackgroundQueue(); - } - static log(message: string) { NativeRNNotifications.log(message); } diff --git a/test/index.ios.spec.js b/test/index.ios.spec.js index bf1a02c..081c823 100644 --- a/test/index.ios.spec.js +++ b/test/index.ios.spec.js @@ -21,7 +21,6 @@ describe('NotificationsIOS', () => { abandonPermissions: jest.fn(), registerPushKit: jest.fn(), backgroundTimeRemaining: jest.fn(), - consumeBackgroundQueue: jest.fn(), localNotification: jest.fn(), cancelLocalNotification: jest.fn(), cancelAllLocalNotifications: jest.fn(), -- 2.26.2