Nativescript, JavaScript, iOS App Development, Android App Development, Programming.
setting on Android after location permission has been granted by the user and the MapView has been initialized. This approach may lead to a race condition since we expect the map plugin to finish loading before the permissions check in mounted(), otherwise, the button may not be enabled and shown.