Repository navigation
IG Guard 4.8
Foreground capture and conversation identity hotfix
- Capture the last update in rapid Instagram screen changes instead of silently dropping it; process exposed messages after scrolling and retain chronological ordering.
- Select the peer's chat toolbar rather than the child's account/inbox title. Recognize clickable peer headings, raised input boxes and supported localized composer labels; keep unsent DM drafts excluded.
- Use structured notification conversation/sender metadata before Android's formatted display title. Recognize child sender metadata for outgoing messages; preserve group titles and leave ambiguous authorship unknown.
- Show content-free capture state under the child's 設定 → 連接與診斷 → 畫面擷取. Correct the two-way disclosure to describe Cloudflare encrypted relay buffering instead of ntfy.sh.
- Preserve the working relay, secure pairing, explicit child consent, archives and existing functions. Update both phones in place. Already enabled two-way capture remains enabled.
Previously mislabelled historical records remain as originally captured; their real conversation cannot always be reconstructed. See the capture follow-up report for verification and limits.
This release repairs conversation capture and makes the existing native controls easier to recognize and operate. Update both the parent and child phones using the APK signed by the same replacement key used for 4.7; existing pairing and local evidence are retained.
Cloudflare relay hotfix
- Replace ntfy delivery with an integrated free Cloudflare Worker and private Durable Object mailboxes. No additional phone app or Firebase project is required. The reported HTTP 429 occurred at upload; the parent could not receive rejected packets.
- Preserve existing secure pairing codes, safety symbols, capture consent, conversation archive, timestamps and pending encrypted evidence. Open the updated parent app once, then reconnect the updated child app. Both phones must use this hotfix; old and new transports do not interoperate.
- Authenticate parent room ownership with the existing signing key and child access with a separate relay capability. The backend receives ciphertext and routing metadata, not the family decryption key.
- Keep local evidence until a valid signed parent receipt. Relay forwarding, cloud buffering, parent-device receipt and parent reading remain distinct. Persist critical control attempts and buffer them before accepting key rotation/reset.
- Preserve issued retry cooldowns across resumes/manual tests; prevent accepted prefixes from blocking remaining long-message fragments. Serialize database creation/migration and ignore stale-family upload results.
- The free backend has shared limits. Offline saturation keeps unconfirmed records on the phone and delays retry rather than dropping them. See the verification report and deployment guide.
The hotfix workflow verifies live authenticated offline delivery before building, and verifies the existing signing certificate, package and higher version code before replacing the download. The original 4.8 source tag is preserved; the build section identifies the hotfix commit.
Conversation capture
- Read the actual Instagram toolbar title instead of treating the Back button (
返回) as the conversation name. Skip unreadable or ambiguous titles instead of guessing from message text. - Recognize nested outgoing bubbles and message text exposed through known message descriptions. Capture across the exposed conversation region, including above the keyboard, using window-relative bounds and a larger bounded traversal.
- Keep incoming-only protection from misclassifying nested child replies as incoming messages.
- Preserve observed order across overlapping screen captures and stable thread paging without changing original timestamps. Upgrade existing evidence storage while preserving bookmarks, review state, pending encrypted delivery and deletion records.
- Preserve historical mislabelled records with an unidentified-conversation warning; do not invent their original contacts.
Clearer controls and setup
- Give secondary actions, input fields and icon buttons visible outlines, keyboard focus indicators and contrasting touch feedback in both themes.
- Show a visible 查看完整記錄 cue on message cards. Expose custom actions and role choices correctly to Android accessibility services.
- Use two-column conversation filters, including on narrow screens with enlarged text. Expose saved-filter and appearance selections.
- Shorten the thread introduction while retaining the full explanation under 排序與擷取說明.
- Clearly distinguish incoming-only mode from two-way capture. Put the setup steps and receive-again action near the top of the child setup notice.
Enable two-way capture
- Parent: 提醒 → 對話記錄 → 雙向擷取尚未確認 · 前往設定 → 傳送雙向擷取設定.
- Child: 權限 → 雙向對話記錄, receive the setting, read the scope and tap 我已了解,啟用雙向擷取.
- Confirm 雙向擷取已啟用 and that accessibility is enabled and connected. Keep both phones online.
Signed parent instructions and the child's local confirmation remain required. This release does not bypass Android permissions, Play Protect or bank-app checks.
Verification and documents
See the visual review and debugging report and capture repair report for test results and limits. The workflow verifies the signed APK before publishing it and provides SHA256SUMS. If a signed build is unavailable, release notes are published without an APK.
Known limits
Only content Instagram exposes through notifications or its loaded accessibility tree can be captured. Unloaded or previously missed history cannot be restored. Direction can remain unknown; room labels are not verified Instagram identities. Notification times and screen fragments cannot always be aligned into an exact global chronology. Old records merged under 返回 cannot be split reliably. No physical Samsung S26 / live Instagram two-phone verification was available during development; passing automated checks is not a guarantee of bug-free operation on every device.
Hotfix source: dfb95fcbbee8f8c66c270657290f0b600f325c7b (tag 4.8-hotfix.3). The original 4.8 source tag is unchanged.
Build artifact
Signed APK verified by the build job; SHA256SUMS accompanies the download.
Workflow: https://github.com/Derek317/Parent-Child-Protection-System/actions/runs/42506645535