This is how you can trigger notifications, you can use this to build programs with bash or python that also allow for notifications. For example, i run a couple of bash programs that connect to an api, the bash program runs a loop checking for messages and if new messages are found i send a notifcation to the blackberry hub.
This is how you can trigger notifications, you can use this to build programs with bash or python that also allow for notifications. For example, i run a couple of bash programs that connect to an api, the bash program runs a loop checking for messages and if new messages are found i send a notifcation to the blackberry hub.
echo "msg::notify\ndat:json:{\"itemid\":\"yourItemIdHere\",\"title\":\"YourTitle\",\"subtitle\":\"YourSubtitle\",\"target\":\"YourTarget\",\"targetAction\":\"YourTargetAction\",\"payload\":\"YourPayload\",\"payloadType\":\"YourPayloadType\",\"payloadURI\":\"YourPayloadURI\"}" >> /pps/services/notify/control