Plugin shows blank screen on loading pdf
I had no problem on older flutter versions but i get following errors recently after upgrading to latest flutter and using flutter_pdfview 1.3.2:
2 D/EGL_emulation( 9271): eglMakeCurrent: 0x7ffa2747c460: ver 3 1 (tinfo 0x7ffa27418560) W/OpenGLRenderer( 9271): dequeueBuffer failed, error = -110; switching to fallback 2 D/EGL_emulation( 9271): eglMakeCurrent: 0x7ffa2747c460: ver 3 1 (tinfo 0x7ffa27418560) W/OpenGLRenderer( 9271): reserveNext failed, error = -2147483648 (Unknown error -2147483648) D/EGL_emulation( 9271): eglMakeCurrent: 0x7ffa2747c460: ver 3 1 (tinfo 0x7ffa27418560) I/chatty ( 9271): uid=10146(ir.dbook.app) RenderThread identical 6 lines D/EGL_emulation( 9271): eglMakeCurrent: 0x7ffa2747c460: ver 3 1 (tinfo 0x7ffa27418560)
Consider that i run in debug mode with --no-enable-impeller and it works fine while not using it. there is performance issues with vulkan and i don't know what is the problem with --no-enable-impeller!?
I'm also encountering this issue. Sometimes the pdf shows blank upon opening it on the pdf viewer, but if I interact with the viewer, it loads and works fine after that.
It's annoying because if there's no interaction, it stays blank.
It doesn't happen everytime though, but most of the time.
Same issue, Does anyone have any idea on how to solve this?
temporary solution @override void initState() { // TODO: implement initState super.initState(); Timer(const Duration(seconds:1), () { setState(() { print("reload hahahaha"); }); }); }
I encountered the same problem. My app used PDF in two places. The first place had no problem, but the second place kept encountering this problem.