11-MeldingenFunctional DescriptionTechnical Description

This screen shows all notifications between the user and the friends and from the backend to the user.

All notifications should appear in the operating system Notification Center. Please be aware that the server could send a notification to the App based on an ID that cannot be related to a user. Google Cloud Messaging offers this functionality.

The screen will load 20 notifications at the time.
Scrolling further down will load the next 20 notifications

The app supports the following notification types (with statuses)

  1. Friend Requests 
    1. unprocessed
    2. accepted
    3. declined
  2. Friend Response
  3. Friend Disconnect
  4. No-Go Alerts
    1. announced
    2. requested
    3. accepted
    4. rejected
  5. Disclosure request
    1. Accepted
    2. Rejected
  6. Disclosure response
    1. Accepted
    2. Rejected
  7. Challenge Changed
  8. Idle Alert
  9. Friend Message
  10. VPN status change
  11. Admin message

The notifications can be retrieved through a GET on the messages URL that is inside the User object. That URL is parameterized and supports pagination.

Important: If a message contains a yona:process link, the app must POST an empty Properties object. This is closes the chain of encrypted information exchange between the buddies.

   


Notification TypeDescriptionActionsVisible in row

Friend (Buddy) Request

Technical: @type: BuddyConnectRequestMessage

This notification will be visible when a friend asks you to connect.

Message: “Vriendenverzoek” Friend-Name

Status Unprocessed:

Tap --> go to Friend Accept | Decline screen

Technical: POST the appropriate message to the yona:accept or yona:reject link in the message.

Status Accepted | Declined:

Show Accepted or Declined icon

Swipe: Delete notification

Technical: DELETE the object through the edit link inside it. Note that delete is not allowed until the request is accepted or rejected.

2 (unprocessed)

7 (accepted)

Friend (Buddy) Response

Technical@type: BuddyConnectResponseMessage

This notification will appear when your Friend accepts or declines your Friend Request

  • Geweigerd
    • Friend declined your invitation.
    • Message: "Vriendenverzoek afgewezen" - Friend-Name
  • Geaccepteerd
    • Friend accepted your invitation

Message: "Vriendenverzoek geaccepteerd" - Friend-Name

Tap --> go to Friend - Profile

Swipe: Delete notification

Technical: DELETE the object through the edit link inside it. Note that delete is not allowed until the request is processed.

3 (Accepted)

Friend (Buddy) Disconnect

Technical: @type: BuddyDisconnectMessage

 

This notification will appear when a Friend deletes (disconnect) you as a Friend

Message: "Je bent verwijderd als vriend" - Friend-Nickname

Swipe: Delete notification

Technical : DELETE the object through the edit link inside it. Note that delete is not allowed until the request is processed.

8

No-Go Alert User

Technical: @type: GoalConflictMessage

Alert in the event the user violates with a No-Go Challenge.

Message: "NoGo Alert" - User-Nickname

Tap --> go to Activity View (type 1 view) with the No-Go review (pass on the context url)

NoGo Alert Status is Announced

Swipe: Delete notification

Technical : DELETE the object through the edit link inside it.

6

 

No-Go Alert Friend

Technical: @type: GoalConflictMessage

Alert in the event the a friend violates with a No-Go Challenge.

Message: "NoGo Alert" - Friend-Nickname

The user can

Tap --> go to NoGo Activity View (type 1 view) with the No-Go review (pass on the contect url)

NoGo Alert Status is Announced but the user can ask for a URL Review (Status will go to Requested)

Swipe: Delete notification

Technical : DELETE the object through the edit link inside it.

11

No-Go URL review (Disclosure request)

Technical: @type: DisclosureRequestMessage

This notification will appear when a friend asks for a URL review (disclosure request)

On NoGo Alert Status Requested: show message "Verzoek om review"

On NoGo Alert Status Accepted or Rejected: show message "Verzoek om review" including icon for Accepted (Green) or Rejected (Red)

NoGo Alert Status is Requested

Tap --> go to Activity View (type 2 view) with the No-Go review (pass on the context url) and there the user can Accept or Reject the review request.

Technical : POST the appropriate message to the yona:accept or yona:reject link in the message.

NoGo Alert Status is Accepted or Rejected

Tap --> go to Activity View (type 1 view) with the No-Go review (pass on the context url)

Swipe: Delete notification

Technical : DELETE the object through the edit link inside it. Note that delete is not allowed until the request is accepted or rejected.

