Maybe a long shot since DonManfred released this library in 2016, but was anyone able to find a way to prevent the SweetAlertDialog from closing when the back key is pressed?
Sometimes I do not want the user to be able to close the dialog with the back key.
If KeyCode = KeyCodes.KEYCODE_BACK Then
sweet.Initialize("Alert")
sweet.showCancelButton(True).showContentText(True).withCancelText("No").withConfirmText("Si").withContentText("Desea abandonar la aplicación").withTitleText("Salir").show
Return True
End If