plus_plugins icon indicating copy to clipboard operation
plus_plugins copied to clipboard

[Request]: Support ClipData for Intents

Open datreesezcup opened this issue 1 year ago • 0 comments

Plugin

android_intent_plus

Use case

The reason I ran into this issue is that I need to pass multiple file content URIs in a single android intent (via the FileProvider system, and the FLAG_GRANT_READ_URI_PERMISSION intent flag).

Android documentation states (for FLAG_GRANT_READ_URI_PERMISSION):

If set, the recipient of this Intent will be granted permission to perform read operations on the URI in the Intent's data and any URIs specified in its ClipData.

Proposal

Allow the AndroidIntent constructor to take a new class like AndroidClipData equivalent to the Android ClipData that will then be passed to the underlying Intent via setClipData

datreesezcup avatar Jun 27 '23 14:06 datreesezcup