Closed gacal closed 6 years ago
notification click but not working app
if (firebase.Messaging.launchData) { helper.alert('App launched with data:\n\n' + JSON.stringify(firebase.Messaging.launchData)); } firebase.Messaging.on({ instanceIdChanged: updateMessagingDetails, tokenChanged: updateMessagingDetails, message: ({data}) => { helper.alert(`Message received:\n\n${JSON.stringify(data)}`); } }); updateMessagingDetails(); function updateMessagingDetails() { let token = firebase.Messaging.token; if (token) { helper.httpPost('user/setToken', ['t=' + token]); } }
click_action clear now working
@gacal How did you resolve this ? I too had the same problem just now
Problem description
notification click but not working app
Environment
Code snippet