How to create push notification when the RSS feed gets updated in iPhone? - iphone

I need to display a push notification on new updates in the xml feed.
Had gone through http://mobiforge.com/developing/story/programming-apple-push-notification-services and tried that sample code successfully.
But what should I need to do ,to create push notification while new entries come in RSS feed?

You need to write a push notification provider server that sends the actual remote push notification as well.
I suggest you have a look at this link
http://blog.boxedice.com/2009/07/10/how-to-build-an-apple-push-notification-provider-server-tutorial/

Related

How to Save/store push notifications sent from Parse and print it out on any viewcontroller?

I have finished an application with push notification setup through Parse and it was successful, I have followed the doc of Parse to setup push notifications on swift 2.0 ,I can send push notifications. However, I need to add one important thing to the app, is how to store/save the push notification message received to the app and to print it in one/any viewcontrollers? And, of course, any new push notification would replace the old one.
Save the notifications in a table on your server. Then when app is run, call web service and read notifications from that table

Sending push notifications between devices using Parse and Swift

I have configured my app to receive push notifications through Parse, which I can send from the Parse dashboard, but I would like to send notifications between devices, specifically when a button is clicked from either device. I cannot find documentation about this...wondering if anyone has experience doing this.
You have to store the current user into Installation class then send push notification using PFInstallation Query and PFPush.
Please refer this parse documentation for more details to send notification.
https://parse.com/docs/ios/guide#push-notifications
or refer this site Swift Parse : How to Push Notification To a Specific Device/objectId

How to test if Geoloqi push notifications are working or not?

For normal push notifications, when something new is added to a site, a push notification is sent to the device.
So if I want to test if push notifications work how do I do that?
I tried creating triggers and Geonotes on the console with the present location I receive on my iPhone. And then tried running the triggers hoping to receive a push notification, but unfortunately I am not getting any push notification.
What am I doing wrong?
I hope someone can help me with this.
You can use the message/send method to test sending a message directly to a device.
The simplest way is to log in to your own Geoloqi account from within your app, and then use the API console to send a message to your device. You can of course also send messages to other accounts, just take a look at the doc page for message/send.

Notifications when new RSS is available

I've created an app that displays an RSS feed.
I wonder if it is possible to get a notification when a new rss update.
Do I have to use push notification? (have heard that it is difficult)
Yes, push notifications are the way to go. It's not that complicated but you need some infrastructure on your side.
You'll need a server with a database that stores all the push notification recipients.
If you only have one hardcoded RSS feed just send a notification to all your clients if a new item is available.
If one can add own feeds to the app you need a database which saves the subscribed feeds for each push notification recipient. Then you have to check for new feed entries and send out notifications to the devices that are subscribed to that feed.
There are plenty of tutorials for push notifications out there. Both server and client side.
depending on the user base of your app, urbanairship.com is probably the easiest way to implement push in your app. With them they handle all server side pushes and you can send a million free push notifications a month.
So if you add their codebase to you app, you can send 200000 users upto 5 notifications a monthm each.

Can we cancel a push notification from application on iOS5?

On iOS5, the push notification shows on the top bar and not block user. When the push notification is showing and user click our application but not the push bar, our app will launch normally. However, we want to cancel the push notification at that time. Is it possible ? Thanks a lot!
Short answer: No. There is no way you can manipulate sent notifications as far as I know.
Slightly longer answer:
Once a push request has been sent to the Apple Push Notification servers, thats it. It disappears into their system and they will then try to deliver it on a 'best effort' basis. You receive no feedback about its status or any ability to change/delete it.
The only form of feedback you can get is about which devices do not wish to receive push notifications that you tried to send to.
If you want to send delayed notifications which can be cancelled/modified at later data, either write you own solution, or use some pre-existing solution (e.g Urban Airship).