Tutorial 3.4 Observable not working


#1

I’m following the NativeScript Core tutorial, and it seems that Observable is not working.
The UI doesn’t get updates either when modifying the observable, or when initialized like described in the tutorial.

var user = new Observable({
    email: "user@domain.com",
    password: "password"
});

I’m running on Android and tns version 3.0.1


#2

Try this (may have been recently updated in the tutorial):

var observableModule = require("data/observable");

var user = new observableModule.fromObject({
    email: "user@domain.com",
    password: "password"
});