Short lived APNs deviceToken ~2-3 days

Hi,


In the past 2 weeks I'm experiencing issue with APNs.

The deviceToken was invalidated after only 2-3 days.


Here's the steps I did to test this:

1. Open app

2. Get deviceToken

3. Close app

4. Send push notification (works)

5. Wait 2-3 days

6. Send push notification (no longer works)

7. Reopen app

8. deviceToken is refreshed with a new token


This is really frustrating because we can't expect users to open the app everyday.

We used to have the token valid for 1-2 months. All certificates are still valid.

Short lived APNs deviceToken ~2-3 days
 
 
Q