-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "roaming" option to run conditions (fixes #177) #441
Conversation
So there's a problem until here: The Network(Broadcast)Receiver doesn't fire if mobile data connection changes from roaming to non-roaming (or back). Roaming detection itself and stopping SyncthingNative works already. |
@balihb @NicoWeio @sobotkami @jangrewe Hi all together :-). I've added a new run condition "run while roaming" which can be used to disabled syncthing when the phone enters roaming state. Unfortunately, I can't test this myself. Playing around with the Android emulator discovers that it might /potentially/ not work as expected even if the code in place looks right. Here's hat I did:
I would REALLY appreciate if someone of you could provide me feedback if the new run condition works and Syncthing immediately(!) stops when entering roaming while the setting is unchecked. I'll put up a BETA release on Google Play soon, so you can just subscribe to the OPEN BETA channel and grab it. GitHub will also get a BETA on the releases page to download the APK directly. Thank you in advance. Kind regards, |
The new release can be downloaded here: (and on GPlay BETA channel) |
Purpose:
Testing: