Used framework and librarys:
- Backend --> spring boot
- Frontend --> ionic angular
- Push notification --> Firebase
- Firebase library --> @awesome-cordova-plugins/[email protected], [email protected]
Error Faced:
- Error showing in spring boot (firebase Admin) --> com.google.firebase.messaging.FirebaseMessagingException: Unexpected HTTP response with status: 401; body: null
- Error showing from postman --> InvalidApnsCredential
Error Explaination: Near 30 push notification i was recieved properly, but few hours later the push notification is not working due to above 2 errors and also i was registered p8 file in firebase.
Working: For same project for android platform working fine but ios only facing above mentioned error