r/ProtonDrive • Proton Drive Mobile Dev • 10d 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.

78 Upvotes

18 comments sorted by

11

u/tgfzmqpfwe987cybrtch 10d 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?

3

u/Proton_Jan Proton Drive Mobile Dev 5d ago

Good question! Any app that plugs into the Files app does it through Apple's File Provider extension (NSFileProviderExtension), so the same constraints apply to everyone, including the roughly 20MB memory limit. How each provider stays within them depends heavily on their technical stack.

For a quick recap of why we moved to our new stack, see this earlier comment. The short version: we made the hard call to move away from Swift-native tooling in favor of a shared SDK that's easier to maintain across platforms. That's also what lets us adopt new crypto, like the Rust crypto library that's now rolling out in the app. The trade-off is that a shared stack is harder to fit into that memory limit, which is where most of the recent work went.

2

u/tgfzmqpfwe987cybrtch 4d ago

Thank you for your detailed reply. If shared stack creates so much issues, would it not be an option to return to the earlier Swift native tooling? While I appreciate the technical issues related to the shared stack, users who depend on Proton, are badly affected due to lack of integration into the iOS Files App. This is also affecting Proton’s reputation for consistent reliability. This is a serious user issue.

3

u/fruitless_tux Linux | Android 9d 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/Proton_Jan Proton Drive Mobile Dev 5d ago

Could you please be more specific about the problem?
Please reach out to us at: https://proton.me/support/contact with more details, so we can look into it. Thank you!

1

u/fruitless_tux Linux | Android 3d ago

Of course, I passed all of this on to support months ago. So they’re already aware of everything.

Keyword: Opening and editing data on Proton Drive for Android using the relevant app.

5

u/StygicShade 10d 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/Proton_Jan Proton Drive Mobile Dev 4d ago

Feel free to use this public link to join in: https://testflight.apple.com/join/pUG40vNv.
Reminder, beta currently does include Files integration (but as others correctly stated, it's not reliable enough for production yet, so please let us conclude the real work I announced above).

3

u/NuAboutYu 10d ago

The last paragraph states beta trading should open up at the end of the year

4

u/Sufficient_Run9987 10d ago

Nice, great job Jan and team. Progress is progress.

2

u/astradevman 10d 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 9d ago

So it will not be back again by the end of the year, as all road maps had said?

2

u/NomadFH 7d ago

We really aren't getting a linux client are we lol

6

u/theinsanegamer23 10d ago

That’s great. When is it coming to Linux? Only 36 days left in 2026

1

u/Tekhnikal 10d ago

Linux?!

1

u/the-physics-engineer 10d 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?

1

u/Fun_Register_8324 1d ago

Yes, please and thank you. 

1

u/cstar112 10d ago

Why did you break it in the first place? I’ve received no benefit from the new app.