Comments (4)
This is kind of problematic, because you can change the topic per message using the same connection. So basically one token connection can deliver messages to one app, but that app can use different topics.
If you have some ideas how to do this better, I'm up for pull requests here!
from a2.
Hm, I see... Not sure what the best approach might be here... 🙂
Maybe when sending a push that combination could be at least checked before actually sending the request? Or does the API return clear error messages?
from a2.
You'll get an error for wrong topic from Apple.
from a2.
Ok, I guess that is fine then.
from a2.
Related Issues (20)
- Compilation broken with latest nightlies HOT 1
- Default apns_priority doesn't match expectation HOT 4
- changed lifetimes HOT 8
- 'tokio-runtime-worker' has overflowed its stack fatal runtime error: stack overflow
- Upgrade to tokio 0.3 HOT 3
- Upgrade to tokio 1.0 HOT 1
- Getting an issue with 'executor must be set' HOT 4
- API compatibility breakage in new minor version v0.6.2 HOT 2
- Panic: 'executor must be set' from hyper-0.14.15 when running examples.
- feat: `.editorconfig`
- fix: add `tracing` feature back
- feat: Switch `&str` params HOT 4
- Client panicked inside hyper-alpn library
- Sending a payload with invalid uri chars panics
- async-std support? HOT 1
- How to set timeout on send?
- Panic `executor must be set` occurs when hyper dep with "tcp" feat enabled is not in dependencies HOT 1
- Automate publish ops
- Request to send keep-alives on idle connections HOT 3
- fix(fcm): check the message length when sending to the APNS
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 a2.