Skip to content
This repository has been archived by the owner on Mar 16, 2019. It is now read-only.

Android Feature: Handle Arbitrary Providers #374

Merged
merged 2 commits into from
May 30, 2017
Merged

Conversation

jsm
Copy link
Contributor

@jsm jsm commented May 26, 2017

Currently when trying to derive a real path from a URI in android, it will return null for third-party content providers (Ex: Google Drive, Dropbox).

To get a realPath, this downloads the file in the application's temporary directory, and returns the temporary file path.

I'm guessing I put this in a weird place, since Utils probably shouldn't be doing any network calls, but I wasn't sure how best to handle it, or if this library should even be handling it.

Thoughts?

@wkh237 wkh237 merged commit e398e8c into wkh237:0.11.0 May 30, 2017
@wkh237
Copy link
Owner

wkh237 commented May 30, 2017

@jsm , it's okay. Thanks for the PR, I'll also cherry-pick this commit from branch 0.10.6 👍

wkh237 pushed a commit that referenced this pull request May 30, 2017
* Update ISSUE_TEMPLATE

* Handle Android content providers
@jsm
Copy link
Contributor Author

jsm commented May 30, 2017

Sweet, thanks! Any ETA on an npm release of either 0.10.6 or 0.11.0?

@wkh237
Copy link
Owner

wkh237 commented May 31, 2017

@jsm, I'm afraid there's no ETA on npm release 😢

@CptMaumau
Copy link

Hi, any ETA on 0.11.0 release? Really need this fix to have Google Drive working on my app.

@wkh237
Copy link
Owner

wkh237 commented Aug 8, 2017

This has already been cherry-picked into 0.10.x.

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

Successfully merging this pull request may close these issues.

3 participants