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

Custom android chrome client (allowing for file selection) #249

Merged
merged 6 commits into from
Nov 5, 2024

Conversation

DanicMa
Copy link
Contributor

@DanicMa DanicMa commented Nov 1, 2024

Hi @KevinnZou :) I took the liberty of expanding on @briandr97 's PR based on your comment to be able to open a file picker on Android.

Came up with this solution (generic but requiring empty actual classes for ios and desktop) since it's backwards compatible and imho less obfuscated than using a LocalCompositionProvider that would provide the webViewClient and chromeClient to the AccompanistWebView.

Please let me know if you have a different approach in mind or feel free to do some changes to this PR in case it's not exactly to your liking :)

@KevinnZou KevinnZou merged commit 3e95ced into KevinnZou:main Nov 5, 2024
4 checks passed
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 this pull request may close these issues.

4 participants