Wednesday, 15 July 2015

android - Push notification using GCM with Asp.net server -



android - Push notification using GCM with Asp.net server -

if device offline or switched off @ time server sending force message, when getting online(active) should receive pending notifications. not receiving force notification of app. might reason???? please help me solve issue.

string posting server side(asp.net server) gcm server:

string postdata= "collapse_key=score_update"+i+"&time_to_live=2419200&delay_while_idle=1&data.message=‌​"+ message + "&data.time=" + system.datetime.now.tostring() + "&registration_id=" + devicetoken + "";

also tried delay_while_idle=0, facing same issue. "i" incremental value have appended collapse key.

android google-cloud-messaging

No comments:

Post a Comment