i’m sharing stuff FROM 3rd party app TO my ionic app. When I share from internal memory with explorer apps, my intent contain a file, for example:
android.intent.extra.STREAM : "file:///sdcard/Audio/SoundRecorder/2019-03-04%2019-36-03.aac"
but when I share from 3rd party app:
android.intent.extra.STREAM : "content://com.whatsapp.provider.media/item/100492" and then i got “column ‘_data’ does not exist”
I’ve found similar issue on github, and according to someone this issue is caused when the file is not a
file:/// . In my case it doesnt work when the file is
How to convert a
content://com.whatsapp.provider.media/item/100492 path to a real path ?