set the notification for Slack's notion app - notifications

notion page image
slack apps image
like the image above, I connected Slack and Notion.
I'm getting a notifications for all the changes on the linked Notion page.
but I only want the notification to come when I'm on a mention.
how can I do?

Related

How do I notify users of new content available in tvOS apps from the home screen?

Push notifications have been left out of tvOS (understandably so) but the docs seem to contradict themselves in alerting users to the fact that there is something new available in your tvOS app.
Here it seems to say that you can add an app badge: https://developer.apple.com/library/prerelease/tvos/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/WhatAreRemoteNotif.html
Here it says they've been removed from UIKit: https://developer.apple.com/library/prerelease/tvos/releasenotes/General/tvOS90APIDiffs/Objective-C/UIKit.html
Removed UIApplication.applicationIconBadgeNumber
Assuming the badge approach is not supported in this release, does anyone know the best practice for alerting a user that there is new content in your app without the user taking an explicit action? ie focusing on the app and showing them something in TopShelf?
I encountered the same problem and dived into this. Probably your best way is to update the topshelf with latest items, which is my way to solve this for now. You can use network calls to update the topshelf with content from your backend.
This depends on the type of application. E.g. showing the latest top movies for a movies app.
You can trigger an update of the topshelf after your network call completed using the following code:
NSNotificationCenter.defaultCenter().postNotificationName(TVTopShelfItemsDidChangeNotification, object: nil)
Make sure to implement the TVTopShelfProvider which should be clear using the following documentation:
This protocol is adopted by the principal class of an app’s TV Services extension. Apps that implement this extension can provide dynamic content to the Top Shelf element rather than having the system use the static image submitted with the app. The topShelfStyle property specifies the interface style you want, and the topShelfItems property specifies the content items to display. Whenever you change the content provided by the extension, post a TVTopShelfItemsDidChangeNotification notification to prompt the system to reload your content.
Icon badges are removed for app icons, push notifications as well (except for silent push notifications).

How do I send notifications on an AndroidTV?

I have been reading the documentation pages for Notifications for Android devices but I want to build and display notifications on an Android-TV. I have used several apps in the AndroidTV and none of them shows notifications, instead sometimes they appear in the recommendations bar,which leads me to believe that it may not be possible to display notifications on this family of devices.
My end goal is to dispatch a Heads-up notification (priority flag set to MAX) so it can be shown regardless of what the user is doing.
Can someone help me to achieve this, maybe pointing me to some more specific docs?
UPDATE I have found this application that displays notifications, but I cannot understand how it works. Is it possible that it is mimicking notifications without working with Android's API?
I also think notification will appear as "recommendation" and not appear as "notification".
For the Notifications for Android TV app, I guess it is using custom designed Toast instead of Notification.

Facebook Notification Handler with iPhone application

I have little Confusion regarding my iPhone application. So I hope I got solution from here.
Now My Question is:
Currently I am developing an iPhone application with Facebook user integration. User can send application request to his/her friend as a Facebook notification. If receiver accept that request or click on that request then how should I detect that through my iPhone application? Or is there any way to show that notification in my iPhone application?(Functionality is like get Life by Friends in Candy Crush Game)
Some Points
I have created canvas for application integration with Facebook but there is no any kind of functionality on my application's canvas page. It is totally blank. I just want application on iPhone not on Facebook.
On every click on app invitation notification by receiver I want to give some points to notification sender.
If you have any king of link or document related to this topic then please send me.

How do LINE and Viber display incoming call screens on WP?

I couldn't manage to find that piece of API which allows apps to alert the user with a custom screen, like what can be seen on an incoming (network) phone call over services like LINE or Viber, which even works ubder the lock screen.
Do they need similar registrations as push notifications?
What those apps are using is probably the VoIP APIs that are available. There is a full guide on how to implement such functionality here (including that incoming call screen): http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj206983(v=vs.105).aspx
There is also a downloadable sample app available here: http://code.msdn.microsoft.com/wpapps/ChatterBox-VoIP-sample-app-b1e63b8b

iOS 5 remote notification when launching app from dashboard

since iOS 5, notifications are no more intrusive as previous. This is nice, but it seems that users prefer to tap directly on app icon from the Dashboard instead of the (small) banner area or notification center.
In such case, my app cannot get payload from notifications.. Even the 'application didReceiveRemoteNotification' method is not able to get the notification.
Has anyone got the same issue? Do you have any advice?
Thanks
The intention of the push payload is just to display something useful/informative to the user in the alert. Not to actually send data to your app.
So you will need your own web service to provide the data your app needs. Your app should refresh/sync to that service when it launches to get the data.
Example: Instagram. It can push notify you that someone commented on your photo. But it's not actually sending the comment data in the push to display in the app. The comment data is downloaded when you launch Instagram and attempt to view the comment.