Should I modify the code if I update the firebase adminsdk?

62 views
Skip to first unread message

최원영

unread,
Dec 6, 2023, 12:05:11 AM12/6/23
to Firebase Google Group
I received an email to update the firebase adminsdk. Batch send api is the problem.
If I update sdk on Python, do I happen to have to modify my code? We are currently sending push notifications to your message.
The code is as follows.


 # messages 리스트의 메시지를 전송함
                            response = messaging.send_all(messages)
                            db.collection(u'push_message').add(message)
                            sleep(1)
                            message_list = []  # message_list 초기화
                            logger.info('{0} messages were sent successfully'.format(
                                response.success_count))
                            print('{0} messages were sent successfully'.format(
                                response.success_count))

I don't know the development yet. I'd appreciate it if you could let me know.
Reply all
Reply to author
Forward
0 new messages