Skip to content

WebView doesn't request or grant camera/location permissions in Hotwire Native Android #134

@I-Himanshu

Description

@I-Himanshu

In my Rails web app, features like camera and location work fine in a mobile browser where permissions are requested automatically.

However, when opened in the Hotwire Native Android app, the WebView doesn't request permissions, and access to camera/location is blocked.

Expected:

  • App should request permissions (camera, location, etc.)
  • Once granted, web app should be able to access them via JS APIs

Actual:

  • No permission prompt
  • Features like navigator.geolocation or camera input silently fail

Would be great if Hotwire Native Android supported auto-requesting and granting these permissions to the WebView.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions