How to update or show badge count in react native modules

I am trying to show or update badge count and for that I have created Native module in react native but it’s not showing. Here is the code

Notification notification = new NotificationCompat.Builder(getReactApplicationContext(), “CHANNEL_1”)
.setContentTitle(“New Messages”)
.setContentText(“You’ve received " + count + " new messages.”)
.setNumber(count)
.build();