react native network request failed fetch 1

react native network request failed fetch

// Add this to info.plist

NSAppTransportSecurity

    NSAllowsArbitraryLoads
    


// Add this to AndroidManifest.xml


Here is what the above code is Doing:
1. We are creating a new instance of the WebView class.
2. We are setting the WebView’s source to a URL.
3. We are adding the WebView to the view hierarchy.
4. We are calling the WebView’s load() method.

Similar Posts