Closed tappbell closed 2 years ago
Some time ago our back-end team released the feature for sending the push notifications to both environments at once. Before it, a lot of our customers had issues related to this feature and we decided to simplify the logic with environments, now our server just sends the push notification to both environments.
Hi! It seems that the setEnvironment(ConnectycubeEnvironment.PRODUCTION) is not doing anything. After sending an event I see on the queue https://admin.connectycube.com/apps/XXXXX/service/push-notifications/queue That 2 were sent, and as I have only production subscriptions, the second one that tries to send to development always fails. I don't want to send anything to development. Here's the code, am I missing anything?