I’m using SDK version 25 and am bundling the contents of a directory using the foolowing key in my app.json file
"assetBundlePatterns": [ "dist/**" ]
I’m then trying to require one of the files in a WebView component using the following:
Of course, this works during local development since the path points to file location on my local machine. However, it does not work when the app is published.
I’m assuming that since V25 allows asset bundling, fetching and caching assets isn’t required for those assets. Is that a correct assumption?
Bottom line: what is the correct path to get to assets bundled using the technique added in V24 and expanded in V25? Are those assets required to be included via an import or require statement, or can I access them via a uri type of address?