r/ProtonDrive • u/Proton_Jan • 22h 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.