Skip to content

Request location service enablement in tracking#126

Merged
Jozys merged 1 commit intodevelopmentfrom
feat/enable-location-services
Apr 13, 2025
Merged

Request location service enablement in tracking#126
Jozys merged 1 commit intodevelopmentfrom
feat/enable-location-services

Conversation

@Jozys
Copy link
Copy Markdown
Collaborator

@Jozys Jozys commented Apr 13, 2025

🚀 Pull Request

Brief Description

This pull request adds a check if location services are enabled if a user tries to start an activity tracking. If I fails the user is prompted to

Linked Issues

Screenshots

Screen 1
image

GitHub Copilot Text

This pull request includes several changes to improve the handling of location services and refine the localization files. The most important changes include updating the localization files for German and English, modifying the StartActivity widget to check for location services, and adding the geolocator dependency.

Localization Updates:

  • lib/l10n/app_de.arb: Removed unused tracking leave messages and added new messages for location services permissions.
  • lib/l10n/app_en.arb: Removed unused tracking leave messages and added new messages for location services permissions.

Codebase Enhancements:

Dependency Management:

  • pubspec.yaml: Added the geolocator dependency to handle location services.

@Jozys Jozys requested a review from ScreepCode April 13, 2025 19:12
@Jozys Jozys self-assigned this Apr 13, 2025
Copilot AI review requested due to automatic review settings April 13, 2025 19:12
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 2 out of 5 changed files in this pull request and generated no comments.

Files not reviewed (3)
  • lib/l10n/app_de.arb: Language not supported
  • lib/l10n/app_en.arb: Language not supported
  • lib/presentation/tracking/widgets/start_activity.dart: Language not supported

@Jozys Jozys merged commit 33fd755 into development Apr 13, 2025
2 checks passed
@Jozys Jozys deleted the feat/enable-location-services branch April 13, 2025 19:17
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.

[FEATURE] Feedback / Automatic enabaling of GPS

3 participants