Commit 0d033d4
committed
Allow the operation repo to be paused
* If a createUser fails, let's pause the operation repo. We will still poll, but we won't flush it is paused.
* After a create user request is uncached, update the `originalPushToken` property to be the push token associated with this request. Because, we update the push subscription before sending this request.1 parent 7d7f13d commit 0d033d4
File tree
2 files changed
+16
-5
lines changed- iOS_SDK/OneSignalSDK
- OneSignalOSCore/Source
- OneSignalUser/Source
2 files changed
+16
-5
lines changedLines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
111 | 117 | | |
112 | 118 | | |
113 | 119 | | |
| |||
Lines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
| 331 | + | |
331 | 332 | | |
332 | 333 | | |
333 | 334 | | |
334 | 335 | | |
335 | 336 | | |
336 | | - | |
337 | | - | |
338 | | - | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
339 | 342 | | |
| 343 | + | |
| 344 | + | |
340 | 345 | | |
341 | | - | |
342 | 346 | | |
343 | 347 | | |
344 | 348 | | |
| |||
600 | 604 | | |
601 | 605 | | |
602 | 606 | | |
603 | | - | |
| 607 | + | |
604 | 608 | | |
605 | 609 | | |
606 | 610 | | |
| |||
617 | 621 | | |
618 | 622 | | |
619 | 623 | | |
| 624 | + | |
620 | 625 | | |
621 | 626 | | |
622 | 627 | | |
| |||
0 commit comments