Commit 7eece7c
fix(iv): suppress anonymous ops at enqueue under IV-required
Add shouldSuppressAnonymousOp from reference branch #2599: any non-
LoginUserOperation enqueued without an externalId is dropped at the
enqueue boundary when useIdentityVerification == REQUIRED, since it
can't authenticate and would otherwise sit in the queue forever blocked
by hasValidJwtIfRequired. LoginUserOperation is exempt — it's enqueued
intentionally during logout and purged later by
removeOperationsWithoutExternalId if needed.
Outer-gated on _identityVerificationService.newCodePathsRun so Phase 1
customers stay byte-for-byte on the legacy enqueue path.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent a3204c1 commit 7eece7c
1 file changed
Lines changed: 24 additions & 0 deletions
File tree
- OneSignalSDK/onesignal/core/src/main/java/com/onesignal/core/internal/operations/impl
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
| 139 | + | |
138 | 140 | | |
139 | 141 | | |
140 | 142 | | |
| |||
147 | 149 | | |
148 | 150 | | |
149 | 151 | | |
| 152 | + | |
| 153 | + | |
150 | 154 | | |
151 | 155 | | |
152 | 156 | | |
| |||
157 | 161 | | |
158 | 162 | | |
159 | 163 | | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
160 | 184 | | |
161 | 185 | | |
162 | 186 | | |
| |||
0 commit comments