WTN.Clerk response console · Android & iOS
Calls
window.WTN.Clerk.login().then(…).catch(…).
Native action: loginWithClerkAuth.
Calls
window.WTN.Clerk.logout().then(…).catch(…).
Native action: logoutWithClerkAuth.
Calls
window.WTN.Clerk.getToken().then(…).catch(…).
Native action: getClerkAuthToken.
.then() will:
console.log(data)
alert() box
.catch() is shown the same way.