Skip to content

Commit

Permalink
Adjust mermaid doc
Browse files Browse the repository at this point in the history
Signed-off-by: jamshale <[email protected]>
  • Loading branch information
jamshale committed Mar 6, 2024
1 parent bb6d6b0 commit 8bbc321
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions firebase_push_notifications/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ Mediator->>Mobile: No
Note left of Mobile: Do Nothing
Mediator->>Mobile: Yes
Note left of Mobile: Open notification Permission Modal
Mobile->Mobile: User says "not now"
Mobile->>Mobile: User says "not now"
Note left of Mobile: Close Modal and set user denied to true
Mobile->Mobile: User says "Allow"
Mobile->>Mobile: User says "Allow"
Mobile->>Mediator: Send device token
Note right of Mediator: Save device token for conenction
Mobile->Mobile: OS permissions popup
Mobile->>Mobile: OS permissions popup
Note left of Mobile: Approve or deny OS level permission
```

Expand All @@ -35,13 +35,13 @@ participant Firebase
Note left of Agent (Faber): Wants to send message to Mobile (Alice)
Agent (Faber)->>Mediator: Message
Mediator->>Mobile (Alice): Message
Mediator->Mediator: Receives Forwarding event in aca-py
Mediator->>Mediator: Receives Forwarding event in aca-py
Note right of Mediator: Get device token for connection
Mediator->Mediator: token is blank or None
Mediator->>Mediator: token is blank or None
Note right of Mediator: Do nothing
Mediator->Mediator: message sent withing 'n' minutes
Mediator->>Mediator: message sent withing 'n' minutes
Note right of Mediator: Do nothing
Mediator->Mediator: Token exists
Mediator->>Mediator: Token exists
Mediator->>Firebase: Request: Send OS notification to token
Firebase->>Mobile (Alice): Sends OS notification
```
Expand Down

0 comments on commit 8bbc321

Please sign in to comment.