I have 556 FCM devices in my system. When I try to send a bulk message to all devices, I get "ValueError: messages must not contain more than 500 elements".
I found a settings parameter in push_notifications/conf/app.py -> MAX_RECIPIENTS. But is not clear in docs how to define this parameter.
How can I set it correctly?
I use firebase_admin.initialize_app(credentials=cred) with firebase credentials JSON file.
I have 556 FCM devices in my system. When I try to send a bulk message to all devices, I get "ValueError: messages must not contain more than 500 elements". I found a settings parameter in push_notifications/conf/app.py -> MAX_RECIPIENTS. But is not clear in docs how to define this parameter. How can I set it correctly? I use firebase_admin.initialize_app(credentials=cred) with firebase credentials JSON file.