Files
baron-safe-app/docs/bridge-policy.md
T
kevin 5f7b9a7360
ci / flutter-check (push) Successful in 4s
Initial Baron Safe app scaffold
2026-06-30 15:16:14 +09:00

699 B

WebView-Native Bridge Policy

Allowed Commands

Command Description
getDeviceInfo Return device id, platform, app version
registerPushToken Register current push token
openBiometricPrompt Run biometric or device PIN prompt
blockSession Block a session after native verification
blockLinkedApp Block a linked RP after native verification
openSettings Open native app settings

Rules

  • Do not pass private keys to WebView.
  • Do not store long-lived refresh tokens in WebView storage.
  • Validate origin and session before processing bridge commands.
  • Native layer must verify sensitive commands before calling backend APIs.