Xamarin Forms File Provider not set

后端 未结 6 1432
天命终不由人
天命终不由人 2021-01-04 03:22

I am currently going through the process of Learning Xamarin.Forms. I am currently attempting to implement Camera functions using the Plugin.Media.CrossMedia library.

<
6条回答
  •  攒了一身酷
    2021-01-04 03:52

    Marco's solution is almost right. For it to work in my project I had to change

    android:authorities="YOUR_APP_PACKAGE_NAME.fileprovider"
    to
    android:authorities="${applicationId}.fileprovider" 
    

    in the AndroidManifest.xml file.

提交回复
热议问题