push notification question

I did as the fuse docs says about push notification. I loaded fuse preview project in real device and desktop preview but still didn’t see any device regID on console. Not sure what I am doing wrong.

This is what I did in Main.ux. I did add Fuse.PushNotifications on my .unoproj

    var push = require("FuseJS/Push");

push.on("registrationSucceeded", function(regID) {
    console.log("Reg Succeeded: " + regID);

    push.on("error", function(reason) {
    console.log("Reg Failed: " + reason);

push.on("receivedMessage", function(payload) {
    console.log("Recieved Push Notification: " + payload);

<Text Value="Hello from main.ux"/>

Hi there Tom,

Preview on desktop cannot receive push-notifications. On device you would still need to set up the backends as per the device specific guides.

Hope this helps :slight_smile: