Commit 54f9a19
authored
Miscellaneous Fixes (#370)
* Miscellaneous Fixes
• Fixes an issue where the download method for attachments wasn't correctly implemented with a double pointer. It accepted NSError as a parameter, but because this pointer gets copied, any new assignments will apply to the copied pointer, not the original.
• Fixes an issue in setEmail() where the failure block was being called without verifying that it is nonnull, which could cause crashes.
• Cleans up the notificationReceived() method, which created a string (actionSelected) but doesn't use it.
* Fix Method Signature
• A recent bug fix changed the signature of a helper method to synchronously download files
• Fixes the method signature so the swizzled test override method works and doesn't crash the test1 parent 5f65589 commit 54f9a19
File tree
3 files changed
+12
-17
lines changed- iOS_SDK/OneSignalSDK
- Source
- UnitTests/Shadows
3 files changed
+12
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1658 | 1658 | | |
1659 | 1659 | | |
1660 | 1660 | | |
1661 | | - | |
1662 | 1661 | | |
1663 | | - | |
1664 | | - | |
1665 | | - | |
1666 | | - | |
1667 | | - | |
1668 | | - | |
| 1662 | + | |
| 1663 | + | |
1669 | 1664 | | |
1670 | | - | |
1671 | 1665 | | |
1672 | 1666 | | |
1673 | 1667 | | |
| |||
2017 | 2011 | | |
2018 | 2012 | | |
2019 | 2013 | | |
2020 | | - | |
| 2014 | + | |
| 2015 | + | |
2021 | 2016 | | |
2022 | 2017 | | |
2023 | 2018 | | |
| |||
2205 | 2200 | | |
2206 | 2201 | | |
2207 | 2202 | | |
| 2203 | + | |
2208 | 2204 | | |
2209 | 2205 | | |
2210 | 2206 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
136 | | - | |
137 | | - | |
| 135 | + | |
| 136 | + | |
138 | 137 | | |
139 | 138 | | |
140 | 139 | | |
| |||
753 | 752 | | |
754 | 753 | | |
755 | 754 | | |
756 | | - | |
757 | | - | |
| 755 | + | |
| 756 | + | |
758 | 757 | | |
759 | 758 | | |
760 | 759 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments