Facebook Timeout on Authorization loading webview

You must Login before you can answer or comment on any questions.

I need a feature for the Facebook module - a timeout on the loading screen. This is essential because sometimes with low network connectivity, the Facebook window will continue to try to load forever. On Android it effectively times out after 30 seconds or so (which is still too long) but on iOS it actually causes my app to freeze. Very big problem. So I would appreciate this feature being added to the Ti.Facebook module.

Second part of my question is - how do I address this myself? I tried to edit the source code after downloading from github and, yes, I can set a timeout on the webview (woohoo!) but then I try to build with ant and I get 100 errors that it cannot find android.os.bundle among others. Obviously there is something wrong with my env vars or something, but I have not been able to understand how to properly rebuild the built-in facebook module after several hours of attempting to do so. Anyone who can advise 1) how to set a timeout without updating the module or 2) how to rebuild the module once it is changed, this assistance will be much appreciated!

Thanks!

— asked 10 months ago by Amy H
0 Comments

Your Answer

Think you can help? Login to answer this question!