Bug 39942 - UIApplication.SharedApplication.OpenUrl hangs application
Summary: UIApplication.SharedApplication.OpenUrl hangs application
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: XI 9.8 (tvOS / C7)
Hardware: All All
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2016-03-28 08:56 UTC by bartdk
Modified: 2016-03-28 10:25 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description bartdk 2016-03-28 08:56:17 UTC
UIApplication.SharedApplication.OpenUrl(new NSUrl("http://www.google.be")); --> will hang the application (without any logging)

Read some workarounds related to introducing a delay and run this call on MainUIThread, but none of the solutions are working in my sample (http://stackoverflow.com/questions/19356488/openurl-freezes-app-for-over-10-seconds)

Any idea on how to open an external URL ?
Comment 1 Rolf Bjarne Kvinge [MSFT] 2016-03-28 10:25:40 UTC
This does not sound like a bug in Xamarin.iOS, and since our bugzilla is for bugs in our products please contact support (the yellow bar at the top of the page has instructions) if you need other types of help.