Giter Site home page Giter Site logo

crash app about packages.flutter HOT 7 CLOSED

scerio avatar scerio commented on June 14, 2024
crash app

from packages.flutter.

Comments (7)

SergeShkurko avatar SergeShkurko commented on June 14, 2024 1

@AnhTu6610 , @deepss1

native_pdf_view: ^2.2.0
native_pdf_renderer: ^1.8.1

from packages.flutter.

SergeShkurko avatar SergeShkurko commented on June 14, 2024

@AnhTu6610 can you attach the code that caused the error?

from packages.flutter.

SergeShkurko avatar SergeShkurko commented on June 14, 2024

@AnhTu6610 any news?

from packages.flutter.

deepss1 avatar deepss1 commented on June 14, 2024

Facing the same issue in Android (yet to check in iOS)

Scenario explanation :

App closes on trying to open the PDF.
I have two functionality in the app which uses this plugin.

  1. View PDF
  2. Share a PDF page as image.

2nd works just fine. But when trying to view PDF it force closes the app.

from packages.flutter.

SergeShkurko avatar SergeShkurko commented on June 14, 2024

Do you close the page before opening a new one?

from packages.flutter.

SergeShkurko avatar SergeShkurko commented on June 14, 2024

For example: https://github.com/rbcprolabs/packages.flutter/blob/master/packages/native_pdf_renderer/example/lib/main.dart#L129

from packages.flutter.

SergeShkurko avatar SergeShkurko commented on June 14, 2024

try it: #29 (comment)

from packages.flutter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.