google play services - Android device won't wake up on long idle with push notifications -


we building app receives push notifications google play services (transferred gcm few days ago).

our problem on devices, after sleeping more 15 min push not arriving, if wifi , 3g on.

no matter - flags on server(time_to_live, delay on idle etc.), transferring gcm play services, checking right permissions in app manifest. nothing helps.

when device not in sleep mode notifications comes fine.

this issue disturbs much.

will glad or suggestions.

thanks,

noam

since needs rather sporadic, holding wake lock, partial one, bad choice in terms of battery usage. better approach set alarm periodically wake , run small service check messages. suspect if waited long enough, else wake device , you'd message.

edit 1:

that said, still might need android.permission.wake_lock permission keep device awake long enough process message before going sleep. @ least apparently did gcm.

edit 2: might experiencing results of apparent bug heartbeat interval affects users carriers/routers.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -