receive_sharing_intent icon indicating copy to clipboard operation
receive_sharing_intent copied to clipboard

Accepting only image types in manifest, will also accept video files in Android

Open idish opened this issue 3 years ago • 0 comments

<intent-filter> <action android:name="android.intent.action.SEND_MULTIPLE" /> <category android:name="android.intent.category.DEFAULT" /> <data android:mimeType="image/jpg" /> </intent-filter>

The app will accept sharing images along with video files, while it should accept only images. leading to undesired behavior.

Edit: seems as that is Android's behavior and not the library's fault, but I'm still keeping it here to see if there's any solution for that. and so other users will be aware of that. see: https://stackoverflow.com/questions/24686398/how-to-avoid-mime-types-in-intent-filters?rq=1

idish avatar Jul 31 '22 10:07 idish