added result code to callback message.

This commit is contained in:
Nick Leeman 2023-03-24 21:46:17 +01:00
parent 56c362518e
commit 8efa9697ef

View File

@ -189,7 +189,7 @@ public class SiwgJNI {
if (task.isSuccessful()) {
onConnected(task.getResult(), MSG_SIGN_IN);
} else {
sendCallbackMessage(MSG_SIGN_IN, "status", STATUS_FAILED, "error", "SIWG Sign-in Failed. Task Not Successfull!");
sendCallbackMessage(MSG_SIGN_IN, "status", STATUS_FAILED, "error", "SIWG Sign-in Failed. Task Not Successfull: " + String(resultCode));
}
} else {