I'm currently creating an app that needs to receive push notifications from a server.
When I got the device token, I send it to my server and save it into DB,
My question is:
When I tried to normally install application on device from XCode, I got the correct device token and it is working for push notification.
But when I tried to install application from TestFlight or diawi, device tocken changed and for that wrong device tocken application not receive any push notification.
any help will be appreciate