RahulMishra RahulMishra - 14 days ago 7
iOS Question

Implementation of application:openURL:sourceApplication:annotation: not found in iOS 8

I am using following

SDK's
via
CocoaPod
:

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


Every thing
works fine
in
iOS9
.

But when I change my deployment target to
iOS8
the
delegate
method defined in
AppDelegate
-openUrl
is not being called anymore.

Its not being called for both
Facebook
and
Google Sign In
.

When I Tap on
OK
in facebook's authorization page my app relaunches again no delegate is called giving me this log:

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


Note When I comment this Line my Code works well in both iOS versions.But I need to use Clever tap.

//Clever Tap
[CleverTap autoIntegrate]; //Cause Issue in FB/G logins


What is main cause behind it I am not able to figure it out.

Answer

It seems that Google sign and Facebook are also inserting an app delegate proxy, as per here - https://firebase.google.com/docs/reference/ios/firebaseanalytics/category_f_i_r_analytics_07_app_delegate_08. This seems to conflict with the CleverTap delegate proxy.

So for now please use the manual integration. We'll look into resolving this issue.