I followed the guide, “Sending Push Notifications With Vapor” (Sending Push Notifications With Vapor | raywenderlich.com). I am looking to switch the environment to .production from .sandbox in the app.configuration portion. When I change it, errors are returned and I’m not sure why. Do you have a guide or resource for APNS in production?
The error returned is “badDeviceToken” when I send an APNS to a device registered in .production environment. This hadn’t happened when in the .sandbox environment. Thank you ahead of time for your help!