Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

intermittent login

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

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

intermittent login

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

Nikita
Posts: 0
Joined: Fri Feb 28, 2014 4:02 pm

intermittent login

Hello,

Is this code created manually by you or generated automatically?

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

intermittent login

Hi Nikita,
this is the code and events

Image

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

intermittent login

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

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

intermittent login

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?

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

intermittent login

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

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

intermittent login

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.

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

intermittent login

thx Igor
sorted out my issue

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

intermittent login

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

Return to “Issues”