Skip to content

NON HTTPS Webview not loading #6793

@saibbyweb

Description

@saibbyweb

Environment

√ Getting NativeScript components versions information...
√ Component nativescript has 5.1.0 version and is up to date.
√ Component tns-core-modules has 5.1.1 version and is up to date.
√ Component tns-android has 5.1.0 version and is up to date.
‼ Update available for component tns-ios. Your current version is 5.0.0 and the latest available version is 5.1.0.

Describe the bug
I'm using Nativescript-Vue and WebWiew component is not loading NON HTTPS websites.
Tested on emulator running Android 9.0 and a physical device running iOS 12.1

On Android it throws the following error :
net::ERR_CLEARTEXT_NOT_PERMITTED

and on iOS, I couldn't see any error as the load never finished.

To Reproduce
Just add a simple WebView and provide a non-https URL as src
<WebView src="http://google.com/" />

Expected behavior
Should load a NON HTTPS website.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions