Skip to content

Conversation

@sameerasw
Copy link
Owner

This pull request introduces a new "Location reached" feature, which allows the app to trigger actions when the user arrives at a specified geographic location. The implementation includes significant updates to permissions, dependency management, the manifest, and the main activity logic, as well as the addition of new data models and repositories for location alarms.

Location Feature Implementation:

  • Added the "Location reached" feature to the FeatureRegistry, including required permissions (LOCATION, BACKGROUND_LOCATION, USE_FULL_SCREEN_INTENT) and UI integration in the settings screen. [1] [2] [3]
  • Introduced LocationReachedSettingsUI and hooked it into the settings flow, including permission checks and prompts for required location permissions. [1] [2]

Permissions and Manifest Updates:

  • Updated AndroidManifest.xml to request foreground, background, and coarse/fine location permissions, as well as to support full-screen intents and boot completion for the new feature. Added intent filters to handle shared locations and geo URIs. [1] [2] [3] [4]
  • Registered new permissions in PermissionRegistry for the location feature.

Dependency Management:

  • Added Google Play Services Location dependency and Material library to build.gradle.kts to support location services and UI enhancements. [1] [2]

Data Layer Additions:

  • Created LocationAlarm data model and LocationReachedRepository for managing location alarm state and persistence. [1] [2]

Main Activity and Intent Handling:

  • Updated MainActivity to instantiate a LocationReachedViewModel, handle incoming location intents (including geo URIs and shared locations), and route the user to the appropriate settings screen when a location intent is received. [1] [2] [3] [4]

These changes collectively enable the new "Location reached" feature, with proper permission handling, user interface integration, and background service support.

@sameerasw sameerasw self-assigned this Jan 11, 2026
@sameerasw sameerasw added the enhancement New feature or request label Jan 11, 2026
@sameerasw sameerasw merged commit 7eede6e into develop Jan 11, 2026
2 checks passed
@github-project-automation github-project-automation bot moved this from Backlog to Done in Essentials Progress Jan 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants