Has anyone been able to get TriggerIO to work with

2019-07-17 09:28发布

I'm not able to get any push notifications out to my android emulator. I go to the Parse admin console and send out a push, but it shows as no subscribers and nothing ever happens on my emulator.

I was hoping someone could share a bit of code showing how they were able to push out?

I've set up my client and rest api keys, and am able to send a picture to Parse via the demos I've followed. But when trying to push back to the client it doesn't work...

Thanks,

标签: trigger.io
2条回答
ら.Afraid
2楼-- · 2019-07-17 10:03
Juvenile、少年°
3楼-- · 2019-07-17 10:16

If you use messagePushed.addListener, you'll be automatically subscribed to the default channel:

forge.event.messagePushed.addListener(function (msg) {
    alert(JSON.stringify(msg));
});

Have you entered your applicationId and clientKey as described here?

Note: it's your client key, not REST key, that you need to enter in that configuration.

查看更多
登录 后发表回答