Skip to content

Commit 440133a

Browse files
sprobst76claude
andcommitted
fix(android): add missing geofence permissions to AndroidManifest
The geofence feature was not working because critical permissions were missing from AndroidManifest.xml: - ACCESS_FINE_LOCATION, ACCESS_COARSE_LOCATION, ACCESS_BACKGROUND_LOCATION - FOREGROUND_SERVICE, FOREGROUND_SERVICE_LOCATION - POST_NOTIFICATIONS, RECEIVE_BOOT_COMPLETED, WAKE_LOCK Also includes: - Server Dockerfile fix for build network issues - Migration file permission fixes Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 710f86f commit 440133a

File tree

8 files changed

+33
-1
lines changed

8 files changed

+33
-1
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,19 @@ und dieses Projekt folgt [Semantic Versioning](https://semver.org/lang/de/).
1414

1515
---
1616

17+
## [0.1.0-beta.24] - 2026-01-12
18+
19+
### Behoben
20+
- **Geofence funktioniert nicht**: Fehlende Android-Berechtigungen im Manifest hinzugefügt
21+
- `ACCESS_FINE_LOCATION`, `ACCESS_COARSE_LOCATION`, `ACCESS_BACKGROUND_LOCATION`
22+
- `FOREGROUND_SERVICE`, `FOREGROUND_SERVICE_LOCATION`
23+
- `POST_NOTIFICATIONS`, `RECEIVE_BOOT_COMPLETED`, `WAKE_LOCK`
24+
25+
### Hinzugefügt
26+
- GitHub Community-Dateien: LICENSE (MIT), CONTRIBUTING.md, CODE_OF_CONDUCT.md, Issue-Templates
27+
28+
---
29+
1730
## [Server 1.0.0] - 2026-01-07
1831

1932
### Hinzugefügt

android/app/src/main/AndroidManifest.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,24 @@
22
<!-- Biometric authentication -->
33
<uses-permission android:name="android.permission.USE_BIOMETRIC"/>
44

5+
<!-- Location permissions for Geofencing -->
6+
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
7+
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
8+
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION"/>
9+
10+
<!-- Foreground service permissions -->
11+
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
12+
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_LOCATION"/>
13+
14+
<!-- Notifications (Android 13+) -->
15+
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
16+
17+
<!-- Boot completed to restart geofencing after reboot -->
18+
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
19+
20+
<!-- Wake lock for background processing -->
21+
<uses-permission android:name="android.permission.WAKE_LOCK"/>
22+
523
<application
624
android:label="VibedTracker"
725
android:name="${applicationName}"

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: time_tracker
22
description: Zeiterfassung mit Geofence, Urlaub, Feiertagen & ICS-Sync
3-
version: 0.1.0-beta.23+23
3+
version: 0.1.0-beta.24+24
44
publish_to: 'none'
55

66
environment:

server/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ RUN apk add --no-cache git
1010
COPY . .
1111

1212
# Download dependencies (generate go.sum if missing)
13+
ENV GOSUMDB=off
1314
RUN go mod tidy && go mod download
1415

1516
# Build

server/migrations/001_initial.sql

100644100755
File mode changed.

server/migrations/002_totp.sql

100644100755
File mode changed.

server/migrations/003_passphrase_recovery.sql

100644100755
File mode changed.

server/migrations/004_passkeys.sql

100644100755
File mode changed.

0 commit comments

Comments
 (0)