This skill helps you integrate Capacitor with Android native background tracking, ensuring foreground service, wakelocks, and reliable data for React apps.
npx playbooks add skill abelv22/project-foundation --skill capacitor-android
This skill enables the assistant to handle the complex interaction between the Web layer (React) and the Native layer (Java/Android) specifically for background tracking.
LocationTrackingService.java.BOOT_COMPLETED receivers to restart tracking on device reboot.PARTIAL_WAKE_LOCK to balance tracking consistency with battery life.AlarmManager.setExactAndAllowWhileIdle() for reliable 60s intervals.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS.ProTrackingPlugin.java and React.notifyListeners for real-time status updates in the UI.FusedLocationProviderClient settings (Priority, Interval, FastestInterval).LocationApiClient.java.Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.