Trace: • Biometric & PIN security
Differences
This shows you the differences between two versions of the page.
|
flutterui:biopin_security [2026/03/23 14:30] admin created |
flutterui:biopin_security [2026/03/23 14:52] (current) admin |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | With ''f_secure'' you screen needs biometric or PIN authentication before you can use it. It will show a skeleton screen: | + | ~~NOTRANS~~ |
| + | ~~Title: Biometric & PIN security~~ | ||
| + | It doesn’t take much effort to add biometric or PIN authentication to an application. Just configure it! | ||
| + | We support 3 layers: | ||
| + | |||
| + | * Application security | ||
| + | * Screen security | ||
| + | * Button security | ||
| + | |||
| + | To configure application security, simply enable biometric authentication in mobile.xml: | ||
| + | |||
| + | <file mobile.xml> | ||
| + | <FlutterMobile> | ||
| + | <parameters> | ||
| + | <!-- Biometric login --> | ||
| + | <Mobile.login.biometric>true</Mobile.login.biometric> | ||
| + | </parameters> | ||
| + | </FlutterMobile> | ||
| + | </file> | ||
| + | |||
| + | This option will show biometric or PIN authentication (depends on your device configuration) immediately after first successful manual login: | ||
| + | |||
| + | {{:flutterui:app_secure.png?nolink&300|}} | ||
| + | |||
| + | You will need to re‑authenticate after a longer period of inactivity or if you resume the app after a pause. The biometric authentication is active as long as you don't do a manual logout. | ||
| + | |||
| + | If it's good enough to secure your application on screen level, just add the style: | ||
| + | |||
| + | ''f_secure'' | ||
| + | |||
| + | to your screen(s) and you'll see a skeleton: | ||
| {{:flutterui:screen_secured.png?nolink&300|}} | {{:flutterui:screen_secured.png?nolink&300|}} | ||
| - | until successful authentication. | + | until successful authentication. |
| + | |||
| + | The last option is a security mechanism for single button clicks: | ||
| + | {{:flutterui:button_secured.png?nolink&300|}} | ||
