Open legionzi opened 7 years ago
I'll see if I can do some work on this package to test this scenario
It actually almost happens that when I Push.send
, the other app receives it rather than the app itself. I just can't tell how the sending happens but I was thinking of suggesting the appName
to be the indicator of which app to send the notification to. Would that be possible? Thank you so much by the way for responding, and really really great work.
There are two apps, one for the customer and one for the merchant and they have a unified database in which both the apps connect to. I tried sending notification from the merchant app to the customer app; sometimes it works as it sends the notification to the customer app, and sometimes it sends the notification to itself. Sometimes this is possible but sometimes it doesn't work. If it's possible, what workaround should I do?
Also, when I start sending notifications, especially when I send a notification to a user with the token of a device in which the app is not installed to, the token field goes away and I get an error with code 8, as if sending notif clears the token of the userId and what I do is I re-insert the record with the token and then I can send a notification again and then the issue happens again. Sometimes even just plain sending takes the token field away and there are no logs that may tell what happened. This is intermittent as it happens almost always. @raix