Advanced sync triggers via intents, URL schemes, and automations
iOS
Force Sync Widget Intent
- App Group:
group.ForceSyncWidget - Intent name: “HomeWidget Background Intent” (under GitSync)
- iOS 17+: Uses AppIntent (runs in background)
- Pre-iOS 17: Deep link
forcesyncwidget://click?homeWidget - Append
&index=Nto specify a repo by index (e.g.forcesyncwidget://click?homeWidget&index=0)
Manual Sync Widget Intent
- App Group:
group.ManualSyncWidget - Intent name: “HomeWidget Background Intent” (under GitSync)
- Deep link:
manualsyncwidget://click?homeWidget - Opens the app and presents the manual sync dialog
- Append
&index=Nto specify a repo by index
Android
Custom Intent Sync
You can trigger a sync using a custom intent (e.g. from Tasker, adb, or other automation apps).
- Target:
Service - Package:
com.viscouspot.gitsync - Class:
com.viscouspot.gitsync.GitSyncService - Action:
INTENT_SYNC - Extra (optional):
index(0-based repository container index)
adb
# Sync the default/selected repository
adb shell am startservice -n com.viscouspot.gitsync/.GitSyncService -a INTENT_SYNC
# Sync a specific repository by index (0-based)
adb shell am startservice -n com.viscouspot.gitsync/.GitSyncService -a INTENT_SYNC --ei index 1Tasker
- Action: Send Intent
- Action:
INTENT_SYNC - Package:
com.viscouspot.gitsync - Class:
com.viscouspot.gitsync.GitSyncService - Target:
Service