Open christos-deretzis opened 1 year ago
@ainouzgali Is there any way we can choose a provider using overrides?
Needing this to be fixed very critically, any plans when to address this?
Hi @frnandu this should be available as a fix on our latest v0.20.0 release docker images are already available and will be released during this week.
I've just tried v0.20.0 docker images and the problem still manifests. I have 2 providers active (FCM & APNs), different users have deviceTokens on the correspondent provider (checked with API rest), and when triggering, the subscriber with "providerId": "apns" still gets error: "Sending message failed due to \"The registration token is not a valid FCM registration token\""
Ok, I just tested with IS_MULTI_PROVIDER_CONFIGURATION_ENABLED='true' and the behaviour now is shows FCM as the provider on development (only), and APNs on production (only). And when triggering on production for mixed users, it tries to send for both users using APNs and it fails on the user that has fcm tokens and "providerId": "fcm" Do you need more information to help diagnose the problem?
@frnandu after our chat I am reopening this in order for us to investigate. Thank you for the information.
📜 Description
In the case of the push notifications, given that we have 2 active providers in the same organization: fcm (for android and web push notifications) and apns (for ios notifications), when we have a subscriber that has setup only a device token for ios and we want to trigger a push notification for the specific subscriber, when it goes to select the appropriate provider to send the push notification, instead of choosing the apns, fcm is chosen. This bug is shown in version 0.16.3 .
👟 Reproduction steps
👍 Expected behavior
It should use the fcm provider
👎 Actual Behavior with Screenshots
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?
🏢 Have you read the Contributing Guidelines?
Are you willing to submit PR?
None
NV-2935