GoogleChrome / android-browser-helper

The Android Browser Helper library helps developers use Custom Tabs and Trusted Web Activities on top of the AndroidX browser support library.
Apache License 2.0
695 stars 289 forks source link

Site Permission Shortcut #481

Open build3r opened 1 month ago

build3r commented 1 month ago

I have an webapp which is integrated as Trusted Web Activity using browser helper

Problem

The webapp uses camera permission to take picture. If by mistake the user denies the permission there is no easy was to redirect user to give this permission again. If the it was in browser or Chrome custom tab we suggest user to access site permission from Nav bar. But this is an issue on TWA as their is no nav bar. Looks like image

Describe the solution you'd like Give option for the webapp to toggle nav bar if needed.

Describe alternatives you've considered Tried if we can deeplink into site settings but looks like its not possible