Toasty icon indicating copy to clipboard operation
Toasty copied to clipboard

Toast not showing in some devices

Open ilyasdirin opened this issue 6 years ago • 7 comments

Hi, one of my clients with ASUS Z00AD, Android 6.0.1 told me that he is not able to see toast messages. I can not reproduce this situation in my test devices or emulators but he send me the video that does not show any toast message in where it has to. So is there any suggestion with this issue? (Used toasty version: 1.4.1)

ilyasdirin avatar Apr 10 '19 13:04 ilyasdirin

That's weird, I have never encountered that issue.

GrenderG avatar Apr 10 '19 14:04 GrenderG

That's weird, I have never encountered that issue.

If the user turns off the app's notification bar permission, toast will not be displayed on some devices, which is not a separate case. This problem may occur on Samsung or Huawei or other mobile phones, provided that the app's notification bar permissions are disabled.

zwc456baby avatar Apr 15 '19 11:04 zwc456baby

That's weird, I have never encountered that issue.

If the user turns off the app's notification bar permission, toast will not be displayed on some devices, which is not a separate case. This problem may occur on Samsung or Huawei or other mobile phones, provided that the app's notification bar permissions are disabled.

Thats right, after user gave notification permission Toasty toasts started to show. Thanks for the reason. But the problem is there may be more users in production who disables notification permissions. So I guess there is nothing to do if the notification permissions are not allowed. Facebook, Instagram and a lot more apps also uses toast messages how do they handle this situation is there any way? Thanks

ilyasdirin avatar Apr 15 '19 12:04 ilyasdirin

That's weird, I have never encountered that issue.

If the user turns off the app's notification bar permission, toast will not be displayed on some devices, which is not a separate case. This problem may occur on Samsung or Huawei or other mobile phones, provided that the app's notification bar permissions are disabled.

Thats right, after user gave notification permission Toasty toasts started to show. Thanks for the reason. But the problem is there may be more users in production who disables notification permissions. So I guess there is nothing to do if the notification permissions are not allowed. Facebook, Instagram and a lot more apps also uses toast messages how do they handle this situation is there any way? Thanks

You need to customize the toast tool without the permission of the notification bar. It is recommended to view the source code of this project.

View project

View blog

zwc456baby avatar Apr 25 '19 13:04 zwc456baby

That's weird, I have never encountered that issue.

If the user turns off the app's notification bar permission, toast will not be displayed on some devices, which is not a separate case. This problem may occur on Samsung or Huawei or other mobile phones, provided that the app's notification bar permissions are disabled.

Thats right, after user gave notification permission Toasty toasts started to show. Thanks for the reason. But the problem is there may be more users in production who disables notification permissions. So I guess there is nothing to do if the notification permissions are not allowed. Facebook, Instagram and a lot more apps also uses toast messages how do they handle this situation is there any way? Thanks

You need to customize the toast tool without the permission of the notification bar. It is recommended to view the source code of this project.

View project

View blog

The Toast tool class for this project, which can be displayed without the permission of the notification bar.

zwc456baby avatar Apr 25 '19 13:04 zwc456baby

If there is no notification bar permission, it is recommended that this project be compatible.

zwc456baby avatar Apr 25 '19 14:04 zwc456baby

i have given notification permission, but still Toast is not working....

SatyamKharote avatar Jan 03 '21 15:01 SatyamKharote