Apps.ionic.io save custom user data


#1

Hey I actually posted this on Stack Overflow and realized this is a better forum.

I’m new to Ionic and the apps.ionic platform and looking to save some custom user data, it is working via local storage, IE after logging the user in, I can do something like this:

var user = Ionic.User.current();
user.set('address', '1600 Pennsylvania Avenue');
user.save();

Now on a future load I can do this:

var user = Ionic.User.current();
var address= user.get('address');
console.log(address);

This works, my problem is this data is not saved in the custom data section of the user on apps.ionic.io, and therefore is not saved cross device. I scoured the docs but did not see specifically how to setup this custom data, I’m probably missing something simple.

Thanks in advance here’s the stack overflow duplicate: http://stackoverflow.com/questions/38259203/apps-ionic-io-save-custom-user-data