CrossGeeks / FirebasePushNotificationPlugin

Firebase Push Notification Plugin for Xamarin iOS and Android
MIT License
396 stars 177 forks source link

Notification not coming on Status Bar on Android 12 #438

Open Rishi2611 opened 2 years ago

Rishi2611 commented 2 years ago

🐛 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:

kunalprakash3891 commented 1 year ago

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>