Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SfPdfViewer.memory not open protected PDF #1948

Open
gustavorozolin opened this issue Jun 25, 2024 · 2 comments
Open

SfPdfViewer.memory not open protected PDF #1948

gustavorozolin opened this issue Jun 25, 2024 · 2 comments
Labels
pdf viewer PDF viewer component waiting for customer response Cannot make further progress until the customer responds.

Comments

@gustavorozolin
Copy link

gustavorozolin commented Jun 25, 2024

Bug description

I'm trying show a preview pdf in my flutter app at MacOS but it not open my PDF, if I download e use the same password its word for me

Steps to reproduce

Just try open the file in app using its password

Code sample

Code sample
SfPdfViewer.memory(file, password: widget.password))

Screenshots or Video

Screenshots / Video demonstration Screenshot 2024-06-25 at 11 04 37

Stack Traces

Stack Traces
Dont got any error

On which target platforms have you observed this bug?

Android, Windows, macOS

Flutter Doctor output

Doctor output
g@g-MacBook-Pro ~ % flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.22.2, on macOS 14.5 23F79 darwin-arm64, locale
    en-BR)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.2)
[✓] IntelliJ IDEA Community Edition (version 2024.1.4)
[✓] VS Code (version 1.88.1)
[✓] Connected device (3 available)            
    ! Error: Browsing on the local area network for Gustavo Rozolin’s iPhone. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources

• No issues found!
g@g-MacBook-Pro ~ % 
@VijayakumarMariappan VijayakumarMariappan added pdf viewer PDF viewer component open Open labels Jun 26, 2024
@immankumarsync
Copy link

Hi @gustavorozolin,
We are unable to replicate the reported issue, and the encrypted document is loading properly in the SfPdfViewer.memory widget. Please see the attached screenshot below.
image

To help us analyze the issue further and provide you with a prompt solution, please share the following information:

  1. The PDF document in which the issue occurs.
  2. Detailed steps to replicate the issue, including a replication video if possible.
  3. A simple sample project where the issue can be reproduced.

@Deepak1799 Deepak1799 added waiting for customer response Cannot make further progress until the customer responds. and removed open Open labels Jun 28, 2024
@gustavorozolin
Copy link
Author

@immankumarsync I can't publish the PDF, as it contains sensitive data from my client, is there any other way I can send it to you? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pdf viewer PDF viewer component waiting for customer response Cannot make further progress until the customer responds.
Projects
None yet
Development

No branches or pull requests

4 participants