Skip to content

PERMISSION_DENIED:1, POSITION_UNAVAILABLE: 2 Code : 2, Message: "No location provider available". in Android device #120

@prajna-h

Description

@prajna-h

Getting the below error
{ "PERMISSION_DENIED": 1, "POSITION_UNAVILABLE":2, "TIMEOUT": 3, "code" 2, "message": "No location provider available."}

Environment
react-native-cli: 2.0.1
react-native: 0.62.2

@react-native-community/geolocation: ^2.0.2

buildToolsVersion = "28.0.3"
minSdkVersion = 16
compileSdkVersion = 28
targetSdkVersion = 28
supportLibVersion = "27.1.1"
googlePlayServicesAuthVersion = "17.0.0"

Android version - 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions