'React native sticky notification call like Whatsapp with Agora

Hi everyone I'm using react-native firebase to send notification to users. Also using the Agora for online call.Both works fine.

I want to make a sticky notification like whatsapp ,send user to call and it will continuosly sticks at notificaiton header untill call ends.

How to do or send notification like this. Thank you.



Solution 1:[1]

Use https://github.com/zo0r/react-native-push-notification

If you want to make it sticky you can set :

PushNotification.localNotification({ ongoing:true )} You can use ongoing property of this library to make sticky notification

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Ouneeb Ur Rehman