Push notification preferences - react-native

We need to allow a user to set specific preferences for receiving push notifications. Examples:
mute specific channel
send push only when #mentioned (global and
chat specificly)
docs https://getstream.io/chat/docs/#push_ios doesn't cover it at all. Seems only turn on/off all notifications is possible?

At the moment this is not supported by Stream Chat, improvements to the Push capabilities are added regularly so extended support for mutes and mentions will also come up soon enough.
In the meantime you can achieve this by handling chat events via webhooks and add the mute/mention logic on your webhook handler. More information about this can be found in the docs: https://getstream.io/chat/docs/#webhook_events

Related

Slack Custom per Channel Slack Notification Sounds?

I know how to mute notifications on a per-channel basis, and how to change what triggers notifications on a per-channel basis in Slack. But best I can tell, there is no way to set a unique notification sound on a per-channel basis. Is there a way to get a unique notification sound for a particular slack channel.
Why? I want some channels to grab my attention more than others. Particularly, channels that alerts drop into.
Unfortunately, Slack does not provide an option to customize notification sound on per channel basis.
As you have rightly mentioned, in channels and DMs with three or more people, you can choose to be notified about every new message, just mentions or nothing. But you can't do anything about the notification sounds.

Geolocation Push Notifications

I'm using phonegap/cordova for both my iOS and Android applications. I'm looking for geolocation push notifications, so I can do a push message for both my east coast and west coast customers. Is there a third party platform that would allow me to integrate this ability and let me do one-time push notifications?
We recently did the same thing.
Initially:
We tried to capture all the user push ids and store them, then set our own system up. Which was a pain in the...
Then:
A better option is to set up native push notifications with http://parse.com/
They have a few API options. So its easy to set up the users.
When you add the user
also add a [channel]
Call the channel ["east_coast"] or ["west_coast"]
Then push a notification out to the channels that include ["east_coast"]
Easy.

Passbook push notification on Android?

Is there a way to send push notification with passbook on android ?
I found this https://www.pass2u.net, but i'm not quite convinced...
pass2u have an open API and offer free access to pass issuers with less than 1000 updates per month. One advantage over PassWallet is that their revenue model is not dependent upon advertising.
Both pass2u and PassWallet have reliable APIs that closely mirror the Passbook webservice and can be easily implemented with minimal overhead.
One further advantage of Pass2u over PassWallet is their support for Baidu push. If you have users in China then PassWallet updates will not work because they are dependent on the Google cloud messaging APIs which are not available.
The PassWallet app supports push notifications. It uses the same mechanism and API as Passbook/Wallet on iOS, the only difference being where you send the push notifications.
When a pass is installed, it registered with your service as normal, but in addition to the serial number etc. a URL is provided too. You then send a message to that URL.
You'll find more info here http://attidomobile.com/portfolio/passwallet/

Send HTML as Push Notification Message

I have 2 questions:
1) I need to send HTML in Push Notification IBM MobileFirst as a message, can I achieve it? If yes, how?
2) Using MobileFirst Console, can we send Push Notification? or in case we don't have any adapter/ or data source can we acheive push notification?
glad hearing you guys soon.
Push notifications are meant for very short text-based messages and are limited in size; sending mark-up will in all likelihood exceed this.
In order to use push notifications in IBM MobileFirst, you must use adapters. Please see the user documentation and developer center for more information.

How can my application perform a task when it is minimized or be started on certain events?

How can an application perform stuff when its actually closed like google+?
I notice that I got a notification from huddle chat from the google+ app for iOS. But google+ was actually not active, it was closed. Same situation with Whatsapp, I always get push messages both if the app is closed or active.
This kind of behaviour seems for me to be impossible to implement. From other questions I know that we cannot register some kind of background process. How do this apps handle that?
Can I still listen form something when my app is minimized?
When my app is just minimized but not closed I know that a certain method is called. Can I perform a repeating update task, e.g. read geo data?
The apps you mentioned use something called Push Notifications which work regardless of your App being open/in the background/closed. They are notifications sent to the device when an action happens and most of the processing is done on the Server (The notifications are not generated by the App itself. A server pushes the Notification on).
Apple has a fantastic section on Executing Code in the Background when your App is minimised which should provide most of the answers you need. It even has a dedicated section on explaining the Geo Data capture which should help you in this case.