Mobile App Error

I have erpnext v7 running but in mobile it is executing

var url =  localStorage.server + "/api/method/frappe.www.desk.get_desk_assets";
if(version && version === "v6") {
      url = localStorage.server + "/api/method/frappe.templates.pages.desk.get_desk_assets";
 }

it is looking for

url = localStorage.server + “/api/method/frappe.templates.pages.desk.get_desk_assets”;

since the resource is no there,the mobile app is not working.

What error do you get in your phone?

the localStorage.server variable contains the ERPNext url, it works that way.

No Error but screen freezes with ERPNext Splash Logo