Question by igannos · Oct 12, 2015 at 06:37 PM · iosmobile-appsign in formbug
Mobile Version of Sign-In - Partially Working
Hello,
I am currently developing an App for iOS and Android that makes use of eBay API. I have noticed that once constructing the Sign-In URL (in order for user to login and get ebay token), the Sign-In page is not the same on every device. On iPhone 5, I get the mobile version of Sign-In, which is the one I want, whilst on Nexus 4 and iPhone 6 I get the desktop one. Is this some kind of a bug? And is there a way to send the request so as to return always the mobile site. I am attaching snapshots from the 3 devices, iPhone 5, nexus 4 and iPhone 6 respectively.
Regards, Johny
Answer by drshock · Oct 14, 2015 at 02:19 AM
@igannos I have noted this behavior across even the same model iPhones (I am only supporting iOS). I believe its due to some eBay servers having newer code and others still not updated yet and presenting the older non-responsive implementation.
If you signin multiple times from the same device, you will get the "correct" responsive design maybe 3 out of every 4 tries or so.
At least this is a big improvement, when I started the project back in May you never saw this responsive signin page so it's something new.
Well i agree$$anonymous$$but this would be a drawback for the app. Can you sugggest a way of bypassing it? I was looking for a way to login through ebay API and not have to redirect users to ebay login screen at all. It seems that this can't be the case as API does not support such functionality and ebayAuth always needs to be done through web link.
@igannos There is no alternative to the web auth token approach with the eBay API. After awhile though I decided it was just not that big a deal.
Your app user is only going to see it maybe once a year unless they do a revoke of the token.
Put it in an embedded WebKit view controller too or Apple WILL reject the app for reason poor user experience. They are no longer allowing native apps to jump out to a web browser for auth flows. You can google "google+ apple reject" to learn more about this.
Your answer
