You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please select which package this feature is related to
stream_chat_flutter
Which platforms would this feature impact?
Android
Is your feature request related to a problem?
Android's Gboard supports adding gifs and images directly from the keyboard. However, the TextField widget only supports plain text by default. Unless the contentInsertionConfiguration callback is provided, a toast message is displayed informing the user that the text field does not support inserting media content.
Describe the solution that you'd like
The StreamMessageInput already accepts TextField attributes as part of its constructor parameters that are passed through to the text field. It would be a great help if a parameter that accepted the contentInsertionConfiguration callback were added as an additional optional parameter.
Describe alternatives that you have considered
We have built our own message input widget that includes this parameter.
this is not available in 3.7.12-stable which made the 6.4.0 release unusable with flutter versions previous to 3.10.
Please remove this feature before releasing stream_chat_flutter with full compatibility for flutter 3.10
When using 6.4.0 we get the error 'type ContentInsertionConfiguration not found' and since 6.3.0 is broken, we have to go to 6.2.0 which has issues fixed in these 2 latest versions.
Hey @fryeap, we reverted the commit due to incompatibility with flutter 3.7.0 as mentioned above. I advise to please also revert your changes back to what you were using before. We will try to add the support later in a major version. 🙏🏼
Please select which package this feature is related to
stream_chat_flutter
Which platforms would this feature impact?
Android
Is your feature request related to a problem?
Android's Gboard supports adding gifs and images directly from the keyboard. However, the TextField widget only supports plain text by default. Unless the contentInsertionConfiguration callback is provided, a toast message is displayed informing the user that the text field does not support inserting media content.
Describe the solution that you'd like
The StreamMessageInput already accepts TextField attributes as part of its constructor parameters that are passed through to the text field. It would be a great help if a parameter that accepted the contentInsertionConfiguration callback were added as an additional optional parameter.
Describe alternatives that you have considered
We have built our own message input widget that includes this parameter.
Additional context
https://api.flutter.dev/flutter/material/TextField/contentInsertionConfiguration.html
Code of Conduct
The text was updated successfully, but these errors were encountered: