Error while opening file on android device

Product: PDFTron Reader for Flutter

Product Version: 1.0.1-4

Please give a brief summary of your issue: Hello, i have problem when opening files on android emulator or real android device.
(Think of this as an email subject)

Please describe your issue and provide steps to reproduce it: Files aren`t opening from the first attemp sometimes. I can open to read the file only from the second or the third attemp. App was created on flutter. I havent any logs of this issue. How can i fix it? Also i have two questions, how can i handle errors when using DocumentView Widget and manual set colors palette of appBar in DocumentView?
(The more descriptive your answer, the faster we are able to help you)

Please provide a link to a minimal sample where the issue is reproducible: GitHub - RAVLbIK/reader.dart

Hi there,

Thank you for contacting Android Support forum,

For the document loading issue, could you please provide a minimal runnable sample to reproduce the issue from our end?

For the error handling, you can use this API for document opening errors:

For the app theming, you will need to override the PDFTronAppTheme style in the styles.xml file.
We don’t have a Flutter example, but it should be similar to our native Android sample here:

Best regards,
Kevin Kim