QuickBlox Push notifications to the offline users issue - ios

I integrated QuickBlox in my iOS app. Chat works, however I have one problem:
There is description how to use automatically generated push notifications to offline users:
http://quickblox.com/developers/SimpleSample-chat_users-ios#Push_notifications_to_the_offline_users
I implemented this feature and receive notifications. But if, for example, user of my app has two different dialogs: 1 - private, 2 - group; and chats in 1st dialog, somebody at the same time sends message in second dialog, then user doesn't get push notification.
Thus it seems to me that online status of user spreads to all it's dialogs when user logins to QuickBlox chat in app.
So I want to know is my assumption right? Can you please help me with this issue? Because in this situation I have to write my own logic for sending notifications to offline users.
Thank you.

Could you describe you problem in more detail with steps that you did?
And please look at the http://quickblox.com/developers/Chat#Alerts , by this link you may found your solution.

Related

How to go about IOS Push Notifications?

Im currently developing an app in Swift. I'm at the last stage of the app where I just need to integrate push notifications to the lock screen when certain user actions occur.
I'm going for something like how Instagram sends a push notification when a new user follows you or likes your post.
My entire backend is using firebase, and i've looked into firebase cloud messaging and I dont know if it has the capability to perform notifications like this.
I've watched tutorials and read documentation and I know you can push notifications to users from the console but I'm looking for notifications to be published and pushed based off specific user actions.
I know this is a very broad questions so what I want to know is:
A) Are notifications like instagram possible through Firebase cloud messeging?
B) If not, can you point me in the direction of how to figure this out?
Thank you!
A) Are notifications like instagram possible through Firebase cloud messaging?
Yes
Firebase send the push to APNS first then APNS send push notification to iOS devices.
If user 'A' do any action then that specific action will be transferred/send to staging/production server via apis. Based on your business logic staging/production server will send push notification to users(FCM token).
I hope this is helpful or you can explain the exact issue your are facing.

Push Notifications with Firebase and OneSignal

I'm looking for some guidance.
I'm using Firebase as the backend server for an app I'm building and I would like to alert users when somebody has either liked or disliked some content the user generated.
I understand that Firebase offers cloud messaging through which I can target very specific users and send updates to them; I have implemented that functionality. However, I would like to send updates based on changes in the database, and, as far as I understand, FCM is not built for this purpose.
I have come across OneSignal and it seems promising. Has anybody implemented this with Firebase and could it do what I'm looking for?
Thanks!
I have it set upon such a way that when a message is send by a user to another user, a notification is also send via OneSignal. You just need to store the OneSignal userId in a node with the firebase user UID.
I you like someone's content, then that would also send a notification out directly to the other user.

Notify Facebook users from iOS app

My iOS app gives the user the option to login using their Facebook account. I would like to be able to see the list with all the friends and invite the ones selected to use the app. The problem is that using the app request window, the friends get a notification that is displayed somewhere in the App Center, rather than in the Notifications panel. Unfortunately, this sort of notification is very subtle and might not be seen only after a long time.
From obvious reasons, I cannot fetch the emails of friends as this would be a great alternative.
Do you know if there is a way to send a Facebook Message or some other sort of notification that is more 'visible' to the receiver? Thanks!
I'm not sure if I completely understand your problem. If it's the problem that I think you're having, it sounds like you need to fill out more information on your Facebook App's configuration page.
From what I remember when I had this same issue, you need to have a Canvas URL set in your Facebook App's configuration page. Even if your app is not going to use Canvas, you need to have that part filled out in order for your friends to receive the app's notification jewel on Facebook.

Receive gifts fom friends while in my application

i am trying to implement a "gifting" mechanic in my game. I looked at this and i am able to send requests to friends (even with frictionless dialogs and so on)
My friends are able to receive the requests but the only described way to handle the request is to make them click on the notification in the native FB app and then handle it in my app via the application:(UIApplication *)application openURL:(NSURL *)url
That looks very inconvinient to me!
What if 2 friends sent me a request? Do i have to click them both?
What if I am in the app already? Do i have to go to the FB app click on the notification that brings me back to my app?
So the question is: Is there a way to see all the received requests for my app and handle them accordingly while I am in my app?
I'm a bit confused by your description but I'll give it a shot.
I guess you're trying to send 'gifts' to other users in your app. Do you have some sort of notification mechanism in your app? Similar to how I view a notification when someone posts to my wall on facebook. Once I tap the notification icon and see it, the notification array or whatever it is, is empty. So if I was to go to facebook's site, I wouldn't see any pending gifts.
I would create some sort of notification class that temporarily holds gifts so you can move in and not viewed/not viewed gifts.
Just to clear things:
I got a little confused about the notifications you get when receiving an apprequest and the actual requests. The requests can be viewed and managed via the graph path /me/apprequests
You can view and accept them in your app in an inbox-like way for example.

Send Facebook notification to user who registered on my site via facebook connect

Let me start by saying facebook's developer documentation sucks. Bad.
I'm using the facebooker plugin in rails to let users sign up through facebook connect. Now when certain things occur I want to send notifications to certain users through facebook. I heard some say that notifications must go from one user to another, but I've seen evidence otherwise. I signed up at the site http://www.meetingwave.com/ through fb connect, and now they send me (annoyingly) daily notifications of new things on their site. Also, using the comments widget on my own site www.tmatthew.net, when an anonymous user leaves a comment I get notified of that as well.
So uh, how do you do that? I've been googling all week long and can't seem to find anything. It seems like I should be able to send a notification from my app to one of it's users.
The api call you are looking for is called Notifications.send. The only thing is that they will be disabling it very soon so there is probably no point in implementing it into your application.

Resources