Commit 792c661
committed
Remove null pushToken check for notification_types
* We should always update notification_types so it is the most accurate value.
- pushToken should not be a factor on if we should update notification_types
- This logic was here from day one https://github.com/OneSignal/OneSignal-iOS-SDK/blame/85a9351a144c36c9af2206cd3ec80e1abab005c2/iOS_SDK/OneSignalSDK/Source/OneSignal.m#L1636
* Also fixed the testNotAcceptingNotificationsWithoutBackgroundModes flaky test
- Updated it to account for the new notification_types logic.1 parent 380f40f commit 792c661
2 files changed
+10
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2192 | 2192 | | |
2193 | 2193 | | |
2194 | 2194 | | |
2195 | | - | |
| 2195 | + | |
2196 | 2196 | | |
2197 | 2197 | | |
2198 | 2198 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
899 | 899 | | |
900 | 900 | | |
901 | 901 | | |
902 | | - | |
| 902 | + | |
903 | 903 | | |
904 | 904 | | |
905 | | - | |
| 905 | + | |
906 | 906 | | |
907 | | - | |
908 | 907 | | |
909 | 908 | | |
910 | 909 | | |
911 | | - | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
912 | 917 | | |
913 | 918 | | |
914 | 919 | | |
| |||
0 commit comments