cordova-plugin-filepath icon indicating copy to clipboard operation
cordova-plugin-filepath copied to clipboard

Unable to resolve OneDrive Path from content URI

Open dwlrathod opened this issue 5 years ago • 0 comments

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

dwlrathod avatar Nov 21 '19 15:11 dwlrathod