Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

Unable to resolve OneDrive Path from content URI #60

Open
dwlrathod opened this issue Nov 21, 2019 · 0 comments
Open

Unable to resolve OneDrive Path from content URI #60

dwlrathod opened this issue Nov 21, 2019 · 0 comments

Comments

@dwlrathod
Copy link
Contributor

Hi,

I'm getting following wrong path when trying to resolve path from OneDrive:
Content URI that is being passed:
content://com.microsoft.skydrive.content.external/Drive/ID/1/Item/RID/9E862D5A44C3B91C%2148853/Stream/1/Property/TestDocument.pdf
and FilePath.resolveNativePath method returns:
file://TestDocument.pdf

Another example, with following path:
content://com.microsoft.skydrive.content.external/Drive/ID/1/Item/RID/9E862D5A44C3B91C%2143165/Stream/1/Property/MY%20APPLICATION636144021910962040.jpg
Plugin returns file://MY APPLICATION636144021910962040.jpg

Tested on Device:
Google Pixel 3 running on Android 10
Samsung Note 10+ running on Android 9
Samsung s7 edge running on Android 8

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant