Dear
There is a function to create and use a notification bar at the top in my app.
(code)=======
builder.setOngoing(true)
.setShowWen(false)
.setVisibility(VISIBILITY_PUBLIC)
.setOnlyAlertOnce(true)
.setSound(null)
.setDefaults(NotificationCompat.FLAG_NO_CLEAR)
.build();
Notification notification = builder.build();
startForegrount(4001, notification);
But, Teh top bar menu frequently disappears ob the Galaxy S21 model.
(Execute notification with startForeground)
When analyzing when the fixed notifiation bar menu disappears for problem analysis,
It just disappears and no Logs remain regardless of our app.
Could you get me the reason why and to prevent this issue?
I am looking for your response,
Thanks