I came through this weird behaviour with node-apn throwing error 8 sometimes only. Debugged for same certificate, token and app build.
Details as follows
- Called Node APN service iOS token and data to send push notification, while the app was not launched in the device. No notifications were received.
- Debugged from server side and found that error 8 was thrown.
- Launched the app again and kept in background.
- Tried sending push notification again (same token, app build and set of certificates).
- Push notification was sent and received successfully.
Has anyone faced similar issue, and possible solution?