79120451

Date: 2024-10-24 05:30:16
Score: 1
Natty:
Report link

This is expected behavior like mentioned in Documentation and tutorials. You need wrap the PickAsync() call inside a try Catch Block.

   try
   {
     await Filepicker.PickAysnc()
   }
   catch(Exception ex)
   {
     //Do stuff if user cancels picker
   }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Bhavanesh N