Essentials
Essentials copied to clipboard
Cannot access a disposed object. Object name: 'Foundation.NSUrl'.
Description
I am trying to launch Venmo from my app in iOS. It works in Android. The URI is " venmo://paycharge?txn=pay&recipients=Mark-Billson¬e=Attended Practice&amount=10.00"
Steps to Reproduce
- Install Essentials
- Call Launcher.OpenAsync with URI " venmo://paycharge?txn=pay&recipients=Mark-Billson¬e=Attended Practice&amount=10.00"
- Get error " Cannot access a disposed object. Object name: 'Foundation.NSUrl'."
Expected Behavior
Launch Venmo like it does in Android
Actual Behavior
Crashes with error Cannot access a disposed object. Object name: 'Foundation.NSUrl'.
Basic Information
I have added the following items to info.plist for my iOS project
- Version with issue: All
- Last known good version: Never
- IDE: VSS 2022 for PC and Visual Studio for Mac (happens in both)
- Platform Target Frameworks:
- iOS: latest
- Android: latest
- UWP: DNA
- Android Support Library Version:
- Nuget Packages:
- Affected Devices: Any iOS Device
Screenshots
Reproduction Link
Getting the same error.
I have the same problem with new Uri($"ms-outlook://compose?..)
I had the same issue with an google maps request. Solved it by deleting whitespaces in url
I had the same issue with an google maps request. Solved it by deleting whitespaces in url
What did you replace the whitespaces with ?
I had the same issue with an google maps request. Solved it by deleting whitespaces in url
What did you replace the whitespaces with ?
Nothing, I just removed them.
Try replacing the whitespace with + sign, for example for sign in with google scopes you can separate the scopes with ++ instead of double whitespaces.