Add iOS save action extension

This commit is contained in:
Rijad Zuzo
2026-05-18 20:50:23 +02:00
parent 42a59e959f
commit d81215db73
6 changed files with 425 additions and 0 deletions
@@ -118,6 +118,13 @@ class _IncomingShareListenerState extends ConsumerState<IncomingShareListener> {
}
}
if (file.type == SharedMediaType.url) {
final String url = file.path.trim();
if (url.isNotEmpty) {
return url;
}
}
final String? mimeType = file.mimeType?.toLowerCase();
if (mimeType != null && mimeType.startsWith('text/')) {
final String text = file.path.trim();