Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose Webview component #57

Open
airandfingers opened this issue Oct 16, 2017 · 0 comments · May be fixed by #58
Open

Expose Webview component #57

airandfingers opened this issue Oct 16, 2017 · 0 comments · May be fixed by #58

Comments

@airandfingers
Copy link

We'd like to customize our Webview's settings, including its user agent string and permissions. On Android, these require access to the Webview component, to make calls like these:

let settings = webView.android.getSettings();
settings.setUserAgentString('My Custom UA String');
settings.setAllowFileAccess(false);

nativescript-oauth doesn't currently expose the Webview component, so we currently can't change settings like this.

@airandfingers airandfingers linked a pull request Oct 16, 2017 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant