ios - PubNub not receiving push notifications after registering with channel? -


i register push notifications device device token apns. i've registered on channel a, never receive notifications. there easy way troubleshoot this?

this question lot. due fact device push registration token invalid. there many reasons why token become invalid. due user deleting app device. if reinstall, need new push token.

the best practice make sure token valid asking token every time app cold starts - meaning 1didfinishlaunching` invoked. caching token on device , comparing each fetch let know if registered token has been invalidated. more details on best practices, please read pubnub kb article, can prevent ios end users having invalid registration token?.

to troubleshoot push notification issues pubnub (even if not pubnub root cause), please review how can troubleshoot push notification issues. layout step step process getting root cause of issue. works pubnub gcm push notification issues.


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -