Hi all,
Can someone clarify what the APNs (Apple Push Notification) wants as far as how you query it?
The docs say it starts sending as soon as the connection is made. Does this mean that I don't do an fread() on it?
Here's my current code to try and read it. I did NOT put the fread() in a loop as I do not know what response indicates...
I know this is probably a simple question, but I'm attempting a tweak in a plugin & js is not my expertise and I got stumped on how to do the following:
I have an array that can contain a number of values ($fruit) depending on what a user has entered. I want to add another variable to the array that isn't determined by manual input.
I...
Hi
I am making changes to some file in my local git repository and then want to send the changes to the remote git repository from which the local was cloned via ssh.
After run "git commit -a" on my local side, to send the changes to the remote, I run
$ git push
Everything up-to-date
However I checked the remote files and they are n...
So, I have Push Notifications working fine to my app with Custom Sounds. However, when my iPhone is in silent mode, and I send a push notification with a custom sound, the sound obviously does not play, but there is also no vibration.
If I send a push notification with a sound="chime" or something that doesn't exist like that, the iPho...
Hi all, are there anyone hear about APE (Ajax Push Engine) before ? I'm building Rails application and trying to create group chat with this APE realtime engine, the problem is how to make Rails communicate with APE Server ? Are there any tutorial or reference on working APE with Rails ?
...
I am looking to write an app which received pushed alerts from a server. I found a couple of methods to do this.
SMS - Intercept the incoming SMS and initiate a pull from the server
Poll the server periodically
Each has its own limitations. SMS- no guarantee on arrival time. Poll may drain the battery.
Do you have a better suggest...
i have commits that are in a remote repository (origin/master) which i want to put in a branch created from that repository (origin/remote_branch).
when i checkout to that remote branch
git checkout -b mybranch origin/remote_branch
then cherry-picked the commits that i made
git cherry-pick 9df63616b0428cf6edc4261adb533a1ac516b9a0
...
Hi, I'm relatively new to the whole AJAX way of doing things so please excuse me if I'll mix two different things (although I'd appreciate it greatly if you could comment me on that).
My question is this:
I have many web clients (lets say around 1500) whom I want when starting up to "subscribe" to the web server with some sort of Id and ...
I have a project in git with a bunch of graphics (.jpg, .png, .tiff, etc). The graphics extensions are in my .gitignore (this can change) because I do not need to version the graphics (the department responsible for graphics has version cue and tracks their own changes to the graphics). However, when I push, it seems only the tracked con...
Hi,
I am going to implement an Apple Push notification provider, but i am note very clear about the requirements to implement it.
As today, i know that it needs:
Cron job support.
Database support.
Scripts support (PHP at least).
Outgoing 2195 port allowed.
The question is:
Do i need to contract a VPS hosting service or just any ...
Alright, I recently wrote a ajax push script which had php on the backend sleeping while waiting for someone to make an update. However, the sleeping processes took up a lot of cpu. Any ideas on how I can prevent this? I am guessing I will have to either find a program which can do the sleeping with threads or write my own in python or c...
I currently have an Apple Push Notification running on my server in Ruby. I'd like to get one going in Erlang as I'd like to use a supervisor to keep watch over it. Does anyone have any code that they could help me with?
Here's my Ruby code. One thing I do not like about this current implementation is that it does not seem to stay ...
I followed the instructions at:
How To Build An Apple Push Notification Provider Server
When I run the php script on my MacOSX or on Windows using Parallel desktop, the script works. But as soon as I run it on my hosting I get the message:
Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://gatew...
When I try to send Push Notifications I get this error: "Connection refused", but I don't know why... I've uploaded my apns-dev.pem in the same directory as well in the root-directory but that won't work either.
<?php
$payload['aps'] = array('alert' => 'This is the alert text', 'badge' => 1, 'sound' => 'default');
$payload = json_encod...
Hello, I've recently started developing iphone applications for a project at school and I've been having some problems testing push notifications. I've read I need to get some SSL certificate from the program portal, but I cannot find the link AppID where I am supposed to get them. Is it really necesary even though I am just starting out...
I have MacBook and Ubuntu Server on it as part of VMWare fusion virtual machine. When I use GIT on my local disk (Mac) everything is working perfectly but when I try to use git on volumes I have problems.
For example /Volumes/vm1/webfolder is my local .git repository. If I create clone like
$git@myserver:byrepo.git
then I check for c...
Hi, I have to design a client/server system emulated on a website running Ruby on Rails that should work like this:
a page is requested by a web browser and once it's opened the server can push messages to it
I know this is not possible "naturally" but I was thinking of a sort of "java applet" that is running on that page, listening on...
I'm looking to avoid running my own server all the time when dealing with Apple's push notification service. From my understanding, I need a constant connection to the APNS which I can't afford... I was planning on releasing my app for 0.99 or for free and I really don't want to spend a lot of money elsewhere.
After a bit of googling ...
I have 2 problem
I implement notification , install in my phone but when I send notification from provider, I didn't receive any notification , but when i use another phone i receive notification. Is there any setting for receiving notification?
where of my code i must implement codes that must run when i click on"View button" on notif...
Hay guys, I'm looking into reading about 'push' technology, but i think i may have heard about it in the wrong way. Is there are interesting things i should know about it? How can it be done in PHP? Can it be done in PHP? What's the general idea behind push?
Thanks
...