I have this simple UX file with push event registration. But device registration event is not firing. Fuse version 0.35.0 (build 10867)
<App ux:Class="MainView">
<Android.StatusBarConfig Color="#000" />
<Router ux:Name="router" />
<ClientPanel>
<JavaScript>
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);
});
</JavaScript>
<StackPanel >
<Text FontSize="14" TextColor="#000" Margin="20,20,20,10" TextAlignment="Center" Value="Awesome App" />
</StackPanel>
</ClientPanel>
</App>
In the .unoproj file I have
"Packages": [ "Fuse", "FuseJS", "Fuse.Camera", "Fuse.CameraRoll", "Fuse.ImageTools", "Fuse.PushNotifications", "Fuse.LocalNotifications", "Fuse.Maps" ]