Created By
Yoel Gluschnaider
05/17/2012 5:02am

Subscribers (3)

BugsJavascript SDK URI Error in Android WebView and iPhone UIWebView

  • Status: Fixed
  • Priority: Medium
  • Updated: July 6, 2012 at 2:55pm
Latest response from Facebook
Eric Osgood
This should now be resolved. Thanks for your patience.
Status changed to Fixed
Eric Osgood
We have a fix for this issue and it will be pushed soon. Stay tuned.
Status changed to Fix Ready
Noorin Ladhani
Thanks for the report. We are looking into this.
Status changed to Assigned · Priority changed to Medium
Javascript API not working in iPhone/Android WebView was marked as a duplicate of this bug.
When using the JS SDK from within an Android WebView and iPhone UIWebView i get to following Exception:
URIError: Domain contained invalid characters.

This is caused due to RegExp test of the location.hostname parameter which is blank in WebView/UIWebView.
1 person can reproduce this issue by following these steps
Repro