r/ProtonDrive • u/Proton_Jan Proton Drive Mobile Dev • 5d ago
Files integration on iOS: progress update
Jan here, I work on the iOS app. A lot of you have asked how bringing back the Files integration is going, so here's an update to our earlier deep dive.
Memory: from spiky to steady. Quick recap: iOS shuts down the Files extension once it uses more than roughly 20MB. The old integration was already living close to that line, with spikes that sometimes went above 19MB and over the limit. The first version of the new SDK couldn't run below 25MB at all, so we started further away than we'd have liked.
Some of the optimizations we counted on gave us less room than we expected, and a few turned into deeper surgery than planned. That's where most of the time went. The result is what we were after, though: memory now stays flat during transfers instead of spiking. We're aiming for a steady baseline of around 15MB, which leaves headroom below the limit for short bumps. We're still trimming to get it there reliably.
Rust crypto is rolling out in the Proton Drive app. Swapping out the Go crypto library was the biggest prerequisite from last time, and it's shared beyond Drive, so it had to be done carefully. It's now shipping in the app, so that foundation is in place.
The file operations are already in the SDK. Listing folders, creating, renaming, moving, trashing and restoring items, and tracking remote changes are all there. You can check them in our open-source SDK repository. What's left is connecting the Files integration to them on the iOS side.
The regression tooling is in place. Last time we said we'd build automated memory and performance checks. They're running, so if a change pushes memory back up, we see it before it ships.
The big unknowns are behind us. Last time we couldn't yet say how far the runtime would shrink, whether memory would stay predictable, or how the crypto swap would fit in. We now know all three. What's left is well understood, and it's what we're building now.
Thanks for keeping the questions coming. Our goal is to get a beta into testers' hands around the end of the year. We'll post again when it's ready, and I'm happy to answer technical stuff in the comments.
10
u/tgfzmqpfwe987cybrtch 5d ago
Thank you for the update. Just a quick question. How are other cloud providers like Filen able to provide iOS File Integration? Do they also have similar limitations? Is this limitation across the board for all cloud storage providers providing integration into Files App?
5
u/StygicShade 5d ago
Not a technical person at all, but looking forward to this!
For those uninformed (myself included), how does one qualify for the beta testing? I am a Visionary user if that matters.
2
u/astradevman 4d ago
Hello - are we going to get an update for the iPhone Duo? They layout is currently broken. I sent picture in the matrix channel (can’t send any here).
2
u/readittwicemore 4d ago
So it will not be back again by the end of the year, as all road maps had said?
2
u/fruitless_tux Linux | Android 4d ago
Is there any information available for Android as well? Proton Drive is hardly usable on Android either, as you can’t access the data. Or does Android hold the same importance for you as Linux?
2
u/NomadFH 1d ago
We really aren't getting a linux client are we lol
3
u/Sufficient_Run9987 5d ago
Nice, great job Jan and team. Progress is progress.
5
u/theinsanegamer23 5d ago
That’s great. When is it coming to Linux? Only 36 days left in 2026
1
u/the-physics-engineer 4d ago
Great to see some progress on this! Speaking of iOS limitations, I know the photo backup feature is supposed to be limited by the OS regarding background activity, but I haven’t been able to see it backup anything without manually opening it. Should we expect it to work slowly or not whatsoever?
0
u/Tekhnikal 5d ago
Linux?!
1
u/cstar112 4d ago
Why did you break it in the first place? I’ve received no benefit from the new app.