c# - Sending push notifications to Android devices using Parse -
i find parse documentation little confusing when comes android. sending notifications using parse .net background service. service calling parse rest api
install devicedevicetoken , devicetype send force notification device 1 time previous step successful. this works beautifully ios device post: 1/push
{ "devicetoken": "<big device token>", "devicetype": "android", "channels" : [] } this says
{ code: 114 error: "devicetoken may not set devicetype android" } the documentation says, need have unique installationid android device install uploads. how do backend? api should used installation id?
this how installation id :
parseinstallation.getcurrentinstallation().getinstallationid() (class reference)
c# android api push-notification parse.com
No comments:
Post a Comment