Commit b445a01
committed
Fix FAIL_UNAUTHORIZED re-queue loop when IV is disabled
Gate the FAIL_UNAUTHORIZED re-queue path on useIdentityVerification == true.
When IV is OFF, hasValidJwtIfRequired() always returns true so re-queued ops
were immediately eligible, creating a ~200ms infinite retry loop. Now IV-OFF
treats FAIL_UNAUTHORIZED the same as FAIL_NORETRY (drop + wake waiters).
Also fix Operation.externalId KDoc: subclass constructors set this field,
not IOperationRepo at enqueue time.
Made-with: Cursor1 parent a292935 commit b445a01
File tree
2 files changed
+4
-3
lines changed- OneSignalSDK/onesignal/core/src/main/java/com/onesignal/core/internal/operations
- impl
2 files changed
+4
-3
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
| 287 | + | |
287 | 288 | | |
288 | | - | |
| 289 | + | |
289 | 290 | | |
290 | 291 | | |
291 | 292 | | |
| |||
0 commit comments