WebView Problems in Publishing


#1

Please disregard. I realized my JavaScript was not getting bundled in the html file.

I have an application that has a WebView in it. The WebView points to a file that should be bundled with the application since I have the following in my app.json

"packagerOpts": {
      "assetExts": ["html"]
    },
    "assetBundlePatterns": [
      "**/*"
    ]

However, the WebView does not show the file when the app is published. It does correctly render the file in development and non-development mode.

Additionally, the WebView does display a standard webpage when I use the webpage as its source ({uri: ‘https://github.com/facebook/react-native’} for example)

My app should display a map in its webview, and should look like this when published:
image


closed #2

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.