News for hackers. Stuff that matters.
Re:Syncthing – a continuous file synchronization program by KennyBlanken on Thursday October 14, 2021 @02:57AM (#28861297)
Okay, I guess I should qualify that and say that there's no iOS client that is actually practical to use.

NextCloud integrates into iOS's Files app pretty tightly as a 'storage provider' or whatever Apple calls it. End result is that my password database is magically up-to-date whenever I go to use it in my password manager, probably because Files sees an app trying to access the file, pings NextCloud to say "yo, is this shit up to date?", and then my password manager opens the file. I don't have to worry myself about background sync and such.

I didn't have to do jack shit to open the database the first time; the built-in iOS file-picker that came up let me select nextcloud as a source, and then my password database. Done. It is two taps to get that database open now - one to hit "passwords" in the keyboard area, and the second is me TouchID'ing to unlock the database.

Looking over the Mobius faq, it appears to be vastly inferior, with no guarantee your files are synced at any point in time, and you have to manually push files from Mobius to Files, and then access them in apps from there:

> iOS apps cannot access each others’ files. This means you will need to copy files in and out of Syncthing using the Apple Files app.

I wouldn't do that even if the software was free. And they want me to pay for that? No?

Re:Syncthing – a continuous file synchronization program by pmontra on Thursday October 14, 2021 @03:32AM (#28861494)
I sometimes have the same problem with Android apps that store their files into their private folders, protected by the OS. I can't use Syncthing to backup those files to my computer. Either the app lets me configure the storage location to something that the other apps can access or I uninstall it and use a different app that lets me do that. If the OS gets into the way of what I want to do, oh well, that's one of the reasons why I'm using Android and not iOS. Android gets in the way but not at much as iOS seems to do.

A better way should be creating a whitelist of apps that can access the storage of other apps. Gpx tracker app? Add Syncthing to its whitelist, and the file manager I use instead of the system one.

Re:Syncthing – a continuous file synchronization program by oauea on Thursday October 14, 2021 @06:54AM (#28862654)
It's Apple. You are of course welcome to pay their exorbitant development fees yourself, go through the insane review process and publish your own competing app!
Re:Syncthing – a continuous file synchronization program by Normal_gaussian on Thursday October 14, 2021 @07:09AM (#28862760)
You can't publish your own competing app. The desired behaviour requires running a background service (not allowed) that watches arbitrary folders (not allowed).
Re:Syncthing – a continuous file synchronization program by kitsunesoba on Thursday October 14, 2021 @01:20PM (#28867170)
Third party iOS apps do in fact have access to background tasks. There’s even a variant dedicated to longer-running tasks, like lengthy file syncs.

The difference is that instead of having an ever-running daemon, the developer schedules tasks with the system, and system decides when to run them based on network availability, battery charge, etc as well as the app’s behavior (badly written/inefficient background tasks and frequent high intensity task requests are penalized).

Re:Syncthing – a continuous file synchronization program by marcellus23 on Thursday October 14, 2021 @08:05AM (#28863183)
I think you lost the plot - you can publish a competing app that uses the Files app for sync, just like NextCloud does.
Re:Syncthing – a continuous file synchronization program by Normal_gaussian on Thursday October 14, 2021 @08:36AM (#28863418)
That is a somewhat combative thing to say.

We see a NextCloud dev explaining that background uploads don't work herehttps://github.com/nextcloud/ios/issues/215

And we can see syncthing devs lamenting the many issues with an iOS client here https://github.com/syncthing/syncthing/issues/102

It may be the case that file eventing now works, but a quick check with an iOS dev friend suggests that the filesystem sandboxing is too restrictive to be meaningful anyway.

Further on this issue, consider that a functioning syncthing client is a node in a p2p network, so must be able to advertise and listen to requests in the background as well as the background jobs that NextCloud requires (as NextCloud is centralised it doesn't need node level co-ordination) - so a partially working NextCloud client is good enough, but a partially working Syncthing client is woefully broken.

Re:Syncthing – a continuous file synchronization program by willis936 on Thursday October 14, 2021 @07:27AM (#28862895)
I guess I'll just have to pay $49.99 a year for iCloud!

Why isn't this a lawsuit yet?

Re:Syncthing – a continuous file synchronization program by spicybright on Thursday October 14, 2021 @11:10AM (#28865374)
Lawsuit for what? Not providing an API for a feature you want?

It's not like Apple specifically advertised background services, then lied about it.

The device is specifically built like that, and you can buy a different phone if it's that big of an issue.

It feels like complaining your toaster doesn't have a dark enough toast setting that you want. Is there a lawsuit in that?

Re:Syncthing – a continuous file synchronization program by vagrantJin on Thursday October 14, 2021 @11:47AM (#28865903)
> you can buy a different phone if it's that big of an issue.

- I can't change my car's satnav. You can buy another car if it's that big a deal.

I think we can agree, the above statement reads silly.

Sometimes, no matter the deal size - buying a new thing isn't always a reasonable option.

Re:Syncthing – a continuous file synchronization program by spicybright on Saturday October 16, 2021 @01:56PM (#28889871)
Full agreement the above sounds silly. So really it comes down to line between the responsibility of the consumer, and the duty of the product creator to say what the product can or can not do.

If you really care about replacing parts in your car like the satnav, should you need to do research before buying instead of assuming it works that way?

Or should we have rules that all sat navs need to be replaceable so consumers don't need to do that?

I honestly can't draw the line myself, I just try my best to identify what I want in a product before purchasing. Especially huge purchases like a car.

Re:Syncthing – a continuous file synchronization program by marcellus23 on Thursday October 14, 2021 @11:52AM (#28865982)
There are cars where you can change the built-in sat nav?
Re:Syncthing – a continuous file synchronization program by Normal_gaussian on Thursday October 14, 2021 @01:34PM (#28867354)
Nearly all of them. Changing the media center is a well sypported third party customisation for most vehicles.
Re:Syncthing – a continuous file synchronization program by spicybright on Saturday October 16, 2021 @01:52PM (#28889832)
Yup, almost every single car has this ability, sat nav or not.
Re:Syncthing – a continuous file synchronization program by willis936 on Thursday October 14, 2021 @12:11PM (#28866233)
For engaging in anti-competitive behavior. Forcing a single App Store on an os is much less draconian than offering a broken interface to basic OS functionality in order to prop your own product above others. Imagine if Windows downclocked whenever you wanted to use an office alternative. This is not much different.
Re:Syncthing – a continuous file synchronization program by squinta on Thursday October 14, 2021 @03:12PM (#28868644)
Re:Syncthing – a continuous file synchronization program by marcellus23 on Thursday October 14, 2021 @08:03AM (#28863160)
Because you can buy an android device?
Re:Syncthing – a continuous file synchronization program by chmsky00 on Thursday October 14, 2021 @08:01AM (#28863148)
Be the change you want to see in the world.
Re:Syncthing – a continuous file synchronization program by marcellus23 on Thursday October 14, 2021 @08:07AM (#28863201)
$99/year is hardly exorbitant.
Re:Syncthing – a continuous file synchronization program by withinboredom on Thursday October 14, 2021 @02:15PM (#28867877)
Plus ~30% of your revenue.
Re:Syncthing – a continuous file synchronization program by marcellus23 on Thursday October 14, 2021 @03:51PM (#28869106)
correction: 30% of your revenue for certain business models. Still too much, but let's at least be somewhat accurate. Plenty of apps make tons of money on the App Store without every paying a dime to Apple beyond the $99.
Re:Syncthing – a continuous file synchronization program by withinboredom on Thursday October 14, 2021 @06:01PM (#28870767)
Perhaps you missed the ~
Re:Syncthing – a continuous file synchronization program by rkagerer on Thursday October 14, 2021 @07:16AM (#28862822)
Files sees an app trying to access the file, pings NextCloud to say "yo, is this sh* up to date?"

What does it do if you're not connected? Don't mind it checking whether the local copy is up to date, but I'd be concerned if the sync trigger is you opening the app.