Skip to main content
January 28, 2014
Answered

GoViral and cell phones with poor connection

  • January 28, 2014
  • 1 reply
  • 525 views

Hi all

I am using the GoViral SDK and I noticed that when my games connect to FB they often time out when there is a low data connection- Although its not extremely low (it allows me to browse and download files without interuption) it seems to either cause my game to freeze or just loads forever!

If whilst it takes ages to load I press the home button (android) and close the game in the task manager, then reopen it the game displays I am logged in via FB.

If I have a perfect connection status then I don't have this problem at all. I also noticed when I play games like candy crush or bubble witch I don't have this problem with low connectivity.

Can anyone suggest a solution? or has anyone come across this?

This topic has been closed for replies.
Correct answer

What you’re seeing seems unusually wrong. If you want to see one of the things I’ve done, try this:

https://itunes.apple.com/us/app/p.s.-happy.fun.cool./id738061516?mt=8

or in Google Play:

https://play.google.com/store/apps/details?id=air.com.aeropostale.pspeaceloveneon&hl=en

Choosing the “solo” path will get you through the quickest. When you get to the end you can share, and one option is Facebook. Most likely it will fail at first and then tell you to try again.

How long does it take to fail, and then how long to succeed? In my tests it’s very fast, even on 4G or LTE. Do you find that it takes a while when you’re on a weaker signal?

If my thing works quickly for you, then I would wonder about which version of GoViral you’re on, and what your app descriptor settings look like.


I just noticed something,

Have you tried logging in to Facebook on your app when the Facebook app is installed on the same device?

It seems like this is whats causing part of our issue- Do you notice this in any of your progeams?

1 reply

Colin Holgate
Inspiring
January 29, 2014

I use GoViral, and there are times when the first attempt to connect to Facebook does make the connection, but fails to do the post that I intended. I could take the event that happens and immediately redo the post, but there’s a risk that what happened was more of an error, and the second attempt to post may fail too.

What I do is alert the user to say something like “now connected, try your post again”. Hopefully it would only happen once per session.

If you look at Candy Crush, that does seem to get into situations where connecting to Facebook continues to fail, until I force quit the app and reopen it. That makes me think that it’s not an easy problem to solve, if you think about how much money those guys have to throw at the problem!

So, check to see if things are really taking a long time, or perhaps the first attempt failed quickly. Look for GVFacebookEvent.FB_LOGGED_IN as well as GVFacebookEvent.FB_REQUEST_RESPONSE, to tell the times when it was simply a delay in logging in.

January 29, 2014

Hi Colin

the issue is consistent unless the connection is very strong- very strong meaning I sit literally 10 feet away from a wifi connection however every single time goviral fails bubble witch login works perfectly- I even made a video to compare my app running goviral and bubble witch using FB login.

http://www.youtube.com/watch?v=WQSpDDeJoso

I am starting to think that the only real fix is to write our own native code

Colin Holgate
Inspiring
January 29, 2014

What you’re seeing seems unusually wrong. If you want to see one of the things I’ve done, try this:

https://itunes.apple.com/us/app/p.s.-happy.fun.cool./id738061516?mt=8

or in Google Play:

https://play.google.com/store/apps/details?id=air.com.aeropostale.pspeaceloveneon&hl=en

Choosing the “solo” path will get you through the quickest. When you get to the end you can share, and one option is Facebook. Most likely it will fail at first and then tell you to try again.

How long does it take to fail, and then how long to succeed? In my tests it’s very fast, even on 4G or LTE. Do you find that it takes a while when you’re on a weaker signal?

If my thing works quickly for you, then I would wonder about which version of GoViral you’re on, and what your app descriptor settings look like.