yasirkula / UnityNativeShare

A Unity plugin to natively share files (images, videos, documents, etc.) and/or plain text on Android & iOS
MIT License
908 stars 134 forks source link

Can't find ContentProvider, share not possible! #40

Closed WASDMagician closed 5 years ago

WASDMagician commented 5 years ago

I'm having an issues sharing a document using nativeshare. I add the android manifest including the code snippet and change my unique identifier. The readme says to verify that it is still present but it's not in the staging area file after I've built and there's nothing on what to do in that situation. Once in the app I get slightly odd behavior as when I try and share with an incorrect file path the share options appear (though they obviously don't actually do anything), when I try and share using the correct file path nothing happens and I get the error.

I've read the other two issues on this and neither of the resolutions work for me.

WASDMagician commented 5 years ago

My bad, as soon as I posted this I saw the problem, I'd placed the AndroidManifest in Plugins/NativeShare/Android rather than Plugins/Android.