wonday / react-native-pdf

A <Pdf /> component for react-native
MIT License
1.58k stars 540 forks source link

[Android] - Error in bundled version #735

Closed Guccieii closed 1 year ago

Guccieii commented 1 year ago

What react-native version are you using? - 0.70.4

What react-native-pdf version are you using? - 6.6.2

What platform does your issue occur on? (android/ios/both) - Android

Describe your issue as precisely as possible : The signed APK app crash immediately. The logs on crashlytics shows this error:

Fatal Exception: java.lang.RuntimeException
Unable to load script. Make sure you're either running Metro (run 'npx react-native start') or that your bundle 'index.android.bundle' is packaged correctly for release.

The issue appears just after the installation of this library and trying to remove it the app run perfectly. The app properly run also in development mode with the library installed.

There is some specific way to build the app with this library? Thanks in advice!

Guccieii commented 1 year ago

Closing because the problem was not related to this library but to the react-native-blob-util version.