wait for user to click the notification in react-native-fcm -


im using react-native-fcm push notification. redirects no component when notification comes. doesnt wait user click.

fcm.on("fcmnotificationreceived", (notif) => {   console.log("notification", notif);   if(notif.click_action === "action"){     actions.login()   }  } 


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -