-
How did you link to the library (autolinking, manual, rn link, cocoapods)?
Autolinking
-
What version of React Native?
0.74.5
-
What version of the library?
1.3.2
-
iOS/Android version?
Android 13
-
Did the problem happen after updating React Native?
No
-
Are you using the library for the first time?
Yes
On Android, zooming inside a large/complex PDF file (over ~6Mo) causes the app to crash:
java.lang.RuntimeException: Canvas: trying to draw too large(134806560bytes) bitmap.
android.graphics.RecordingCanvas.throwIfCannotDraw(RecordingCanvas.java:266)
android.graphics.BaseRecordingCanvas.drawBitmap(BaseRecordingCanvas.java:94)
android.graphics.drawable.BitmapDrawable.draw(BitmapDrawable.java:549)
android.widget.ImageView.onDraw(ImageView.java:1449)
android.view.View.draw(View.java:23351)
android.view.View.updateDisplayListIfDirty(View.java:22210)
android.view.View.draw(View.java:23076)
android.view.ViewGroup.drawChild(ViewGroup.java:4544)
androidx.recyclerview.widget.RecyclerView.drawChild(RecyclerView.java:5545)
android.view.ViewGroup.dispatchDraw(ViewGroup.java:4302)
com.github.douglasjunior.reactNativePdfRenderer.modules.PdfRendererRecyclerView.dispatchDraw(PdfRendererRecyclerView.java:156)
EDIT : This doesn't crash on version 1.2.0 (But the pdf rendering is kinda blurry)
How did you link to the library (autolinking, manual, rn link, cocoapods)?
Autolinking
What version of React Native?
0.74.5
What version of the library?
1.3.2
iOS/Android version?
Android 13
Did the problem happen after updating React Native?
No
Are you using the library for the first time?
Yes
On Android, zooming inside a large/complex PDF file (over ~6Mo) causes the app to crash:
EDIT : This doesn't crash on version 1.2.0 (But the pdf rendering is kinda blurry)