You have two issues. One is that the function uploadMediaNotification always creates a new notification using the notification.builder when it is called. To mitigate this, put the initialisation and update in two different functions, such as createUploadMediaNotification() and updateUploadMediaNotification()
Secondly, your Thread is quite useless, as you already get…
Top comments (0)