Comments (7)
I have an idea what could be the problem. The plugin is not yet able to simultaneously process a large number of pages. As a workaround, you can use: https://pub.dev/packages/synchronized
from packages.flutter.
@SergeShkurko Do you have an example how to use synchronized to prevent this issue?
from packages.flutter.
solved the problem by placing a one second splash screen on a stack widget
from packages.flutter.
@RenanDelfanti you cant try use native_pdf_renderer 1.7.0
from packages.flutter.
@SergeShkurko I have same error.
E/AndroidRuntime(16771): FATAL EXCEPTION: Thread-15
E/AndroidRuntime(16771): Process: br.com.bmtcloud.jasaudeanimal, PID: 16771
E/AndroidRuntime(16771): java.lang.IllegalStateException: Current page not closed
E/AndroidRuntime(16771): at android.graphics.pdf.PdfRenderer.throwIfPageOpened(PdfRenderer.java:269)
E/AndroidRuntime(16771): at android.graphics.pdf.PdfRenderer.openPage(PdfRenderer.java:224)
E/AndroidRuntime(16771): at io.scer.pdf.renderer.document.Document.openPage(Document.kt:30)
E/AndroidRuntime(16771): at io.scer.pdf.renderer.NativePDFRendererPlugin$openPageHandler$1.run(NativePDFRendererPlugin.kt:129)
E/AndroidRuntime(16771): at java.lang.Thread.run(Thread.java:764)
D/EGL_emulation(16771): eglMakeCurrent: 0xe673f1c0: ver 3 1 (tinfo 0xd7ecf2a0)
from packages.flutter.
My pubspec:
native_pdf_view: ^2.1.1
native_pdf_renderer: ^1.7.0
from packages.flutter.
native_pdf_view: ^2.2.0
native_pdf_renderer: ^1.8.1
from packages.flutter.
Related Issues (20)
- Type 'DecoderCallback' not found while build app on flutter version 3.16.0 HOT 2
- Error: Type 'DecoderCallback' not found. HOT 4
- 3.16.0 version flutter compilation failed HOT 3
- PdfControllerPinch.calculatePageFitMatrix RangeError (length): Invalid value: Not in inclusive range 0..1: -1
- PDFX: Downgrade uuid back to ^3.0.6 HOT 6
- : error G5FE39F1E: Type 'DecoderCallback' not found. HOT 4
- PdfViewPinch flicks and auto scroll to top on web HOT 3
- Type 'DecoderCallback' not found. HOT 2
- Getting `Error: Type 'DecoderCallback' not found.` Error when upgrade flutter to 3.16.0 HOT 2
- New Pub.dev package release with latest fix are planed ? HOT 32
- Error: Type 'DecoderCallback' not found - PDFX - Flutter HOT 2
- PDFX not works in Flutter 3.16.3 when use data type Uint8List HOT 9
- Preload some pages
- Publish new version to pub.dev HOT 1
- Rendering on Android blocks UI HOT 3
- Add page flip animation
- not working for windows HOT 1
- Linux Support
- update `ReadMe` with the correct import
- Error in Pdfx v2.5.0: 'DecoderCallback' Type Issue in PdfPageImageProvider HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from packages.flutter.