QuickBlox - Add Push notification in one to one private chat - ios

How can i able to send notification, when app is opened or not opened. I am not getting any proper guidelines in quick blox docs, to send notification between private chat.
Please guide me, how to do this.

By default, QuickBlox sends push notifications to offline users automatically if your opponent is offline
http://quickblox.com/developers/SimpleSample-chat_users-ios#Push_notifications_to_the_offline_users
what you need is:
Create APNS certificate and upload it to the Admin panel http://quickblox.com/developers/SimpleSample-messages_users-ios#Creating_APNS_certificates
Subscribe users to push notifications http://quickblox.com/developers/SimpleSample-messages_users-ios#Giving_a_user_a_Push_Notification_subscription
that's all, after this a user will be receiving pushes when he will be offline

Related

Does Apple Push APN provide a statistics API?

I didn't find this answer anywhere so decided to ask.
Does the Apple Push Notifications have a stats API or dashboard where we can see count for sent, received and opened?
Thanks.
Apple does not provide that kind of dashboard. When you are calling the APNS server to send a push notification you receive a response from the APNS server, that you can use to extract some statistics(mostly if the notification was send). If you need to know that the notification was opened you can manually track if the application was launched due to the user tapping the PN or an action of the PN.

How to push notification if data is from API?

I am creating an app where in it requires to push notifications regarding the updated payment remittances of the user. How can I send the notification to the user when my backend is done dumping the latest payment remittances. What will be the trigger from the API to send notification to the user?
You should use APNS for delivery push-notification for iOS device.
For more info see https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/APNSOverview.html

How can we notify mixpanel to send push notification programatically in ios

I have an app which is using Mixpanel. In that app I am using push notification. I could able to send the push notification manually to the registered devices list from Mixpanel profile.
My requirement is user can set reminder for persons who are in his phone book contact. Those persons should get the push notification who are using my app and accepted to recieve push notification. How can I do this if this is possible ?
I did not get any reply to this post. After that I asked to support Team. This is the reply to my question.
What is the use of People Analytics? Can it help to notify Mixpanel to send push notifications? if so how?
People Analytics is a platform that allows you to generate lists of user profiles in Mixpanel and compile unique attributes to it. For example, I created a profile for myself, where my favorite music is classical here. I can then aggregate all users who's favorite music is classical, and send a targeted push notification to them. The goal with Mixpanel People Analytics is to help you deliver targeted notifications to your users. So it's definitely the right platform to help you send push notifications through! Here's how you start storing user profiles, and here how is how you set up push notifications.
How can we send the reminder note to Mixpanel which will be send as push notification to the concerned person?
All through the UI! Through Mixpanel, you set up the push notification to have it look exactly how you want (here) and then you define the targeted criteria of users you'd like to reach.
How can we notify mixpanel to send push notification to the particular person ?
Once again, as long as you can identify those users through the unique attributes (for example, all users who's favorite music is classical) you can send them those notifications (here).
Mixpanel JQL API enables your to retrieve user device tokens via the properties $ios_devices and $android_devices. Using Apple APN and GCM endpoints, i guess your could push your own notifications via your own code with this (i've managed to retrieve the tokens, havent tried actually pushing my own way yet).

Process received apple push notification in monotouch

Is there a way to show or list Apple push notifications on any user page?
It's pretty hard to find where is the alert message is received.
Here is the Xamarin doc for Remote Notifications: http://docs.xamarin.com/guides/cross-platform/application_fundamentals/notifications/ios/remote_notifications_in_ios/.
iOS handles the push notification for you, your app is only informed of a push notification if you app is running in the foreground or when the user clicks on the notification and you app is opened.
With the iOS SDK there is no way to get a list of notifications for you app, the best way to create this is by keep a list server side.
Have a look at MonoTouch.UIKit.UIApplicationDelegate.ReceivedRemoteNotification Method

Using Firebase to send and receive push notification for an iOS app

I am create a firebase based chat application for iOS. One of the features is to send push notification to the users in the same chat room (if they are offline).
I can't find a firebase function (for iOS) that can be used to send push notifications to the user.
Is it possible?
Displaying alert badges and notifications on iPhone applications is accomplished through Apple's Push Notification system. Since the application is not running on the user's phone when they receive notifications, the APN will have to be triggered from your server-side code.
You'll probably want to create a server-side module that listens for changes to your chat Firebase. When a message appears for a user that is offline, you'll have to schedule a remote notification with the APN. That latter part has nothing to do with Firebase, but has extensive documentation on Apple's developer web site.
I'm not sure if a web application can display alerts or badges. Otherwise this approach will only work if you create a native wrapper for your Firebase chat application.

Resources