Open Simoo23 opened 2 weeks ago
I have only 1 suggestion: Add logs before await MediaGallery.PickAsync(...)
and before await mediaFile.PlatformOpenReadAsync()
.
You should check if the activity instances are different from Microsoft.Maui.ApplicationModel.Platform.CurrentActivity
Description
Hello, I saw sometimes in AppCenter these 2 errors:
Error 1: mono.java.lang.RunnableImplementor.run Java.Lang.NullPointerException: uri
Stacktrace:
Error 2:
androidx.appcompat.app.AlertDialog_IDialogInterfaceOnClickListenerImplementor.onClick Java.Lang.NullPointerException: uri
Stacktrace:
Expected behavior
No errors
Steps to reproduce the behavior
I have not reproduced the problem on my devices
Configuration
Plugin Version: 2.2.1
I saw in devices with:
Device: Redmi Note 9
OS Version: Android 12
Device: Galaxy A31
OS Version: Android 12
and other Xiaomi phones