element-x-ada/features/share/test
Jorge Martin Espinosa ae6ea76794
Use ShareIntentHandler early to avoid distributing the whole intent (#6274)
* Use `ShareIntentHandler` early to avoid distributing the whole intent

This would make the intent be serialized as part of `NavTarget` and could potentially lead to `TransactionTooLargeException`s.

We now pass a new `ShareIntentData` class around, containing the minimum amount of data needed. We also have a new `OnSharedData` post-processor to revoke uri access after they've been shared.

* Move `UriToShare` next to `ShareIntentData` and add docs
2026-03-03 13:12:33 +00:00
..
src/main/kotlin/io/element/android/features/share/test Use ShareIntentHandler early to avoid distributing the whole intent (#6274) 2026-03-03 13:12:33 +00:00
build.gradle.kts Use ShareIntentHandler early to avoid distributing the whole intent (#6274) 2026-03-03 13:12:33 +00:00