Skip to content
Snippets Groups Projects
Commit 6faf5485 authored by Margot's avatar Margot
Browse files

remove workaround

parent 2d564b1f
Tags
No related merge requests found
......@@ -22,7 +22,6 @@
Only use swizzeling if there are conflicts with other plugins that needs to be resolved.
*/
typedef void (*bypassDidFinishLaunchingWithOption)(id, SEL, NSInteger);
@interface AppsFlyerAppController : UnityAppController <AppDelegateListener>
{
......@@ -56,13 +55,6 @@ typedef void (*bypassDidFinishLaunchingWithOption)(id, SEL, NSInteger);
}
[[AppsFlyerLib shared] setDelegate:_AppsFlyerdelegate];
SEL SKSel = NSSelectorFromString(@"__willResolveSKRules:");
id AppsFlyer = [AppsFlyerLib shared];
if ([AppsFlyer respondsToSelector:SKSel]) {
bypassDidFinishLaunchingWithOption msgSend = (bypassDidFinishLaunchingWithOption)objc_msgSend;
msgSend(AppsFlyer, SKSel, 2);
}
if (notification.userInfo[@"url"]) {
[self onOpenURL:notification];
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment