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

Unable to resolve OneDrive Path from content URI #60

@dwlrathod

Description

@dwlrathod

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions