Push Notification with GetStream Notification feed - getstream-io

We are currently using getStream in our react web application for notification feed. It is working fine.
We are now planning to use it in our react native mobile app as well. We would like to show a notification (in the top tray or drawer) whenever there is a notification received by a user, similar to how we get in whatsapp or telegram
Does anyone know how this can be achieved. Couldn't find anything about this in their docs. I can see that they provide this functionality with Stream Chat
PS: We are able to get the notifications in the app but we would like to show the notification in the top tray as well so that the user knows he/she has received notifications without opening the app.
Regards,
Varun

I believe your question is about offering Push Notifications for your application. Stream Feeds does not currently implement Push Notifications out of the box so you will have to implement them in your application yourself. One common approach is to use notification webhooks where you have the webhook trigger a push notification for the user from your application's back end infrastructure.
I hope that is helpful.
Best,
Grant

Related

Need help to build a time based notification of microsoft Bot

I am looking for a solution where I need my bot to send notifications to all the users that have interacted with the bot before. This should happen on time demand, for example I would like to send notification only for alternate Friday at 5pm CDT.
I have trie the sample 16.proactive-messages but the the notification trigger is based on a controller so we have to send explicit request to
http://localhost:3978/api/notify to proactively message users from the bot.
I am using bot builder Nodejs sdk 4.x to build the bot.
I would like notifications to go on demand based on the set time and date.
The fastest way to meet your requirement is following the official sample that you tried. To send a notification to uses, you should send a request to api/notify endpoint.
You can create a scheduled webjobs to send this request to your bot so that your bot will send notifications to your users.
Hope it helps.

ConversationUpdate not firing from Teams bot user added event NodeJs SDK v4

I've been trying to implement the preview version of Microsoft's BotFramework for NodeJS SDK v4 on Teams as mentioned here. I've set up the messaging endpoint in the Azure portal and I'm able to receive the message events just fine.
I've tried out other bots in the Teams Store such as Hipmunk and they seem to be able to proactively message the users as soon as they get added on to the work space.
I've been through the documentation already and I know that I would need to work upon a ConversationUpdate event that fires in the event of a bot user being added to a team, but unfortunately I haven't received any such events. I've wired it up to be able to receive it because the handlers do work when I test the bot in web chat on the Azure portal. Is this some sort of bug in the Teams client itself or is there any alternative documentation that I've been missing. Please let me know if any code samples or further links are required to aid you in helping me as this is a pretty critical integration for me and my company.

Typing notification to user in dialogflow chatbot

I have developed a chatbot using dialogflow and hosted my webhook api to firebase cloud. I have integrated this bot to MS Team and Skype where I am able to access the bot from both channels. I have a requirement that I have to show "user typing..." notification to users in the chat window similar to session.sendTyping() having in MSBot. Do we have similar functionality using webhook option?
Any help would be appreciated.
Thank you!
This is not a feature that is built into Dialogflow. If you want to add this, you'll need to use another system to store the state of the focus and receive it on other devices. This could be accomplished through storing the boolean state in Firebase's database, for example.

Communicating with the web server using Google Home

I have a social networking website developed in php which is hosted on the server. Here people can talk to each other through messages.
I want to send and receive the messages, to the other users through google home. It is not like a chat bot. But here, the first user will send message from google home to the website and then the second user will send the message from the website to the first user who will receive it through google home.
Can this be achieved? Do I have to develop some kind of mobile App, so that user has to send the message to the mobile app and then the app sends the data to the server.
or do i have to use the webhook which is available in api.ai?
Any help will be appreciated.
You do not need a mobile app - it sounds like most (but not all) of what you're trying to do would be handled using API.AI's webhook Fulfillment.
However, you're also trying to do asynchronous operations (send a message or a notification to Home without the user prompting for it). This currently isn't possible - you can currently only send a message in response to the user taking some action.
One possible workaround for you is to allow the user to ask "how many messages are waiting for me" or something similar at any point. You can also play multiple messages in reply to a message they might send. However, you have limits (about 5 seconds) on how long you can wait to send a reply to a user instruction.
You can implement a chat bot e.g. via Dialogflow (former api.ai), however you can just react on inputs. You cannot push a message on Google Home (yet). So you could the bot read your mailbox but not implement a chat.

node.js and push notifications

I'm quite new on Node.js and without any knowledge on mobile development apps but I would add push notifications into my server app.
On npm I found this module:
https://www.npmjs.com/package/node-pushnotifications
but, after some search and if I understand well, I should have some specific credentials for sending notifications to all devices, first question is: is correct?
Assuming that the answer is yes, are there something to jump this check? Another module, some test credentials or what you want?
I would some generic solution but, if it is not possible, it could be useful also an IOS compatible solution.
This is the best packages for push notification for nodejs:
ios: https://www.npmjs.com/package/apn
android: https://www.npmjs.com/package/node-gcm
APNS is a push notification service for apple(mobile) devices.
You need to integrate SDK's provided by the 'apple developer doc' in your app to integrate push notification services. Then, Once the app installs in the mobile a token will be generated(unique for a specific device).You need to save this token.
From your server side You can send the push notifications to a device with the token that you got.
There is also an SDK to send Push notification from server side.
The best Provider is AWS, you can check this in details by this link

Resources