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

Ansible warning on jinja2 braces on when -

Parsing a protocol message from Go by Java -

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