I have sync working between Android and my PC, however I note that the phone only auto-syncs once the app has been opened.
I would like to be able to sync programmatically using Automate.
The use case for this is:
I use my phone to make entries when it is away from my PC, but these are not reflected on my PC until I re-open the Android app once I’m connected on my PC’s LAN. I want to avoid having to go to my phone to trigger a sync just so I can work on my PC.
I have tried launching the app via Automate when the phone is locked however this does not trigger a sync as I would have expected, so now I am wondering, can I do this via an (Android) Activity Class or some other way?
I have attached a few screenshots which shows what the Automate is capable of.
Just to clarify, I meant ‘once’ as in ‘when’, it was not a reference to a single occurrence.
I am using local sync
Auto-sync is enabled
Both auto-sync and manual sync work fine whenever I open the app on my phone
I would like the Android app to sync in the background, without me having to go into the app to trigger a sync. My issue is not that it doesn’t sync, but that any sync actions only occur when the app is open, is this normal?
Although I can programmatically open and close the app (with the phone locked and the screen off), this doesn’t trigger a sync.