react-native-PDFView icon indicating copy to clipboard operation
react-native-PDFView copied to clipboard

Cannot render PDF Android. iOS working fine

Open vinod1988 opened this issue 1 year ago • 4 comments

Describe the bug A clear and concise description of what the bug is.

To Reproduce

  • [ ] I checked the demo project and cannot reproduce the issue
  • [ ] I checked the demo project and the issue exists

Steps to reproduce the behavior:

  1. Render PDF with 'blob data'
  2. Other actions '...'
  3. See error

Expected behavior PDF should render and display on the screen

Screenshots If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: [e.g. Android All Devices]
  • OS: [e.g.Android 13]
  • Version [e.g. 0.14.0]

Additional context Add any other context about the problem here.

Cannot render PDF {"message": "error: Failed resolution of: Landroid/support/v4/util/ArrayMap;"}

vinod1988 avatar May 24 '24 13:05 vinod1988

Is it your project or demo?

rumax avatar May 29 '24 19:05 rumax

HUAWEI-STK-L22-Android-10_2024-09-18_140019.logcat.zip

My project was same error with android.

Logcat android on attachment

My info project: React-native version: 0.74.0 PDF src: https://drive.google.com/drive/folders/1Z7-W0TGwRi-EKSeJz-jdM2dAgrccThM5?usp=sharing

Please help us to support. Thank you

Minhuun avatar Sep 18 '24 07:09 Minhuun

HUAWEI-STK-L22-Android-10_2024-09-18_140019.logcat.zip

My project was same error with android.

Logcat android on attachment

My info project: React-native version: 0.74.0 PDF src: https://drive.google.com/drive/folders/1Z7-W0TGwRi-EKSeJz-jdM2dAgrccThM5?usp=sharing

Please help us to support. Thank you

Hi @Minhuun , you give a link to the folder, not to a document. This is what I get if I open the link you provided:

image

Did you try direct link to the document?

rumax avatar Sep 18 '24 07:09 rumax

HUAWEI-STK-L22-Android-10_2024-09-18_140019.logcat.zip My project was same error with android. Logcat android on attachment My info project: React-native version: 0.74.0 PDF src: https://drive.google.com/drive/folders/1Z7-W0TGwRi-EKSeJz-jdM2dAgrccThM5?usp=sharing Please help us to support. Thank you

Hi @Minhuun , you give a link to the folder, not to a document. This is what I get if I open the link you provided:

image

Did you try direct link to the document?

Yes I had try already, but it was not work just on android.

Thank.

Minhuun avatar Sep 19 '24 03:09 Minhuun