Our great sponsors
-
hms-push-serverdemo-python
Python sample code encapsulates APIs of the HUAWEI Push Kit server. It provides many sample programs about quick access to HUAWEI Push Kit for your reference or usage.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Hey there, I've been looking into realtime communication between a Django backend server running on Django REST Framework, and a Flutter application. I've researched into Django Channels (Websockets), and the "Django Push Notifications" package (https://github.com/jazzband/django-push-notifications). I'm sure FCM/GCM will be a piece of cake to handle, but what about Android devices which do not support the Firebase SDK? E.g. Huawei, Mi devices etc which do not have Google Play services on them.
No question FCM is the best for android and ios, but sending directly to HMS is not as hard as it sounds. They provide a demo here https://github.com/HMS-Core/hms-push-serverdemo-python. (I hope they will improve the Flutter module, as HMS app crashes is still common).
Related posts
- what is the best way to send notification to a mobile app from django?
- How to configure Firebase Push Notifications in Django?
- Push notifications from Django backend to iOS/Swift frontend not working...
- Ask HN: Who wants to be hired? (April 2024)
- Unfold: Modern Django admin theme for seamless interface development