Firebase : InvalidApnsCredential while certificates are valid
In case if others are also facing the issue here are few tips:
1)Whenever you are stuck with notification issues try sending a push via the GUI console that firebase provide to send notifications
2) If your live app at Appstore is not receiving push notification but is receiving notification only when running via Xcode then you have not uploaded the production certificate to firebase console
3)If you have uploaded both production and development certificates and still notifications are not received then download the latest certificates and upload them again to the firebase console