Release 3.11.2
Swizzling fixes
Rework to OneSignal's swizzling which addresses:
- Fixes compatibility with Swift projects that use
UIApplicationDelegateAdaptor
(fixes #1045 & #1069) - Fixes app startup issues:
- Kotlin 1.6 (issue #1042)
- Fixes rare crash on
realizeClassMaybeSwiftMaybeRelock
(#1042 (comment))
- Some instances of the “Apns Delegate Never Fired” error related to compatibility with other SDKs that use the
AppDelegate
:- Multiple classes that implement
UIApplicationDelegate
- Class that inherits from a class that implements
UIApplicationDelegate
but never calls super.
- Multiple classes that implement
- other potential compatibility issues