Page 1 of 1

How can I show the user the default password on his phone?

Posted: Sat Feb 26, 2022 8:33 pm
by liveCode
I create an app and I want the user to have to enter the password with which he opens the phone when logging in.
how do I do it?
Thanks

Re: How can I show the user the default password on his phone?

Posted: Sun Feb 27, 2022 7:04 pm
by jacque
I don't think you can, it would be a security risk. Also, not all users have a password, they might use a PIN, a pattern, face recognition, or fingerprint. Why do you need it?

Re: How can I show the user the default password on his phone?

Posted: Sun Feb 27, 2022 7:08 pm
by richmond62
That does sound odd.

On my Android phone I draw a pattern on-screen to log in.

For apps (such as my Bank) I have completely different passwords.

If I thought someone was making a LiveCode app to work out my log-in pattern
on my Android phone I would set alarm bells ringing.

Re: How can I show the user the default password on his phone?

Posted: Sun Feb 27, 2022 8:29 pm
by liveCode
I want him to have a screen that he will have to enter the password / fingerprint
To protect the app because the user is supposed to enter private things there

Re: How can I show the user the default password on his phone?

Posted: Sun Feb 27, 2022 9:00 pm
by stam
richmond62 wrote:
Sun Feb 27, 2022 7:08 pm
That does sound odd.
Richmond, I suspect (s)he is not referring to accessing the system password, but instead hooking into the mobile OS’s biometric authentication mechanism to authenticate the app’s specific password.

For example I can set a password for my bank app and have it authenticate with facial recognition. Nothing alarming there.

Not sure if that’s doable with LiveCode, perhaps someone wiser can advise?

Re: How can I show the user the default password on his phone?

Posted: Sun Feb 27, 2022 9:02 pm
by stam
To answer my own question, it is possible with an external - mergLA.

See http://mergext.com/home/mergla/

Edit: this appears to be iOS only; not sure what you’d do on Android…