android - GCM push notification does not work correctly when using Wifi network -
hi integrated app receiving push notification using gcm. working correctly, saw strange behavior while receiving push notification on 1 of android set using wifi network, in same time others using edge or 3g network receiving notifications correctly. when try switch off , switch on wifi, receives pending notification.
i tried opening ports used gcm i.e 5228,5229 , 5230 in router's firewall no success.
please me out resolving issue.
n.b:- after seeing this, tried configure app parse api , working same gcm think depends upon network packet receiving or something.
i believe, you're facing known issue tcp connection between gcm servers , handset timing out because of inactivity. network devices (like wi-fi router, isp hardware, etc.) between handset , gcm servers kill tcp connection if no packets sent every , then.
there workarounds might try. example, there apps on google play modify default android behavior , make update connection more often, increasing chances not timeout. try them , see if fixes problem you.
Comments
Post a Comment