-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Remove
+[UIApplication load]
in OneSignal class implementation in
order to prevent swizzling before the library is instantiated (IF it is instantiated at all) - Remove `-[UIApplication setDelegate:]` swizzle in favor of manually calling `+[OneSignal swizzleSelectors]` during init, which kicks off all required method swizzling. This method also wraps the sensitive code in a `dispatch_once` block in order to prevent multiple swizzles from happening if init is called more than once - Force swizzle before all tests execute to accomodate previous commit - Add some pretty prints to make debugging easier - Attempts to swizzle the current UNUserNotificationCenterDelegate during +[UNUserNotificationCenter swizzleSelectors] just in case the delegate has already been set by the time this method is called - Fixes potential memory leak in Reachability - Missing -[UIViewController viewDidLoad] super call - Update binary
- Loading branch information
Showing
8 changed files
with
57 additions
and
45 deletions.
There are no files selected for viewing
Binary file modified
BIN
+16.8 KB
(100%)
iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/Versions/A/OneSignal
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters