diff --git a/packages/share_plus/share_plus/android/src/main/kotlin/dev/fluttercommunity/plus/share/Share.kt b/packages/share_plus/share_plus/android/src/main/kotlin/dev/fluttercommunity/plus/share/Share.kt index fb6a107988..5593e3bd04 100644 --- a/packages/share_plus/share_plus/android/src/main/kotlin/dev/fluttercommunity/plus/share/Share.kt +++ b/packages/share_plus/share_plus/android/src/main/kotlin/dev/fluttercommunity/plus/share/Share.kt @@ -131,6 +131,8 @@ internal class Share( Intent.createChooser(shareIntent, title) } + chooserIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) + // Grant permissions to all apps that can handle the files shared if (fileUris != null) { val resInfoList = getContext().packageManager.queryIntentActivities(