The app that i have hosted on AWS does not receive notification, the android side works fine but there is some error on IOS side.
So here is what I have done:
1) generate token from apple apn service
2) create the endpoint at amazon backend
3) publish the message at amazon backend
4) it does not receive message and the endpoint will go to disabled after a while.
And I have checked the following:
1) try serveal ios device , including iphone/ ipad/ipod touch also the same result
2) checked the secret key/ platform arn it is matched
3) created another platform ARN but still the same.
I can’t seem to find what the error is. Which part of coding should I check, as it worked correctly before but failed only recently.