Vinicius Freitas
Vinicius Freitas
I have the same problem. In debug mode it works perfectly, but in realease mode I get this error message on Xcode. "Failed to fetch scripts or layout. File 'file:///Users/Vinas/Library/Developer/CoreSimulator/Devices/C375A33E-EFA3-4983-B644-2E66FFD7C5BA/data/Containers/Data/Application/868BF4A0-E28C-4C4F-9485-95D94CA0BB3C/Library/Caches/ExponentAsset-ffceb4b4585b380fc666d3882abee7e5.html'...
> ### Hotfix > > Modifiy `setLayout` in `HighchartsReactNative.js` > > ``` > setLayout = async () => { > const indexHtml = Asset.fromModule(require('../highcharts-layout/index.html')) > this.setState({ > layoutHTML: await FileSystem.readAsStringAsync(indexHtml.uri)...