Skip to content

TurboModuleRegistry.getEnforcing(...): 'RNGetLocation' could not be found. #65

@anh-tuan03

Description

@anh-tuan03

Hi, i just upgrade from react native get location v4.x to v6.x and it seem to have a bug relate to new support for new architecture

Uncaught Error
TurboModuleRegistry.getEnforcing(...): 'RNGetLocation' could not be found. Verify that a module by this name is registered in the native binary.

For setup, i use enableHighAccuracy: true so i add "Fine Location" permission

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

You can reproduce the bug with these lib install or use this repo i create down below, it a complete new project, using android 15

"react-native": "^0.78.3",
"react-native-get-location": "^6.0.0",
"react-native-permissions": "^5.4.2"

Reproduce Bug Repo: here

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions