Delphi XE8 - Send Notification from Parse using VCL app -
i learning new baas technology xe8.
i created small app receive notification on android mobiles using parse. working fine when notification message sent parse web site.
however when vcl app send notification backendpush component, nothing coming in mobile phone.
the messages sending correctly because can see them on parse site. status different 1 sent parse .
here vcl messages status on parse:
type: api, target: chanels.
when sent on parse site:
type : campaign, target: everyone.
what should vcl messages arrive on mobile phone.
my code:
backendpush1.message:=memo1.lines.text; backendpush1.push;
you should try more specific on target device follows:
backendpush1.target.add('{ "where": { "installationid": "'+guid.text+'" }}');
or
backendpush1.target.add('{ "where": { "devicetype": "android" }}');
regards!
Comments
Post a Comment