user-interface-samples icon indicating copy to clipboard operation
user-interface-samples copied to clipboard

Android 10 Smart Reply in notifications not working

Open hvar90 opened this issue 4 years ago • 4 comments

i read this new about Android 10 https://developer.android.com/about/versions/10/highlights#smart_reply_in_notifications

but i have tested on Android 10 with my code and with your code example and never it shows me suggestions on the notification

i used .setAllowGeneratedReplies(true) and .setAllowSystemGeneratedContextualActions(true) and it did not work

to see suggestions is necessario manually put them using the method setChoices() otherwise it never shows possible answers

so that new feauture on Android 10 was a lie ?

hvar90 avatar Feb 12 '21 23:02 hvar90

@hvar90 I know it's a long time ago but did you find a fix for this?

brookmg avatar Nov 24 '22 22:11 brookmg

@hvar90 I know it's a long time ago but did you find a fix for this?

no, i did not, if you find a solution please post it

hvar90 avatar Nov 24 '22 23:11 hvar90

Using https://developers.google.com/ml-kit/language/smart-reply is one solution but it does increment the app size by a lot. Looking for a better solution that doesn't apk splits.

brookmg avatar Nov 25 '22 00:11 brookmg

Using https://developers.google.com/ml-kit/language/smart-reply is one solution but it does increment the app size by a lot. Looking for a better solution that doesn't apk splits.

only available for english language, some apps like whatsapp use smart reply in different languages, i hope android adds that function in the future

hvar90 avatar Nov 25 '22 00:11 hvar90