FOSS Compliance + Permission & Tracking Fixes
FOSS Changes
- Replaced jsQR with @paulmillr/qr — actively maintained QR decoder (Apache/MIT dual-license), zero native dependencies
- Removed Google dependency metadata block from APK
Permission Flow (Rewritten)
- Notification permission properly requested on first login (Android 13+) with Settings redirect if denied
- Background location ("Allow all the time") — guided step-by-step flow. If the system dialog doesn't work (Android 11+), user is directed to Settings
- Battery optimization — prompt to disable after location permissions granted
- Warning on denial — clear feedback when permissions are denied
Persistent Location Notification
- "Sharing your location" notification now reliably stays visible — background tracking service is restarted every time the app comes to foreground
- Recovers from notification swipe — if the user dismisses the notification from the notification center, it reappears when the app is opened
- Recovers from Android killing the service —
AppStatelistener detects foreground transition and re-ensures tracking
Bug Fixes
- Fixed QR code scanning (CJS/ESM import interop with Metro bundler)
- Fixed app crash on startup from v0.7.4
- Fixed notifications not working for invites and geofence alerts
Full Changelog: v0.7.3...v0.7.5