0
votes

I'm trying to send test notifications with FCM register token to device, but firebase is not sending the notifications.

I have:

  • Created my app in Firebase
  • Added my APNs Auth Key in Firebase's settings (tried with APNs certificates too)
  • Added Firebase/Messaging && Firebase/Core to my Podfile
  • Added GoogleService-Info.plist to my project
  • Added Background Mode(remote notification) and Push Notifications in Capabilities
  • Added following code to my App Delegate
  • Even added FirebaseAppDelegateProxyEnabled = NO to my plist
  • Tested with real device / simulator. App open && in background
  • Also have notification images
1

1 Answers

0
votes

I deleted FirebaseAppDelegateProxyEnabled = NO from my plist and added the APN certificates instead of the key and it worked