Need alittle help with this plugin :) #30
-
Hey guys I have recently tried to add this plugin to my project. All I want to do is be able to save a QR code thats on my xaml page to my gallery. I believe I have done all the permissions correctly for both android and IOS aswell as the manifest files. My behind code is as follows: System.IO.DirectoryNotFoundException: 'Could not find a part of the path "/storage/emulated/0/Pictures/MyAppBuild.Android/myScreenshot_20210517_185634.png".' I honestly have no idea why its doing this but it has me stuck! Has anyone expereinced this problem before and knows how to fix it?? or could this be a potential bug with Android? Also I do appologise for my lack of knowledge, I just recented decided I wanted to learn Xamarin forms for my school project and my learning curve is very steep so any help would be greatly appreciated ! :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi. Have you requested permission from the user? You should get the var status = await Permissions.RequestAsync<SaveMediaPermission>();
if (status != PermissionStatus.Granted)
return; |
Beta Was this translation helpful? Give feedback.
Hi. Have you requested permission from the user? You should get the
Granted
status.