API: $close
$close: With this API, you can explicitly close a Mobile Activity Space (MAS). Closing a MAS marks the end of its lifecycle and prevents user from further interaction with the MAS. This API is typically invoked after all activities associated with the MAS are completed.
$close().then(
() => {
$log('Completed closing MAS');
},
(error) => {
console.error('Error while closing MAS', error);
},
);
Was this helpful?