If I understand correctly, you are trying to use Java code instead of JavaScript. From the link you provided, select the JavaScript tag and try to use that code example.
The only problem I have now is that the user is logged in but doesn’t progress to the page that follows the login process. So they just see the same login page and don’t know they have been logged in.
is there something I can add to direct them to a new page?
Hello @Luc_Zentar
I think Backendless.initApp is not required too. Ui-Builder does it on his own
To do redirect, you should enrich “onSuccess login function”
const onSuccess = user => {
const pageName = 'nextPageName'
const pageData = { logedUser: user }
BackendlessUI.Navigator.goToPage(pageName, pageData)
}
I have been testing more and have found a further issue.
The biometric login works and the user is sent to the next page. But when accessing the app menu, which re-directs the user to another URL within the webview in the app, the user is then logged out and returned to the biometric login page.
This issue does not happen when a user logs in using email, so something is different using the custom code which is causing this problem. Can you help with what that might be?