-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Description
Bug Report: Unexpected Bottom Sheet Opens When Sharing from Gallery App on iOS
Description
When using share_handler package to share media files (images/videos) from a gallery app (e.g., Photos app) to my Flutter app on iOS, an unexpected bottom sheet is opening. This bottom sheet appears to be triggered by the share_handler package itself, interfering with the normal share flow.
Steps to Reproduce
- Install and configure
share_handlerpackage in Flutter app for iOS - Open the Photos app (or any gallery app) on iOS device
- Select a media file (image or video)
- Tap the share button
- Select my app from the share menu
- Observed: An unexpected bottom sheet opens instead of directly processing the shared content
Expected Behavior
When sharing from a gallery app on iOS:
- The app should receive the shared media file via
share_handler - The file should be processed directly (in my case, imported as an audio/video project)
- No bottom sheet should appear unless explicitly triggered by my app's logic
- The share extension should work seamlessly without additional UI interruptions
Actual Behavior
- An unwanted bottom sheet opens when the share intent is received from gallery apps
- This appears to be a system or package-level bottom sheet, not from my app's code
- The bottom sheet interferes with the user experience
- The issue specifically occurs when sharing from gallery apps (Photos app), but may work correctly from other sources
Environment
- Flutter Version: Flutter 3.38.0 • channel stable •
- Dart Version: Dart SDK version: 3.10.0-290.4.beta (beta) (Thu Oct 30 11:12:42 2025 -0700) on "macos_arm64"
- share_handler Version: share_handler: ^0.0.25
- Platform: iOS
- Device: iPhone 13 mini
- iOS Version: iOS 26.1
- Xcode Version: Xcode 16.4
Additional Information
- The issue specifically occurs when sharing from gallery apps (Photos app)
- Other sharing sources might work correctly
- The bottom sheet appears to be a system UI element or from the package itself
- I have a custom Share Extension, but this issue is related to
share_handlerpackage behavior - The bottom sheet appears even before my app's code processes the shared content
- This might be related to iOS share sheet behavior or the package's internal UI handling
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels