Everything seems to work fine on Android and Windows but on Apple devices my new login script isn't working.
Testing if user has installed the app or not at login.
code
if( obj.User['app_install'] == 1 ) {
Appery.navigateTo('dashboard');
} else {
Appery.navigateTo('Contacts_Device');
}
/code