FirebasePushNotificationPlugin icon indicating copy to clipboard operation
FirebasePushNotificationPlugin copied to clipboard

When app is closed then Tapping on Notification crashes the iOS app

Open anilrawatGH opened this issue 2 years ago • 0 comments

🐛 Bug Report

Version Number of Plugin: 3.4.35 Device Tested On: iPhone 6, iOS 12.5.6 and iPhone 11, iOS 16.1.1 Version of Xamarin: Xamarin Forms 5.0.0.2545

Expected behavior

Tapping on Notification should launches the app without crashing.

Reproduction steps

When iOS app is killed/terminated/closed and receiving a Push Notification then after tapping the Notification the app is getting crashed.

Description

I am using FirebasePushNotificationPlugin in my Xamarin project. I am getting this issue only in iOS app.

When the app is closed, and app receiving Push Notification then after click or tapping on that notification is crashing the app.

I added the log in Current_OnNotificationOpened method in App.xaml.cs class but even that logs is not coming. It seems like Current_OnNotificationOpened method is not hitting in case of only iOS app.

anilrawatGH avatar Jan 13 '23 08:01 anilrawatGH