PROBLEM:
User does not get push notification on mention event over API.
No mobile push notifications on api mention and answer although configured in notification settings, just browser push.
Ref: https://www-10.lotus.com/ldd/appdevwiki.nsf/xpAPIViewer.xsp?lookupName=API+Reference#action=openDocument&res_title=POSTing_new_events_ic50&content=apicontent
STEPS:
1. Login to Connections Cloud as USER 2. In another tab, open a REST client.
2. Follow the steps in the above link under the section: "POSTing a simple event to the currently Authenticated user"
Sample Request:
{
"generator": {
"id":"An External Application1"
},
"actor": {
"id":"@me"
},
"title":"${mention.you}",
"to": [
{
"objectType":"person",
"id":"urn:lsid:lconn.ibm.com:profiles.person:203187817"
}
],
"object": {
"summary":"Today is May 21st. @{{urn:lsid:lconn.ibm.com:profiles.person:203187817|@USER 1}}",
"id":"203187817"
},
"verb":"mention"
,
"connections":{
"actionable": "true"
}
}
3. After the POST request is sent, login to Connections Cloud as USER 1 using the mobile App.
OBSERVED RESULTS:
- USER 1 does not push to mobile for this @mention, even not if actionable=true (Not OK)
EXPECTED RESULTS:
- USER 1 should get a mobile push notification that he was mentioned
(This DOES happen when USER 2 @mentions USER 1 using the web UI).
ENVIRONMENT:
IBM Connections Cloud.
NOTES:
This issue was reported initially as a Support Case, but Mobile Dev replied as follows:
"Connections Mobile currently does not support external events as generated via the API. Here is a link to the events that we currently support: https://www.ibm.com/support/knowledgecenter/SS5JS8/admin/r_push_notifications.html. Support for push notifications from external events would be an enhancement request."
The KB page says:
Users will receive push notifications on their mobile device if it is enabled for the Connections mobile app.
Push notification events
The Connections server sends push notifications to a user's mobile device when the following events occur:
It should not matter whether the mentioning event was created via the web UI or via API calls. To me, this is not an enhancement request, it is a defect.