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

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
liveCode
Posts: 124
Joined: Sun Oct 17, 2021 5:53 pm

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

Post 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
jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7423
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

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

Post 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?
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10428
Joined: Fri Feb 19, 2010 10:17 am

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

Post 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.
liveCode
Posts: 124
Joined: Sun Oct 17, 2021 5:53 pm

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

Post 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
stam
Posts: 3214
Joined: Sun Jun 04, 2006 9:39 pm

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

Post 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?
stam
Posts: 3214
Joined: Sun Jun 04, 2006 9:39 pm

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

Post 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…
Post Reply