android intent app chooser can't send text with image
This is Code
I can send Image but not Send Text Together.
I Test On Android 11 in Emulator and facebook lastest version.
private fun shareToFacebook() {
val intent = Intent(Intent.ACTION_SEND)
intent.type = "*/*"
intent.flags = Intent.FLAG_ACTIVITY_NEW_TASK
intent.flags = Intent.FLAG_GRANT_READ_URI_PERMISSION
intent.putExtra(Intent.EXTRA_STREAM, Uri.parse(image))
startActivity(Intent.createChooser(intent, "Share To Facebook"))
}