Gdx.net.openURI runtime error in GLKView libgdx app

I made a workaround by introducing platform specific code. For iOS, I call UIApplication.sharedApplication().openURL(NSURL.URLWithString(url)). For Android, I call Gdx.net.openURI as usual.

Cheers