Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Feature: Option to open Settings #182

Closed
bradmartin opened this issue Jan 8, 2019 · 4 comments
Closed

Feature: Option to open Settings #182

bradmartin opened this issue Jan 8, 2019 · 4 comments
Assignees

Comments

@bradmartin
Copy link
Contributor

Implement an option to present the user with the Permissions setting screen for the current application if isEnabled returns false.

@DimitarTodorov
Copy link
Contributor

Hi @bradmartin

The feature is implemented in the latest version of nativescript-geolocation @4.4.0, which is now published to npm.

@Ahnert1
Copy link

Ahnert1 commented Jan 24, 2019

When using version 4.4.0, my nativescript-angular app shows this error when executing tns build ios --bundle --clean:

ERROR in node_modules/nativescript-geolocation/location-monitor.d.ts(112,48): error TS2304: Cannot find name 'CLAuthorizationStatus'.

I reverted to 4.3.1 to avoid this issue.

@DimitarTodorov
Copy link
Contributor

Hi @Ahnert1 ,

Can you please provide us a sample app where the issue can be reproduced and steps to reproduce it.

@Ahnert1
Copy link

Ahnert1 commented Jan 25, 2019

@DimitarTodorov

I have a sample nativescript playground app which has nativescript-geolocation@4.4.0 installed.
https://play.nativescript.org/?template=play-ng&id=V3eMs1

To view the error, simply open the file location-monitor.d.ts located here:

image

You will now see that an Error has appeared:

image

I have created another playground app which has nativescript-geolocation@4.3.1 (previous version) installed.
https://play.nativescript.org/?template=play-ng&id=IquSwo

No error will be displayed when following the same steps as above.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants