Commit eb049f4
committed
Save push subscription ID on app start
Because of a bug prior to v5.0.5, players that upgraded from v3 -> v5 were missing the player ID in cache for sending to notification opened and notification received endpoints.
Now, every time app cold starts, as part of the push subscription model checking itself for updates, we will cache its subscription ID if non-empty.1 parent 7ec4d9c commit eb049f4
File tree
1 file changed
+3
-0
lines changed- iOS_SDK/OneSignalSDK/OneSignalUser/Source
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
425 | 425 | | |
426 | 426 | | |
427 | 427 | | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
428 | 431 | | |
429 | 432 | | |
430 | 433 | | |
| |||
0 commit comments