From 995fa79a3171fd68085f8876d0a14925fe0841fe Mon Sep 17 00:00:00 2001 From: Erik Rothoff Andersson Date: Wed, 7 Oct 2020 17:15:59 +0200 Subject: [PATCH] Fixes #627 - First foreground notification is not visible --- lib/ios/RNNotifications.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ios/RNNotifications.m b/lib/ios/RNNotifications.m index 84c9efd39..333824a3a 100644 --- a/lib/ios/RNNotifications.m +++ b/lib/ios/RNNotifications.m @@ -18,7 +18,7 @@ @implementation RNNotifications { - (instancetype)init { self = [super init]; - _store = [RNNotificationsStore new]; + _store = [RNNotificationsStore sharedInstance]; _notificationEventHandler = [[RNNotificationEventHandler alloc] initWithStore:_store]; return self; }