Page 1 of 10

intermittent login

Posted: Thu Mar 20, 2014 1:22 pm
by Michael4771079

Hi,
I have a strange issue with login service in my app somrtimes the login fails.
I am running the app from xcode on iphone ios 7.1
I also have the app as a web app on my domain, same problem

Console in firebug shows this error, but this error is to do with splash screen which is only used in web app, and happens before login service is called
see screenshots

Image

Image

Im unsure if this error affects the login service

because this problem does not occur on every attempt to sign in to the app, I dont know what problem to solve.
Please help if you can, we were hoping to submit to apple this week

thx


intermittent login

Posted: Thu Mar 20, 2014 1:41 pm
by Michael4771079

Just to add,
I have noticed that when you type in login and pass and then click the login button,

the login name disappears from the input, password stays in place,
this is different behaviour from my other apps.

the only other scripts running is to hide and show the footer on focus and blur of the login and pass inputs

to test this app: Name godfatherpizza and app is shared


intermittent login

Posted: Thu Mar 20, 2014 1:51 pm
by Nikita

Hello,

Is this code created manually by you or generated automatically?


intermittent login

Posted: Thu Mar 20, 2014 1:56 pm
by Michael4771079

Hi Nikita,
this is the code and events

Image


intermittent login

Posted: Thu Mar 20, 2014 2:03 pm
by Michael4771079

Nikita,
took out the code, deleted footer, now the user name remains in place the blur code seemed to be deleting the username before the service got hold of the name

but this still causes a problem because client wants a footer but the footer jumps into the page covering the inputs,
so 1 solved
and another prob created


intermittent login

Posted: Thu Mar 20, 2014 9:19 pm
by Maryna Brodina

Hello!

Sorry, not sure we understand. You added code preAppery("mobilefooter").hide()/pre and preAppery("mobilefooter").show()/pre but there is no mobilefooter element on Login page. Could you clarify what do you want to show/hide?


intermittent login

Posted: Thu Mar 20, 2014 10:02 pm
by Michael4771079

Hi Maryna,
I updated Nikita above,
I had to delete the header on login page because of the known problem with the footer jumping into the page and obstructing the login inputs.

The code I used when the footer was on the page worked great, but it caused a login problem.

Some how when the input was blured, and the login button clicked, the user name in the input disappeared.

This caused an intermittent login problem.
So I deleted the header and added a grid component and matched colour and size, this will get us tru till footer issue is solved.

Using a black single cell grid, I need to keep it at the dead bottom of whatever screen size it opened on.

Can you help here.

nearly done:)

thx again


intermittent login

Posted: Fri Mar 21, 2014 3:39 am
by Igor

HI,

1 Select a grid in breadcrumbs and set "footerGreed" class name.
2 Add following css rule in the css file:

pre
code
.footerGreed{
/* also try to use absolute */
position: fixed;
bottom: 0px;
}
/code
/pre
If it will not help please provide us with more details.


intermittent login

Posted: Fri Mar 21, 2014 1:14 pm
by Michael4771079

thx Igor
sorted out my issue


intermittent login

Posted: Tue Mar 25, 2014 2:39 pm
by Michael4771079

Hi,
my login problem remains,
login is failing on both with web app and xcode app running on iphone 4s ios7.

this is going to be difficult for me to solve, as there is no obvious reason for it.
works perfectly on service test tab everytime

service works most times, but fails enough for me not to be able to submit to apple
there are no errors in console apart from the error at top of this topic, but that error is to do with splash screen for web app.

I am completely out of things to try in order to solve this, I am hoping apperyio has some way to test this login service and find a solution to this problem.

The only strange behavior I have noticed is,

when the login page loads,
sometimes the spinner spins for a long time and eventually disappears,
and other times its spins a bit and disappears quickly

first thing in the morning, every morning for the last 5 days the first attempt to login to the app has failed every time both web and xcode app

app name godfatherpizza and is shared, also published on apperyio as web app

please note, the login never fails in the browser test from the builder
this is now very urgent for me, please help

thx