sendApproval
abstract suspend fun sendApproval(credential: PushCredential, notification: PushNotification, params: Map<String, Any>): Boolean
Send to the server an approval response for a notification that was received. How the approval is sent depends on the platform and the implementation of this handler. The parameters may include additional information or any other relevant data that the server needs to process the approval.
Return
True if the approval was sent successfully, false otherwise.
Parameters
credential
The credential to use for the response.
notification
The notification to approve.
params
Additional parameters.