-
Notifications
You must be signed in to change notification settings - Fork 84
SDK-496 Fix inAppConsume behavior and add JSON-only message signal #1087
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
sumeruchat
merged 16 commits into
master
from
fix/SDK-496-inapp-consume-inbox-notification
Jul 30, 2026
Merged
Changes from 12 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
3c8010d
SDK-496 Route public inAppConsume through InAppManager
sumeruchat 72313d9
SDK-496 Post iterableInboxChanged only for inbox messages
sumeruchat 8003bed
SDK-496 Add JSON-only message availability signal
sumeruchat d384e2c
Trigger fresh CI run
sumeruchat 90428b4
SDK-496 Drop expired JSON-only messages before signaling
sumeruchat 231e67b
SDK-496 Scope JSON-only delivery to the enqueuing identity
sumeruchat 42abadc
SDK-496 Discard in-app fetch responses that outlive their identity
sumeruchat c286447
SDK-496 Add identity coordination to in-app delivery and merge
sumeruchat f7540e3
SDK-496 Expand CHANGELOG for acknowledgement and identity scoping
sumeruchat e4cdd0c
SDK-496 Trim redundant guards and pin the readmission tracking test
sumeruchat 6200375
SDK-496 Invoke delivery callbacks outside the identity section
sumeruchat 77a1418
Merge remote-tracking branch 'origin/master' into fix/SDK-496-inapp-c…
sumeruchat 1459666
SDK-496 Read application state on the main thread during start
sumeruchat 10113ae
SDK-496 Gate read-marking on inbox messages and settle retention limits
sumeruchat d0a1ad5
SDK-496 Clarify delivery flag name and record identity invariants
sumeruchat ed110af
SDK-496 Harden mixed auth queue test ordering
sumeruchat File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the re-entry point that closes the deadlock loop:
identityValues()takes the same identity lock, so any identity read (email,auth, andtrackviaauth) called from a callback-spawned thread while the JSON-only callback holds the lock on main will block here. See the callback-under-lock comment inInAppManager.swift:754.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved by the same change (6200375): callbacks no longer hold the identity lock, so this re-entry can no longer close a deadlock loop.