Closed
Description
I want to send notifications to specific users using tokens. firebase-admin can't send multiple tokens so I'm using:
for obj in queryset:
token = obj.app_token
message = messaging.Message(android=android_config, data=data, token=token)
try:
messaging.send(message=message, dry_run=False, app=default_app)
except Exception as ex:
print('Error %s' % ex)
But it seems that "FCM" is blocked due to the fact that I send a lot of requests per second. Because after that I can not get a notification for a while.
Can this be solved?