Bug 60691 - Device.OpenUri(new Uri("tel:123 456")) crashes the app (space in phone number)
Summary: Device.OpenUri(new Uri("tel:123 456")) crashes the app (space in phone number)
Status: RESOLVED ANSWERED
Alias: None
Product: Forms
Classification: Xamarin
Component: iOS ()
Version: 2.4.0
Hardware: PC Windows
: Normal blocker
Target Milestone: ---
Assignee: Samantha Houts [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2017-11-15 12:52 UTC by Andreas
Modified: 2018-04-30 23:40 UTC (History)
4 users (show)

Tags: openuri, ac, fr
Is this bug a regression?: Yes
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:
Status:
RESOLVED ANSWERED

Description Andreas 2017-11-15 12:52:06 UTC
OpenUri crashes if used to open a phonenumber containing one or more spaces, like
Device.OpenUri(new Uri("tel:123 456"))

This did not happen in 2.3.x but happens in 2.4.x
Only seems to happen in iOS
Comment 1 Dmitijs Jesilevskis 2017-11-16 16:08:52 UTC
Our team came across this issue after update to iOS 11.
So we think this is related to iOS 11 changes, not actually Xamarin.Forms.
Comment 2 Samantha Houts [MSFT] 2017-11-20 23:48:09 UTC
https://github.com/xamarin/Xamarin.Forms/pull/1296
Comment 3 Samantha Houts [MSFT] 2018-02-02 21:42:34 UTC
Migrated to https://github.com/xamarin/Xamarin.Forms/issues/1651. Please follow that issue for updates. Thank you!
Comment 4 Samantha Houts [MSFT] 2018-04-30 23:40:25 UTC
https://github.com/xamarin/Xamarin.Forms/pull/1311