Essentials
Essentials copied to clipboard
Xamarin.Essentials is no longer supported. Migrate your apps to .NET MAUI, which includes Maui.Essentials.
### Description On Android, Launcher.CanOpenAsync() returns wrong value for Google Maps URLs when targeting API level 30 (Android 11). This works fine when targeting API level 29. ### Steps to...
### Description The TryOpenAsync isn't returning true when appropriate. This is an issue because there is no way to know if app open request fails and the user should be...
With an Android 11 Device the code var photo = await MediaPicker.CapturePhotoAsync() generates this error Xamarin.Essentials.FeatureNotSupportedException: 'Either there was no camera on the device or 'android.media.action.IMAGE_CAPTURE' was not added to...
### Description DeviceDisplay.MainDisplayInfo on Xamarin.MacOS crashed the app. ### Steps to Reproduce 1. Create a simple app and call this function DeviceDisplay.MainDisplayInfo.Rotation, DeviceDisplay.MainDisplayInfo.Height or DeviceDisplay.MainDisplayInfo.Width 2. 3. ### Expected Behavior...
### Description Since android 11 (API 30+), External Storage Read/Write permission is obsolete. Instead to be able to access files outside app "folder" it is required to ask for permission...
### Description When setting up the Android development environment, the `android-setup.ps1` script throws some errors about unexcepted options: ``` Installing API 23... Error: Unexpected option 'home'. --home=C:\Program Files (x86)\Android\android-sdk" sdk...
### Description of Change ### Apple changed behaviours and API for Photos Permission: - [PHAuthorizationStatus.limited](https://developer.apple.com/documentation/photokit/phauthorizationstatus/limited) - [presentLimitedLibraryPicker(from:)](https://developer.apple.com/documentation/photokit/phphotolibrary/3616113-presentlimitedlibrarypicker) - [PHAccessLevel](https://developer.apple.com/documentation/photokit/phaccesslevel) ### Related to issue ### - #1635 ### API Changes ###...
After the last changes, the project is not building because of `mdoc` and [`Microsoft.DotNet.XHarness.TestRunners.Xunit`](https://github.com/xamarin/Essentials/blob/2627bf2db0c009392e6558f31b9844fa2d4185fd/DeviceTests/DeviceTests.Android/DeviceTests.Android.csproj#L64)
### Description When using Email.ComposeAsync on iOS it sometimes hangs due to an access to a view that has been destroyed. A warning is displayed in output : "Warning: Attempt...
Currently the DeviceDisplay is for the actual device, not the app. It would be nice to have an API to get the application size, or current view size if you...