binSaed/flutter_cached_pdfview

Once rotate the screen from verticle to horizon, the position of pdf runs away

Opened this issue ยท 5 comments

Testing env : iOS 14.8 / Android 11

The bug only happening on Android devices.

Please take a look into this !!
Thanks.

me too. when I change the orientation screen from portrait to landscape, it show blank screen: D/jniPdfium(18011): Init FPDF library
D/jniPdfium(18011): Destroy FPDF library

@AbdOoSaed

Hello there, I have check that method, but I have no idea how to deal with that pdfViewerKey shows in didChangeMetrics override function !!!

Could you help to make an simple sample for that implementation within example directory ?
Thanks a lot for helping us !!

By the way, I really love your lib lol !!!

@jason19970210 @minhx3 this solutions will help endigo/flutter_pdfview#9 (comment)

it is a work arround for orientation, but also on setState it goes blanc!