CCExtractor / CCExtractor/uac_companion

Enhancement: Replace hardcoded location with user’s current location

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Dart
Stars
8
Forks
7
PR merge metrics
No merged PRs in 30d

Description

## Description
The app currently uses a hardcoded New Delhi (Lat-Long-> 28.6139, 77.2090) location for evaluating location-based alarm conditions.
This should be replaced with the user’s real-time current location fetched from the device.

## Files potentially involved
- lib/app/modules/smart_control/controllers/location_controller.dart
- lib/app/modules/smart_control/views/location
- AndroidManifest.xml (for location permissions)

## Expected behaviour
- Get the user current location when they get to the location condition view.
- Use the latlong2, flutter_map, and fl_location packages (similar to the Ultimate Alarm Clock Android app).
- Replace hardcoded coordinates with dynamic location data.
- Handle location permission gracefully.
- If location is unavailable, use a default fallback.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.