Hello,
The title is self explanatory actually, but a bit more detail here:
Once the user logs in to facebook with required permissions, I’m listing a scoreboard based on facebook graph/score api in the main menu scene of one of my games.
A visit to this scene during the game behaves as expected as there is a condition like: “if logged in, then get scores. if not, then login”.
The issue is when the application is killed or restarted in any way, then the login attempt covers the whole screen with a dull spinner and a black background for a couple of seconds (then the scoreboard is listed as usual without a problem). It does not ask for the permissions again but that couple of seconds with a huge black screen and a spinner in the center looks kinda lame. It’s even a bigger problem if I don’t check for internet connection before the login request, than the black screen does not time out for at least 10 seconds. I have nowhere in my code for that black background display with a spinner, I traced it and I’m sure it’s occurring during facebook.login(…). I only yet tested it on android, and I’m using the latest public Corona release (2014.2511). Don’t want to influence anyone with my assumption: but I think this is a thing with the android implementation of the facebook plugin.
This is not a blocker but still, as I said, the user experience with this issue is a bit poor.
Any ideas?
Does anyone know if this is avoidable?
Or if there is an attempt to fix/remove this in a future Corona build?
Thank you very much,
Cihan