lucasferreira / react-native-webview-android

Simple React Native Android module to use Android's WebView inside your app
355 stars 158 forks source link

Error: ERR_UNKNOWN_URL_SCHEME #97

Closed smitthakkar1 closed 6 years ago

smitthakkar1 commented 6 years ago

I am trying to render a webpage but it's giving me Error: ERR_UNKNOWN_URL_SCHEME.

I tried rendering other sites like Google, Facebook and it's working fine. below is my code.

    const URL  = "https://stellarterm.com";

        <WebViewAndroid 
          url={URL}
          style={{flex:1}}
        /> 

Above code renders "Webpage Not Available" with error code "ERR_UNKNOWN_URL_SCHEME".

lucasferreira commented 6 years ago

Hi @smitthakkar1

Are you responsible for https://stellarterm.com website or just developing some app that need to use that URL?

smitthakkar1 commented 6 years ago

thanks for your reply. Well, I am just developing some app that needs to use that.

smitthakkar1 commented 6 years ago

By the way, if it's something that time consuming for you then you can skip it as I found another way.

I used <WebView> component by React-Native and injected a script into it which change the initial-scale in <meta>