binSaed / flutter_cached_pdfview

Enhanced PDF view for Flutter.
https://pub.dev/packages/flutter_cached_pdfview
MIT License
117 stars 67 forks source link

White screen after loading PDF anly API 21 #67

Open Vasilisk7 opened 2 years ago

Vasilisk7 commented 2 years ago

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

binSaed commented 2 years ago

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

Vasilisk7 commented 2 years ago

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

binSaed commented 2 years ago

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

are you find the same issue with the real devices?

Vasilisk7 commented 2 years ago

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 commented 2 years ago

Do you have any information about my question?

nachikamod commented 2 years ago

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

nachikamod commented 2 years ago

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

Vasilisk7 commented 2 years ago

My problem is still not solved :(

nachikamod commented 2 years ago

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.

Vasilisk7 commented 2 years ago

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

ajdakter commented 2 years ago

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

isAlmogK commented 2 years ago

Same issue

colbapnauj commented 1 year ago

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

YuhooZhu commented 1 year ago

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

lvsang1504 commented 1 year ago

I also got it when run release? Please help!

MaximilianFlechtner commented 1 year ago

+1

LHARISMENDY commented 1 year ago

+1