diff --git a/lib/app.dart b/lib/app.dart index afd59e563..538325b61 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();