Commit bd29ed4
committed
Adding migrate to load
Previously migrate was only in init. This will still allow crashes due to not migrating if customers call other public methods prior to calling OneSignal initWithLaunchOptions. We should avoid this as best as possible by migrating immediately.
This implementation can be changed later to queue all methods until after init has been called so that we don't unnecessarily migrate.1 parent ac6e382 commit bd29ed4
File tree
2 files changed
+8
-2
lines changed- iOS_SDK/OneSignalSDK/Source
2 files changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
124 | 125 | | |
125 | 126 | | |
126 | 127 | | |
127 | | - | |
| 128 | + | |
128 | 129 | | |
129 | 130 | | |
| 131 | + | |
| 132 | + | |
130 | 133 | | |
131 | 134 | | |
132 | 135 | | |
133 | 136 | | |
134 | | - | |
| 137 | + | |
135 | 138 | | |
| 139 | + | |
| 140 | + | |
136 | 141 | | |
137 | 142 | | |
138 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3019 | 3019 | | |
3020 | 3020 | | |
3021 | 3021 | | |
| 3022 | + | |
3022 | 3023 | | |
3023 | 3024 | | |
3024 | 3025 | | |
| |||
0 commit comments