Commit d6dc273
committed
received_receipts_nil_app_and_player_id_handling
* Adding nil to a NSDictionary will crash.
* If we don't have an app_id don't send, our wrapper around need work requests ensures this is always present.
* Use NSNull to send a JSON null when there isn't a player_id however.1 parent 4e73bf6 commit d6dc273
File tree
2 files changed
+8
-2
lines changed- iOS_SDK/OneSignalSDK/Source
2 files changed
+8
-2
lines changedLines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
69 | 74 | | |
70 | 75 | | |
71 | 76 | | |
72 | 77 | | |
73 | 78 | | |
74 | | - | |
| 79 | + | |
75 | 80 | | |
76 | 81 | | |
77 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
466 | | - | |
| 466 | + | |
| 467 | + | |
467 | 468 | | |
468 | 469 | | |
469 | 470 | | |
| |||
0 commit comments