Commit f674d59
committed
fix correctly uncache live activity requests
* The optional cast did not work for this case, the cast always failed.
* Use forced cast as we know the types we are uncaching. However, this could be dangerous and not future proof.
* Swift does not offer a do-try-catch for runtime errors, so we cannot do-try-catch forced casts, unfortunately.1 parent 5fb7b7e commit f674d59
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
- iOS_SDK/OneSignalSDK/OneSignalLiveActivities/Source/Executors
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
0 commit comments