I'm trying to open my website https://beta.truckerdistrict.com in a react native app and it's giving me a white screen without any error or alerts in UI. I tested https://facebook.com and other and all is working fine. Checking logs I found the following error:
Failed to validate the certificate chain, error: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found
Here is my webview code, it's really simple without anything special:
<WebView
ref={this.WEBVIEW_REF}
userAgent={this.USER_AGENT}
javaScriptEnabled={true}
uploadEnabledAndroid={true}
allowUniversalAccessFromFileURLs={true}
mixedContentMode="always"
onNavigationStateChange={this._onNavigationStateChange}
onLoadEnd={this._onLoadEnd}
onError={this._onLoadError}
onMessage={this._onWebMessage}
source={{uri: this.BASE_URL}}