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

Plugin isn't working in Android OS 7.0 #59

Open
Krishna25Vrinsoft opened this issue Jul 26, 2017 · 10 comments
Open

Plugin isn't working in Android OS 7.0 #59

Krishna25Vrinsoft opened this issue Jul 26, 2017 · 10 comments

Comments

@Krishna25Vrinsoft
Copy link

I can't open any document like pdf, doc, png in Android 7.0 OS. I got below Error
code = "file:///storage/emulated/0/Android/data/APP_NAME/files/test.txt exposed beyond app through Intent.getData()"

Can any one help me.

@vasuvuggu
Copy link

Even for me opening pictures of jpg type , throwing error like Undefined error ,
this issue reproducing for android 7.0 version,
and it works fine for ipad ,
can anyone have suggestions to resolve this in android?

@Vinoth18
Copy link

Vinoth18 commented Feb 6, 2018

I am also facing the same problem. Is there any update on the resolution?

@lovefly0326
Copy link

you can modify the source code to adapt to android 7.0 or higher.

@Owlbertz
Copy link

Owlbertz commented Aug 6, 2018

Same issue here. I found out that using content:// instead of file:// (see https://stackoverflow.com/a/40674771/9002500) causes the error to disappear, but after selecting the application to use the screen stays blank.

@lovefly0326
Copy link

You can modify the source code to replace file:// with content:// to adapt to android 7.0 or higher, it's very easy.@Owlbertz

@Owlbertz
Copy link

Owlbertz commented Aug 6, 2018

@lovefly0326 I did but as mentioned above that leads to the screen staying blank.
I went with setting the targetSdkVersion back to 23, which apparently also works.

@lovefly0326
Copy link

Sorry,I don't know @Owlbertz

@adrianjarc
Copy link
Contributor

This was fixed in #55 and made it to develop branch. But never made it to release

@disusered
Copy link
Owner

disusered commented Apr 15, 2019

This is released now #63 in 1.1.1

@adrianjarc
Copy link
Contributor

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

7 participants