Comments (1)
In plaintext_request, the request is only sent to one device therefore it is easy to raise a single exception. In json_request however, the request is sent to multiple devices. The response might have different exception for each device. Therefore, it is necessary to iterate through the response and catch all of them. Please see the README example.
from python-gcm.
Related Issues (20)
- Help getting started with python-gcm HOT 1
- No support for setting up priority for a given message? HOT 4
- Permission denied error while using send_topic_message() in a GAE environment
- GCM should handle requests exceptions
- if occur retry send request, response info would be wrong (not contain response info of previous request) ?!
- Compatibility with Firebase Cloud Messaging (FCM) ? HOT 4
- Pass GCM (Now FCM) responses to object outputs and not just to the debugger
- request fail HOT 2
- does not handle mixed data & notification messages HOT 1
- Update documentation to include instructions for running unit test cases. HOT 1
- Use nosetest and tox setup to locally run the unit test cases and generate coverage report
- Update to support Notification messages in the FCM payload HOT 2
- Set requests timeout HOT 4
- How to create a vaild GCM API_KEY(sender) and registration token for client(receiver)
- Consider adding deprecation/unmaintained warning to Readme
- DepShield Deprecation Notice
- Sending a message to topic HOT 1
- Not able to access data in service worker HOT 1
- Multiple Resends HOT 7
- python gcm also for IOS HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-gcm.