Skip to content

Enable Android 6 way for requesting permissions #1451

@atanasovg

Description

@atanasovg

Quoting from the official Android guides:

Beginning in Android 6.0 (API level 23), users grant permissions to apps while the app is running, not when they install the app.

Once we integrate the new functionality from the Android Runtime (NativeScript/android#283) we need to base our Activity on AppCompatActivity and provide an implementation of the OnRequestPermissionsResultCallback interface. Then we need to design some JavaScript-friendly API to allow people to enable permissions more elegantly than calling native APIs.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions