Bixby Developer Center

References

confirm-on-abandon

optional

If declared, the system will prompt the user for confirmation when navigating away from the transaction with an existing Transaction. If undeclared, the system will not prompt a user when they navigate away from the current transaction and start a new one. The system will transparently cancel and clear the existing Transaction.

Example

transaction-support {
match {
MyTransaction
}

confirm-on-abandon {
message ("Are you sure you want to abandon your current transaction?")
}
}

Child Keys

message
required
Text of message shown prior to abandoning a transaction
on-retain
optional
Provides the developer a slot to declare the intent that they want the system to plan/execute if the user chooses 'NO' on the confirmation prompt