Skip to content

fix: add App Group state sync between mobile and lock app#50

Merged
Takeru-Habu merged 3 commits intodevelopfrom
fix/issue-49-app-group-lock-sync
Feb 21, 2026
Merged

fix: add App Group state sync between mobile and lock app#50
Takeru-Habu merged 3 commits intodevelopfrom
fix/issue-49-app-group-lock-sync

Conversation

@Takeru-Habu
Copy link
Copy Markdown
Contributor

@Takeru-Habu Takeru-Habu commented Feb 21, 2026

What

  • Added a native SharedLockState bridge on the mobile app and write shared state to App Group on contract creation, refresh, and logout.
  • Updated lock-app to read App Group shared values and refresh state when entering foreground.
  • Added App Group entitlements to both targets and adjusted lock-app build settings for simulator compatibility.

Why

  • Keep lock-app shield behavior synchronized with mobile dashboard usage/blocking state on the same device.
  • Improve local verification by enabling simulator-friendly lock-app builds.

Check Lists

[x] Worked well on local environment
[x] Tests passed

ScreenShot (if you need)

  • N/A

Related Issues

Closes #49

@Takeru-Habu Takeru-Habu changed the title fix: App Groupでmobileとlock appの状態同期を追加 fix: add App Group state sync between mobile and lock app Feb 21, 2026
@Takeru-Habu Takeru-Habu merged commit 75b7d11 into develop Feb 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[P1] Sync mobile dashboard block state to lock-app via App Group

1 participant