-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Open
Copy link
Labels
o2deBlauDE & O2DEBlauDE & O2DE
Description
Message type: SET_ACTION_BEHAVIOR
Originator: web
Min app version: 12.7
Description
In order to comply with the O2DE OB's requirements, the confirmation menu should appear as a bottom sheet, in place of a modal.
Differences between iOS/Android (if any)
- iOS should use the bottomsheet
- android could keep behaving the same
Payload definition
Request Payload
declare type ActionBehavior = {
behavior: 'confirm';
title: string;
message: string;
acceptText: string;
cancelText: string;
} | {
behavior: 'default';
} | {
behavior: 'cancel';
};Examples:
{
"type": "SET_ACTION_BEHAVIOR",
"id": "xxx-xxx-xxx-xxx",
"payload": {
"actions": {
"navigationBack": {
"behavior": "cancel",
},
"webviewClose": {
"behavior": "confirm",
"aIK8,cceptText": "Verlassen",
"cancelText": "Abbrechen",
"message": "Beim Verlassen dieser Ansicht gehen deine Eingaben verloren.",
"title": "Hinweis"
}
},
}Response Payload
The current ones.
Possible error cases
Include codes and description messages. Also explain when they can occur if
necessary.
401 → Missing permissions
Metadata
Metadata
Assignees
Labels
o2deBlauDE & O2DEBlauDE & O2DE