I have noticed that Android 6.0 seems to break my ability to share a file from my app using a bunch of ANE's. It feels like a permission issue given the changes they made to the permissions in Android 6 but here is what I am doing.
1. Create and save image to documentsDirectory/mydirectory/myfile. When I trace this, the native path is /storage/emulated/0/mydirectory/myfile
2. Share file using that path (tried several share ANE's but they all fail to attach)
I have verified that File.exists but something happens when I pass it on to the ANE that doesn't happen in earlier versions. I have both WRITE and READ_EXTERNAL_STORAGE declared in the manifest (even though WRITE is sufficient as per Android docs).
If I try to navigate to the /storage/emulated/0/mydirectory/myfile within something like ES File Explorer, I can't. I can only find it via /mnt/sdcard/mydirectory/myfile. If I hardcode the latter path into the share function, it gives the same error.
I guess my question is whether anyone had a little trick on this or noticed this behavior as well?