rumax / react-native-PDFView

📚 PDF viewer for React Native
MIT License
300 stars 92 forks source link

Cannot render PDF Android. iOS working fine #258

Open vinod1988 opened 4 months ago

vinod1988 commented 4 months ago

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

To Reproduce

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):

Additional context Add any other context about the problem here.

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

rumax commented 4 months ago

Is it your project or demo?

Minhuun commented 1 week ago

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

rumax commented 1 week ago

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?

Minhuun commented 1 week ago

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.