How to send push notifications to your users - ios

How can I send push notifications to my app users?
Let me first start off by saying I'm new to iOS development and I already purchased my dev account and have already built my application that I want to submit to the app store.
Before I submit my application I want to enable push notifications for my users. Basically what I want to do is this: I have a RSS news feed that I post every time I have an update for the company... Once I post on the RSS feed it's sent to my site homepage and can be read there and is also sent to my iPhone application homepage with a UIWebView connected to view the posts on a dedicated site made for the application.
What I want to do is every time I post on the RSS feed to have it send a notification to my users with the title of the post being the notification and when they open it, it takes them to the webpage of the post in a UIWebView. If this isn't possible to connect notifications to a RSS feed then that's fine with me. I can manually send them to the users each time I post.
How do I do this?

The Push notification are sent by server. there is format which is to be followed and it has to be sent to apple servers. After apple servers receive request for push, it sends the push to users.
For making push you have to set certificates in developers account.
If you want detailed tutorial then refer
http://www.raywenderlich.com/32960

Related

Sending only push notifications to users on Microsoft Teams without bot messages

I am building a third party Microsoft Teams app and wanted to know if our app can trigger a push notification without it sending any actual messages to user through chat?
We have a chat tab for our app that we'd like to keep clean, and sending bot messages just as notifications to the user will make it cluttered.
You can send proactive notification to user.
Could you please refer below doc for more details:
https://learn.microsoft.com/en-us/azure/bot-service/bot-builder-howto-proactive-message?view=azure-bot-service-4.0&tabs=csharp

How to send popup alert to my apple IOS users?

I have one app online into my itunesconnect account and recently I have created a new app of the same service.
I started a new one because it was less time spending started a new app from scratch. Now I want to notify to the users of my older app that there is a new app that is the upgraded of the older one.
There is any way to send a popup through itunes connect because I'm the owner of both?
thanks for any kind of suggestion
Push notification should be your answer or you can implement an alert for old app that can be triggered later via an endpoint or push notification as well.

Possible to send a push notification from my app when another specific app (Facebook) is opened?

I have an app, and I was wondering if it's possible for my app to automatically send a push notification whenever someone who has both my app and Facebook installed opens Facebook. As in, I have an app who's sole purpose is to send a push notification that says "You have opened Facebook!" whenever a user opens the Facebook app.
This is under the assumption that the user had originally granted certain permissions to my app when it was first installed.
Thanks!
It is but certain that your application will not belong to the same App Group to which the Facebook application belongs.
The only way the 2 applications which do not belong to the same app group can communicate is using URL Schemes.
There is no reason for Facebook to implement your app's URL scheme. Hence, I'm afraid that there is no way your App can communicate with Facebook's app to detect if Facebook was opened; And hence be able to send an push notification.

Push Notification for a pass added to the default Wallet Application [duplicate]

This question already has an answer here:
How to make a push notification for a pass
(1 answer)
Closed 6 years ago.
I've built a Ruby on Rails application to create passes and interact with Apple to manage pass registration and updates. For the most part, I followed this tutorial: https://www.sitepoint.com/whats-in-your-wallet-handling-ios-passbook-with-ruby/
I've watched these apple videos about apple passbook (https://developer.apple.com/videos/play/wwdc2012/301/) and have setup my app's API according to the passkit documentation (https://developer.apple.com/library/ios/documentation/PassKit/Reference/PassKit_WebService/WebService.html).
Right now, I'm able to create passes in my RoR application and add them to my iphone (either via email or download link). However, after updating the pass and triggering the push notification to APNS I don't get the push notification in my device. My device is correctly registered with my application when I add it for the first time. And the pass gets updated as expected if I go to the back of the pass and refresh it.
The only problem I'm having is delivering those push notifications to the apple wallet app. I don't know if I'm missing anything, I've read lots of posts that mention enabling push notifications for your own IOS app but I don't really need an IOS app; if my passes are added to the apple's default wallet app I just want to push notifications to it.
My device's push token is generated correctly, I've tried with both the production and sandbox APNS endpoints and certificates using the grocer gem and I've even tried the server reference that comes with those apple videos, I don't get any errors but I don't get any notifications either. I've confirmed that my iphone has notifications enabled for the wallet app.
I'd appreciate if anybody can lead me to the right track to solve this.
I've tried with both the production and sandbox APNS endpoints and
certificates using the grocer gem
Your issue is you are using the wrong certificate.
Use your PassTypeID certificate to connect to the APNS production endpoint.
See How to make a push notification for a pass for more details.

Sending push from 2 apps that use the same Parse App ID

Can I use the same Parse app from 2 different Swift apps and have specific users pushing messages to each other?
Do I need a 2nd Push (p12) certificate on either Parse or Apple Dev site? Or can both apps use the same one somehow?
My scenario is a restaurant iOS app and a customer iOS app. I need customers to send a push message to the restaurant app with every new order. I also need the restaurant manager to send a push message back to his customers with any order updates from his side. All users (restaurant owner + customers) reside on the same Parse app.

Resources