Comments (1)
The server should run continually. You have 2 ways to "talk" with your server:
a simple way and a more complex way.
The second one: you could listen from the server on a TCP port (or via socket)
and use a custom protocol to "send" or better queue new push notifications.
The first one: you can "poll" a directory and check for file in this dir. In
every file you can store a "push" notification; when you find a new file you
should read the content and delete that file. Now your server can send this
push notification.
Ciao,
Aldo
Original comment by [email protected]
on 25 Aug 2010 at 3:31
- Changed state: Invalid
from apns-php.
Related Issues (20)
- Send notification successful, but phone can't recevie it HOT 3
- I can't set LOCAL FILE by stream_socket_client HOT 1
- Patch: Fix long UTF-8 messages exceeding max bytes and not able to truncate HOT 6
- Doesn't allow badge number zero HOT 4
- 2 Invalid tokens from other country HOT 4
- Server doesn't end task HOT 1
- Feature request: bind to unix domain socket HOT 1
- Unable to connect to 'ssl://gateway.sandbox.push.apple.com:2195 HOT 1
- Patch for /trunk/sample_feedback.php HOT 1
- require .pm files HOT 2
- invalid token cause internal error after it. HOT 4
- shm_attach() alternative HOT 1
- Invalid token (code 8) occurs after an internal error is encountered HOT 2
- Patch for /wiki/CertificateCreation.wiki HOT 2
- Invalid token (code 8) occurs after an internal error is encountered HOT 2
- Message with Latin character HOT 2
- Patch for /trunk/sample_push.php HOT 1
- ERROR: Unable to connect to 'ssl://gateway.sandbox.push.apple.com:2195 HOT 3
- Failed to connect: 0
- notification send successfully. But printing some INFO in browser.
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 apns-php.