1 year ago

#377241

test-img

AngryBug

Flutter firebase_messaging support for apns

I am implementing firebase_messaging in flutter app. Our backend uses APN for iOS push. On device I am able to get the APN token through getAPNSToken(). Now if I send push through APN and not FCM to iOS device, will firebase_messaging plugin be able to handle that, invoking all callbacks (onMessage, onMessageOpenedApp etc.).

APN sample payload :

{
  "aps": {
    "alert": {
      "body": "this is body",
      "title": "title"
    }
  }
}

flutter

firebase-cloud-messaging

apple-push-notifications

0 Answers

Your Answer

Accepted video resources