Skip to content

Commit 31fa9e9

Browse files
authored
Merge pull request #51 from zainniazi/ios-startup-notification
Enable iOS Startup Notifications
2 parents 07799c9 + fc2ca82 commit 31fa9e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Plugin.AzurePushNotification/AzurePushNotificationManager.apple.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ public static void Initialize(string notificationHubConnectionString, string not
195195
PushRegisteredKey = $"{notificationHubPath}_PushRegistered";
196196
CrossAzurePushNotification.Current.NotificationHandler = CrossAzurePushNotification.Current.NotificationHandler ?? new DefaultPushNotificationHandler();
197197

198-
/*if (options?.ContainsKey(UIApplication.LaunchOptionsRemoteNotificationKey) ?? false)
198+
if (options?.ContainsKey(UIApplication.LaunchOptionsRemoteNotificationKey) ?? false)
199199
{
200200
var pushPayload = options[UIApplication.LaunchOptionsRemoteNotificationKey] as NSDictionary;
201201
if (pushPayload != null)
@@ -211,7 +211,7 @@ public static void Initialize(string notificationHubConnectionString, string not
211211

212212
CrossAzurePushNotification.Current.NotificationHandler?.OnOpened(notificationResponse);
213213
}
214-
}*/
214+
}
215215

216216
if (autoRegistration)
217217
{

0 commit comments

Comments
 (0)