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

SDK 19+ External Storage (SD Card) Not working #72

Closed
mikemike396 opened this issue Jul 24, 2018 · 2 comments
Closed

SDK 19+ External Storage (SD Card) Not working #72

mikemike396 opened this issue Jul 24, 2018 · 2 comments

Comments

@mikemike396
Copy link
Contributor

So I have noticed my app not getting images via the SD card. I tired it on the latest demo app (2.4.1 beta) and it doesnt work either, please see the video. This is a pixel 2 running API 26. It also happens on many other devices. You can see the crash log below for my personal app related to a null URI. Any thoughts? It appears to be an issue with this line

if ("primary".equalsIgnoreCase(type)) {
     return Environment.getExternalStorageDirectory() + "/" + split[1];
}

screen shot 2018-07-24 at 9 34 25 am

pickerexstoragenotworking

screen shot 2018-07-24 at 9 31 36 am

@mikemike396
Copy link
Contributor Author

Here is the fix that I have come up with. Fixes 2 issues related to SDK 19+ external storage, and 26+ internal storage attachments #73

@alhazmy13
Copy link
Owner

Fixed with Version 2.4.4
Thanks

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

2 participants