DataStorage where to define it?

In the sample of login plugin sample==> in the login() function, partial of it is:

// read more about using rest services: https://devcenter.appery.io/documenta...
Apperyio.get("LoginUser_service")(requestData).then(
function(success) { // success callback
/*CLICK TO EDIT MAPPING*/

==Question??==> var userData = Apperyio.get("dataStorage");
userData.current = success.data;
Apperyio.navigateTo("Welcome", {});

=======================
I have been searching where dataStorage is coming from but in vain. I have been duplicating another app and use the same code but not working, can anyone help?
1 person has
this question
+1
Reply