5

No-Go URL Review response (Disclosure response)

Technical: @type: DisclosureResponseMessage

This notification will appear when a friend accepted or rejected your ULR review request (disclosure request)

On NoGo Alert Status Accepted:

Message "Reviewverzoek geaccepteerd"

On NoGo Status Rejected

Message "Reviewverzoek geweigerd"

On NoGo Alert Status Accepted only:

Tap --> go to NoGo Activity View with the No-Go review (pass on the context url) where User (in role of Friend) can review (type 2 view).

Swipe: Delete notification

Technical : DELETE the object through the edit link inside it.

10

ReviewOutcome

Technical: Currently not implemented

This notification will appear when your friend reviewed the URL Review (disclosure request) that has been accepted by you.

Message: “Review resultaat”

Friend-Nick-Name

Show review result by Icon (red/green)

Tap --> go to Activity View (type 3 view) with the No-Go review (pass on the context url)

Technical: This is currently not implemented on the server. It is unclear whether/how this would differ from a regular buddy message.

4

Idle Alert

Technical: Currently not implemented

Alert in the event a friend has been idle for 48 hours.
Message: "Al 48 uur offline…" - Friend-Alias

Tap: go to Friend - Profile screen

Swipe: Delete notification

Technical: This is currently not implemented on the server.

9

Friend Message

Technical: @type: ActivityCommentMessage

This notification will be visible when a friend posts a comment on an event in the app related to the user

Tap --> go to Activity View with message from friend based on Context URL

Swipe: Delete notification

Technical : DELETE the object through the edit link inside it.

1

Challenge Changed

Technical: @type: GoalChangeMessage

This notification will be visible when a friend modified his challenges

Tap --> go to Friend Day View (todo)

Swipe: Delete notification

Technical: DELETE the object through the edit link inside it.

12

Friend personal data change

Technical: @type: BuddyInfoChangeMessage

This notification will appear when a Friend changes the nickname or other personal information (e.g. first name).

Tap: go to Friend - Profile screen

Swipe: Delete notification

(warning) TBD

VPN status change

Technical: @type: VpnStatusChangeMessage

This notification comes when a friend switches their VPN on or off or when they uninstall or install the VPN profile

(warning) TBD

Technical: DELETE the object through the edit link inside it.

(warning) TBD

System message

Technical: @type: SystemMessage

This notification is sent by the administrators of the Yona server, either to a subset of the users or to all of them.

Tap --> Show message text:

Swipe: Delete notification

Technical : DELETE the object through the edit link inside it.

13

Mapping of messages and statuses

Message type"Status" fieldStatusUI titlevisualization
ActivityCommentMessagen/an/aBericht
BuddyConnectRequestMessagestatusREQUESTEDVriendenverzoekInline image 1
ACCEPTEDVriendenverzoekInline image 2
REJECTEDVriendenverzoek 
BuddyConnectResponseMessagestatusACCEPTEDVriendenverzoek geaccepteerdInline image 3
REJECTEDVriendenverzoek geweigerd 
BuddyDisconnectMessage reason USER_ACCOUNT_DELETED  
USER_REMOVED_BUDDYJe bent verwijderd als vriend
BuddyInfoChangeMessage
n/an/a(warning) TBD(warning) TBD
DisclosureRequestMessagestatusDISCLOSURE_REQUESTED 
DISCLOSURE_ACCEPTED  
DISCLOSURE_REJECTED  
DisclosureResponseMessagestatusDISCLOSURE_ACCEPTEDReviewverzoek geaccepteerd
DISCLOSURE_REJECTED  
GoalChangeMessagechangeGOAL_ADDED  
GOAL_CHANGED 
GOAL_DELETED  
GoalConflictMessagestatusDISCLOSURE_REQUESTED  
DISCLOSURE_NOT_REQUESTEDNoGo alert
DISCLOSURE_ACCEPTED  
DISCLOSURE_REJECTED 
(warning) Not implemented on server  Review resultaat
(warning) Not implemented on server  Langer dan {0} uur offline
VpnStatusChangeMessagestatusDISCONNECTEDVPN tijdelijk uitgezet(warning) TBD
CONNECTEDVPN weer aangezet(warning) TBD
REMOVEDVPN verwijderd(warning) TBD
INSTALLEDVPN weer geïnstalleerd(warning) TBD
SystemMessagen/an/aBericht van Yona