receive external Notifikation prior API 26 #816
Unanswered
wolfgangschneider
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wrote an MAUI app receive external Notification using API 26+ and Channels. Now I want to use the app for Android 5,6 and 7 wich use API sdk less then 26. How to setup notification manager or something else to Lissen notifications?
I call on Android
Firebase.Messaging.FirebaseMessaging.Instance.SubscribeToTopic("My Topic")
and use the same code on sender but without channel
private async void SendNotification()
{
// Construct the message payload
var message = new Message()
{
Notification = new Notification
{
Title = "Pure Notification",
Body = "This is a pure Notification"
},
Topic = NotificatioonTopic,
}
Beta Was this translation helpful? Give feedback.
All reactions