Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

GCM Dry run gives mismatch http post response #258

Open
donjosecr7 opened this issue Jan 29, 2018 · 0 comments
Open

GCM Dry run gives mismatch http post response #258

donjosecr7 opened this issue Jan 29, 2018 · 0 comments

Comments

@donjosecr7
Copy link

I have an app to map the invalid reg tokens in our database.I am using dry run option to find out the same.When i do a double check on already processed invalid tokens, The tokens which are declared as invalid by the api before seems to be canonical regtokens.Can i rely on dryrun option to know the invalid ones? Is this mismatch is expected? My app runs once in every day.

i am doing a http post call to [android.googleapis.com/gcm/send] with body as { "collapse_key": "demo", "dryRun":true, "time_to_live": 0, "delay_while_idle": false, "data": { "openapp":"false","psinterval":0,"rurl":"http://www.yahoo.co‌​m","nicon":"https://‌​s3-ap-southeast-1.am‌​azonaws.com/qa-mmxpu‌​shnotificationimg/55‌​560/icon.gif","title‌​":"Type 2 New","message":"Hello MMX","ntype":"2","cid":"55560" }, "registration_ids":["APA91bFMTaIi93TgID2hoT8MAhxmhq_bZDN3R9t‌​X...."] }

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant