flutter_cached_pdfview icon indicating copy to clipboard operation
flutter_cached_pdfview copied to clipboard

White screen after loading PDF anly API 21

Open Vasilisk7 opened this issue 3 years ago • 17 comments

v.0.4.1 I download pdf via url, everything works fine.

But only on API 21 after loading a white screen remains and that's it I attach screenshots of the code, logs and screen. Sorry for the quality, I take pictures from my work laptop.

IMG_20211214_151015 IMG_20211214_151144 IMG_20211214_151043

Vasilisk7 avatar Dec 14 '21 12:12 Vasilisk7

Hi @Vasilisk7 please download example project and run it to check if it has the same issue

binSaed avatar Dec 14 '21 13:12 binSaed

I downloaded the example and checked it on API 21, the problem persists, I attach a video

https://user-images.githubusercontent.com/35864378/146187310-18718e79-98e3-44a2-ae49-e4cf8feaae3f.mp4

https://user-images.githubusercontent.com/35864378/146187318-8e4a66f5-7cb1-4f23-905d-02c7f83c3071.mp4

Vasilisk7 avatar Dec 15 '21 12:12 Vasilisk7

please tell me what is the flutter version you use flutter --version

are you find the same issue with the real devices?

binSaed avatar Dec 15 '21 12:12 binSaed

Flutter 2.8.0 Dart 2.15.0

On a real device API 21 there is no way to check (no device). On API 29-30 on a real device everything works.

Vasilisk7 avatar Dec 15 '21 13:12 Vasilisk7

Do you have any information about my question?

Vasilisk7 avatar Feb 18 '22 12:02 Vasilisk7

Having the same issue with version 0.4.1 On Android 11 API 30

nachikamod avatar Apr 13 '22 10:04 nachikamod

Ok seems like I was messing up with URL and that is why the widget was rendering blank, my issue is solved

nachikamod avatar Apr 13 '22 11:04 nachikamod

My problem is still not solved :(

Vasilisk7 avatar Apr 13 '22 11:04 Vasilisk7

Check your URL and if you are using any kinds of headers check if they are properly assigned or not You can either log the url and headers before assignment.

nachikamod avatar Apr 13 '22 12:04 nachikamod

I downloaded the demo project and ran it without changing anything. The problem persists, this is all I described above.

Vasilisk7 avatar Apr 13 '22 12:04 Vasilisk7

Having the same issue with version 0.4.1 On Android 11 API 30

I have same problem, how can I solve ? Android 11 API 30

ajdakter avatar May 13 '22 08:05 ajdakter

Same issue

isAlmogK avatar Aug 04 '22 08:08 isAlmogK

same issue, It worked in debug mode, but in release didn't. I included the proguard configuration but don't work

colbapnauj avatar Aug 29 '22 19:08 colbapnauj

I downloaded the demo project and ran it without changing anything. The problem persists, this is all I described above.

same issue,have you solved? It seems cann't use in API 21

YuhooZhu avatar Nov 29 '22 06:11 YuhooZhu

I also got it when run release? Please help!

lngvnsang avatar Feb 15 '23 01:02 lngvnsang

+1

MaximilianFlechtner avatar Mar 09 '23 10:03 MaximilianFlechtner

+1

LHARISMENDY avatar Jun 19 '23 15:06 LHARISMENDY