Open christian-weiss opened 4 years ago
This would also help to prevent the issue in https://github.com/mssun/passforios/issues/224
One possible workaround has been implemented in #364. A Siri shortcut action allows you to trigger a repository sync per automation task or when executing a workflow.
I have added it to a workflow which I execute typically every evening (for some reasons).
Your auto-push behavior described in this issue can be imitated by adding an automation task like “When starting Pass then trigger the repository sync“, which is admittedly quite cumbersome but works.
To protect my privacy it am not using Siri at all. I tried to test your recommendation, but pass and the "repository sync" was not listed in the shortcuts app in section: automation task. Please provide a step by step guide how you where able to setup this workaround. It may help others, too.
As far as I know the Shortcuts are only called “Siri Shortcuts” because they can be triggered by Siri. The actions and workflows defined in there work perfectly without any Siri functionality enabled on system level. They can be triggered manually or per automation task instead of telling Siri to do so.
The released version of the app in the App Store does not yet contain the Shortcut action to sync the repository. The TestFlight versions only contain it starting from version 0.10.0 (15). I assume you will find it in the Shortcuts app as soon as it is there. So I will skip the detailed step-by-step guide for now. 😉
I`ve been having this issue for a while, do we have any plans to change it? how can I help?
Have you tried the shortcut? What do you want to change?
Add an option to the settings dialog to enable auto-update local git repo on:
This would keep my device always up-to-date.
If update fails then show a small banner at the bottom or top of the screnn (without blocking user interfaces). Let the banner disappear after a configured amount of time (default 5 seconds). A tab on that banner should bring the user to the detailed error description (e.g. remote not available, no Wifi, no remote, no VPN, etc.).
This feature request is inspired by the auto "Automatically pull" feature of QtPass (a cross-platform frontend for pass).
Optional / additional feature request: Do the auto-update only when the mobile is connected to a Wifi that is in the whitelist or if it is conntected to a whitelisted VPN connection.