mailto results in error on ios

DirkWilhelmDirkWilhelm USMember ✭✭✭✭


i'm trying to open the defauilt mail app on ios using

var uri = "mailto:[email protected][email protected]&subject=Greetings%20from%20Cupertino!&body=Wish%20you%20were%20";
Device.OpenUri(new Uri(uri));  

But this results in a crash on my IOS10 and IOS11 devices:

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSURL initWithScheme:host:path:]: path is not absolute.'

Using a subject and body without spaces works.

I found this older, fixed bugzilla entry with a similar bug:

@StephaneDelcroix can you please take a look at this bug again?


Sign In or Register to comment.