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

Add if statement for starting foreground service #408

Merged

Conversation

koenniem
Copy link

In its current implementation, starting the activity recognition services always implies starting its foreground service since the argument foreground is unhandled. For example: activityRecognition.startStream(runForegroundService: false) still starts a foreground service.

I've added a simple if-statement to correct this issue.

@bardram
Copy link
Contributor

bardram commented Oct 6, 2021

I've merged and published this as version activity_recognition_flutter 4.0.5+1

hibitness-quan-nguyen2 pushed a commit to hibitness/flutter-plugins that referenced this pull request Dec 18, 2023
…foreground

Add if statement for starting foreground service
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

Successfully merging this pull request may close these issues.

None yet

2 participants