nativescript-community / nativescript-community/ui-webview

Request to export WebChromeViewExtClientImpl class

Open
#1 1 comment 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
22
Forks
9
PR merge metrics
No merged PRs in 30d

Description

Would it be possible to export the WebChromeViewExtClientImpl class from ui-webview/src/webview/index.android.ts? I'm trying to extend the functionality of the android webview to support opening a file picker in our code base. To do that, I need to extend the WebChromeViewExtClientImpl class with the methods that handle file pickers and set the new chromeClient on the nativeView.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with ui-webview/src/webview/index.android.ts and inspect how WebChromeViewExtClientImpl is declared and how the nativeView receives its chrome client. Done means consumers can import and extend the class to add file-picker handling and use the resulting chrome client.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
mobile-dev
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.