Webview: Error Code: -1

  1. SDK Version: 36
  2. Platforms(Android/iOS/web/all): Android

My App entry point code:
`import React from ‘react’;
import { WebView } from ‘react-native-webview’;

export default App = () => (
source={{ uri: ‘https://www.google.com’ }}

but when i run it, i get following error:

Encountered an error loading page, Object { "canGoBack": false, "canGoForward": false, "code": -1, "description": "net::ERR_CACHE_MISS", "loading": false, "target": 3, "title": "Web page not available", "url": "https://www.google.com/", }

NOTE: My phone is connected to wifi, and internet is reachable. still… my EXPO SDK version is 36…
PS. I tried the official snack at https://snack.expo.io/@wodin/webview-example but to no avail… got the same error…

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.