Application implementation: OpenURL: sourceapplication: annotation: not found in IOS 8

I use the following SDK through cocoapod:

pod 'FBSDKCoreKit'
  pod 'FBSDKLoginKit'
  pod 'FBSDKShareKit'
  pod 'Google/SignIn'
  pod 'CLeverTap-iOS-SDK'

In IOS 9, everything works well

However, when I change the deployment target to IOS 8, the delegate method defined in appdelegate - OpenURL is no longer called

It is not required by Facebook and Google login

When I click OK on the authorization page of Facebook, my application restarts again without calling any log entrusted to me:

<FIRAnalytics/WARNING> Implementation of application:openURL:sourceApplication:annotation: 
  not found. Please add the handler into your App Delegate. Class: CLeverTapAppDelegateSurrogate.

Note that when I comment on this line, my code works well in both IOS versions But I need to use smart clicks

//CLever Tap
  [CLeverTap autoIntegrate]; //Cause Issue in FB/G logins

The main reason behind this is that I can't figure it out

Solution

It seems that Google logo and Facebook are also inserting an app delegate proxy. Follow here – https://firebase.google.com/docs/reference/ios/firebaseanalytics/category_f_i_r_analytics_07_app_delegate_08. This seems to conflict with clevertap principal - agent

So now please use manual integration We will study and solve this problem

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>