skip to Main Content

Im making a flutter caht app, and im trying to get push notifications to work. It works on Android, so I know the code I have is working fine: it is something specific with android. I followed firebase’s steps closely, to list what I have so far:

Xcode capabilities:
enter image description here

app bundle id is for sure the same between ios and firestore

APN authentication key setup with team value and app key

Anything Im missing? Really no idea what it could be.

2

Answers


  1. Chosen as BEST ANSWER

    I found the solution for me was that I was trying to implement both an APN auth key, and APN certificate. When i changed my app through app store connect to only the auth key, it worked.

    I also used a real device to test.


  2. Few things you can check

    1. Add the apns key in firebase
    2. Use a real device
    3. Enable push notification capability in xcode
    4. Check the app in different state. Background, killed, foreground
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search