I'm using successfully the following code to open and get more than one picture from Android Gallery and then adding them in the chat.
On Android, this page to get pictures, doesn't have a "cancel" button to exit from this page without selecting any picture so the only option for the user is to press the "Android" back button
If you press it, the backbutton event is not fired in my app, neither on the page that called the Filepicker nor inside the app.shell and, most important, my application is closed!!
How can I solve the problem in this situation ?
myfoto = await FilePicker.Default.PickMultipleAsync(new PickOptions()
{
PickerTitle = "Seleziona immagini",
FileTypes = customFileType
});