I recendly swtiched over from Google Cloud Messaging to Firebase Cloud Messaging.
With GCM I had to choose the sandbox option. As described here : https://developers
Be safe, use below:
#if DEBUG FIRInstanceID.instanceID().setAPNSToken(deviceToken, type: .sandbox) #else FIRInstanceID.instanceID().setAPNSToken(deviceToken, type: .prod) #endif
Do not unnecessarily set sandbox token to prod type and vice versa.