I have tested push notifications as a developer account and it worked, But when i tried to put it on TestFlight for the testers to test it, it didn\'t show a push notificati
For Firebase try this:
#if DEBUG Messaging.messaging().setAPNSToken(apnsToken, type: .sandbox) #else Messaging.messaging().setAPNSToken(apnsToken, type: .prod) #endif