Open iMashiro opened 2 days ago
Sounds like an OS/Gmail bug. The plugin launches the native share mechanism, what happens after is not controlled by it.
I understand, but when I share a picture from my gallery for example, to Gmail, it works well, maybe it is related to Flutter as well? Or even Android version? since on Android 13 and 14 it shares normally even with lockscreen before gmail
Platform
Poco X3 Pro (Android 12, MIUI 13.0.3)
Plugin
share_plus
Version
9.0.0
Flutter SDK
3.22.2
Steps to reproduce
My code generates an image that can be shared through other apps normally (WhatsApp, Instagram, Outlook), but with Gmail, when the share action passes through the lockscreen (native MIUI app for locking apps, or other types of authenticators) (pattern/fingerprint) it loses the file and do not attach it. When I remove the lockscreen of gmail, it works well.
PS: No error logs are displayed.
PS: WhatsApp, Instagram and Outlook have the same lockscreen as well and works fine.
Code Sample
Logs
Flutter Doctor
Checklist before submitting a bug
flutter pub upgrade
flutter clean