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

App crashes when trying to show pdf in production mode(apk) android and ios #138

Closed
Ugur22 opened this issue Mar 7, 2021 · 1 comment
Closed
Labels
wontfix This will not be worked on

Comments

@Ugur22
Copy link

Ugur22 commented Mar 7, 2021

Issue Description

I'm using this library in a Vue-native expo project to show pdf's. It works fine in development but once I build an apk the app crashes whenever I'm trying to show a pdf. Does anyone else have this issue? I have tried to debug in production mode but I only got the error below which doesn't really help a lot.

Steps to Reproduce / Code Snippets

  1. go to overview documents
  2. select a file which contains a pdf
  3. new screen opens and shows pdf document

Expected Results

show a pdf document

actual Result

Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined.

This error is located at:
    in RCTView
    in View
    in l
    in Styled(l)
    in l
    in P
    in RCTView
    in View

Additional Information

@stale
Copy link

stale bot commented Jun 3, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Jun 3, 2021
@stale stale bot closed this as completed Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant