Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternatives for triggerActivities #1369

Open
HoseinHaqiqian opened this issue Oct 17, 2024 · 3 comments
Open

Alternatives for triggerActivities #1369

HoseinHaqiqian opened this issue Oct 17, 2024 · 3 comments

Comments

@HoseinHaqiqian
Copy link

Is there anyway to make the plugin only listen to running and walking activities and ignore on_vehicle location events?Currently plugin only supports triggerActivities for android, is there any other ways to make it work for iOS?

@christocracy
Copy link
Member

christocracy commented Oct 17, 2024

I've recently implemented Config.triggerActivities for iOS but haven't yet released it.

NOTE: If the user doesn't grant "Physical Activity" permission, this feature will not work.

@HoseinHaqiqian
Copy link
Author

Will the requestPermissions function work for getting that permission? or should be done outside of plugin?

@christocracy
Copy link
Member

The plugin automatically requests Physical Activity permission.

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

No branches or pull requests

2 participants