Skip to content

Files don't appear and there is no error message. Is there a way to get diagnostic info from the component to find out why? #2

@pedramsaleh

Description

@pedramsaleh

I'm trying to display some different file types, but just get a "Loading" animation and they never load. Is there a way to determine if the files are being seen by the component?

I'm passing a reference to the files as a relative path (i.e. put the sample pdf in the same folder as the code using it and display it using <QuickLook style={{ flex: 1 }} assetFileName={ './sample.pdf' } />). Is that approach not supported? How about using a React Native asset file, like require('../assets/sample.pdf')?

Additionally, I I had to wrap each component in its own view before I got a "Loading" animation for each one, otherwise only the first one had the animation and the others were just blank.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions