Skip to content

Build error when adding iOS native config for deep linking #401

@edhesketh

Description

@edhesketh

I have implemented CleverTap push notifications in a react native app, and am adding the additional config required for deep linking on iOS (as described here: https://developer.clevertap.com/docs/push-notifications-ios#custom-handling-deeplinkexternal-url)

When I add the suggested CleverTapURLDelegate method below, I get the following error in xcode and the project fails to build:
Conflicting parameter types in implementation of 'shouldHandleCleverTapURL:forChannel:': '__strong id' vs 'CleverTapChannel'

// CleverTapURLDelegate method 
- (BOOL)shouldHandleCleverTapURL:(NSURL *)url forChannel:(CleverTapChannel)channel {
    NSLog(@"Handling URL: \(%@) for channel: \(%d)", url, channel);
    return YES;
}

I'm using version 2.2.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions