FirebasePushNotificationPlugin icon indicating copy to clipboard operation
FirebasePushNotificationPlugin copied to clipboard

Notification not coming on Status Bar on Android 12

Open Rishi2611 opened this issue 3 years ago • 1 comments

🐛 Bug Report

I am working on Firebase Push Notification in Xamarin and have used "CrossGeeks FirebasePushNotificationPlugin" Nuget Package of Xamarin , everything was working fine When Application is targeted on Android 11, When I have targeted App on Andoid 12 and running App on Android 12 Device PushNotification is not visible on Status Bar, but OnRecived Method is called.

Expected behavior

Reproduction steps

Configuration

Version: 1.x

Platform:

  • [ ] :iphone: iOS
  • [ ] :robot: Android
  • [ ] :checkered_flag: WPF
  • [ ] :earth_americas: UWP
  • [ ] :apple: MacOS
  • [ ] :tv: tvOS
  • [ ] :monkey: Xamarin.Forms

Rishi2611 avatar Aug 24 '22 18:08 Rishi2611

Try adding the following to your AndroidManifest.xml file under the Application node and see if helps;

<service android:name="crc6494e14b9856016c30.PNFirebaseMessagingService" android:exported="false">
	<intent-filter>
		<action android:name="com.google.firebase.MESSAGING_EVENT" />
	</intent-filter>
</service>

kunalprakash3891 avatar Dec 04 '22 04:12 kunalprakash3891