Skip to content

the code doesn't work for android  #1

Description

@alwaysgot200

hello, leefsmp

the project doesn't work in my android as follow:

2018-04-22_14-52-49

I am wondering the assets folder can't be bundled output to android simulator,
so the code

    return RNFS.DocumentDirectoryPath

...

this.setState({
uri: file:///${path}/www/viewer.html
})

can't access the static resources.

how to do that ???

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions