Works through the expo app locally but not as a standalone app nor when published on expo.io. What could I be doing wrong?
const OfflineKartHTML = require('./../assets/src/OfflineMap.html')
<WebView
originWhitelist={['*']}
javaScriptEnabled={true}
domStorageEnabled={true}
mixedContentMode={'always'}
geolocationEnabled={true}
startInLoadingState={true}
source={OfflineKartHTML}
style={{ flex: 1 }}
ref={(el) => { this.webview = el; }}
onMessage={this.handleMessage}
zIndex={-2}
renderError={() => alert('error')}
>
</WebView>