Skip to content

Web Container to have location access #258

@shierro

Description

@shierro

Hi, i have a single page web app, that i want to load in a web container. So far, it loads it well.

Now, some of the page needs to access location data, but for some reason the webview doesn't ask me to allow/block the location access, and rejects it immediately.

i have added some permissions but still doesn't seem to work

    <uses-permission android:name="android.permission.ACCESS_GPS" />
    <uses-permission android:name="android.permission.ACCESS_ASSISTED_GPS" />
    <uses-permission android:name="android.permission.ACCESS_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

Might be related to this but i'm not sure how or where to inject the android code

Can anyone give me some leads on how to do this properly? Will appreciate any feedback and thanks in advance!

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