aiofcm
aiofcm copied to clipboard
An efficient Firebase Cloud Messaging Client Library for Python/asyncio
I have used [Basic Usage](https://github.com/Fatal1ty/aiofcm#basic-usage) code to test FCM notifications for Android. I have filed API key and device token and also changed sender_id. However, when I run the example,...
Might need to update aioxmpp for the new anyio version? ``` /usr/local/lib/python3.11/site-packages/aiofcm/__init__.py:1: in -- | from aiofcm.client import FCM | /usr/local/lib/python3.11/site-packages/aiofcm/client.py:4: in | from aiofcm.connection import FCMConnectionPool | /usr/local/lib/python3.11/site-packages/aiofcm/connection.py:7: in ...
No support for a `registration_ids` parameter to send messages in batch
Below is my code but it not run send_messages function. Complier not raise any exceptions. Please..... `class AsyncNotificationViewSet(ViewSet): FCM_SENDER_ID = FCM_API_KEY = fcm = FCM(FCM_SENDER_ID, FCM_API_KEY) async def send_message(self): print(self.fcm.pool.connections)...
Added upstream support: https://firebase.google.com/docs/cloud-messaging/receive-upstream * Allow to register a callback for handling upstream messages. * If a callback is registered, the pool will automatically open and maintain an XMPP connection....
Hi! I try run example code, and get follow traceback (Python 3.5.6 on windows7 and debian8): ``` Fatal error on tls handshake protocol: transport: Traceback (most recent call last): File...
I think this quite simple but also good library is missing just 'send to topic' implementation. Something simple like this could work: ``` result = dict( message_id=self.message_id, to=self.device_token or '/topics/{0}'.format(self.topic_name),...