diff --git a/flutter/lib/models/server_model.dart b/flutter/lib/models/server_model.dart index 6bc090901..a0c79c4b7 100644 --- a/flutter/lib/models/server_model.dart +++ b/flutter/lib/models/server_model.dart @@ -367,6 +367,9 @@ class ServerModel with ChangeNotifier { } } else { await checkRequestNotificationPermission(); + if (!await AndroidPermissionManager.check(kManageExternalStorage)) { + await AndroidPermissionManager.request(kManageExternalStorage); + } final res = await parent.target?.dialogManager .show((setState, close, context) { submit() => close(true);