diff --git a/lib/app.dart b/lib/app.dart index afd59e5635bb60483b6dae099efad21e0d5e358e..538325b619c8aba1e14a8a61b2e48c7ad0dc8342 100644 --- a/lib/app.dart +++ b/lib/app.dart @@ -41,6 +41,10 @@ class _EnteAppState extends State with WidgetsBindingObserver { } Future initIntentAction() async { + if (!Platform.isAndroid) { + AppLifecycleService.instance.setIntentAction(IntentAction.main); + return true; + } IntentAction intentAction = IntentAction.main; try { final actionResult = await _mediaExtensionPlugin.getIntentAction();