Skill / SKILL.md

Mobile Session Security

TalissonVitorino/kmp-ios-skills

KMP + iOS/Android session hardening for a fintech app — inactivity auto-lock (track last-interaction, idle timeout, biometric/passcode re-auth), biometric re-lock on background/foreground with a grace period, and screen-capture/snapshot protection. Android: WindowManager FLAG_SECURE (blocks screenshots + recents thumbnail + recording), ProcessLifecycleOwner foreground/background, BiometricPrompt re-auth. iOS: touch interception (UIWindow.sendEvent override), app-switcher snapshot hiding via a resign-active blur overlay, UIScreen.isCaptured / capturedDidChangeNotification recording detection — with the honest caveat that iOS has NO API to block screenshots. A shared SessionLockController drives the state. Use when adding idle logout, re-lock on resume, or hiding balances/PANs from snapshots and screen recording. Cross-refs: swift-security (Keychain/LAContext), authentication (biometrics), mobile-security (Keystore), app-lifecycle (scene phases), expect-actual (KMP boundary).
2 views 16 repository stars 0 commentsUpdated Nov 27, 2026
Overview

KMP + iOS/Android session hardening for a fintech app — inactivity auto-lock (track last-interaction, idle timeout, biometric/passcode re-auth), biometric re-lock on background/foreground with a grace period, and screen-capture/snapshot protection. Android: WindowManager FLAG_SECURE (blocks screenshots + recents thumbnail + recording), ProcessLifecycleOwner foreground/background, BiometricPrompt re-auth. iOS: touch interception (UIWindow.sendEvent override), app-switcher snapshot hiding via a resign-active blur overlay, UIScreen.isCaptured / capturedDidChangeNotification recording detection — with the honest caveat that iOS has NO API to block screenshots. A shared SessionLockController drives the state. Use when adding idle logout, re-lock on resume, or hiding balances/PANs from snapshots and screen recording. Cross-refs: swift-security (Keychain/LAContext), authentication (biometrics), mobile-security (Keystore), app-lifecycle (scene phases), expect-actual (KMP boundary).

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/TalissonVitorino/kmp-ios-skills' skill-source

Use the complete skill-source/cross-platform/mobile-session-security directory with your client’s skill installer.

  • cross-platform/mobile-session-security

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory cross-platform/mobile-session-security

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
2dde4137e250d306cfe6e70a43aa0f3bc43b34c5f6d86d5b134fb6c1b5252d04
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills