NotificationService: Toast already killed
Asked Answered
T

0

6

When calling show toast message from AIDL service callback toast comes with flicker. I tried with runOnUiThread(), handler, etc... in AIDL callback but still it's not solving.

Anyone faced similar issue?

Tyrosine answered 8/2, 2019 at 9:52 Comment(2)
I came to know that this issue was related to device manufacturers. like custom OS having default restrictions to the notifications and we need to manually turn it on under settings--> App Notifications --> our app--> Categories --> update the settings.Coumarone
In my case this warning appeared in LogCat when using socket.io library. On any event (connection, error, new message) I showed a Toast message in UI thread. It showed normally, but wrote the warning to LogCat.Orvalorvan

© 2022 - 2024 — McMap. All rights reserved.