Skip to content

isDeferredDeeplinkOpeningEnabled has no effect on iOS #188

@kawapaso

Description

@kawapaso

Hello Adjust Team,

I'm experiencing an issue with isDeferredDeeplinkOpeningEnabled not working as expected.


SDK version: adjust_sdk: 5.5.1

Reproduction

Adjust.initSdk(
  AdjustConfig('appToken', AdjustEnvironment.production)
    ..isDeferredDeeplinkOpeningEnabled = true  // has no effect on iOS
    ..deferredDeeplinkCallback = (deeplink) {
      print('callback: $deeplink'); // fires on both platforms ✅
    },
);

On Android, after the callback fires, Adjust opens the URL via Intent as expected.
On iOS, after the callback fires, Adjust does not open the URL — application(_:open:options:) is never called.


Suspected cause

(Please correct me if I'm wrong)

The Dart config serializes the flag under the key "isDeferredDeeplinkOpeningEnabled":

// lib/adjust_config.dart
configMap['isDeferredDeeplinkOpeningEnabled'] = isDeferredDeeplinkOpeningEnabled.toString();

However, the iOS native plugin reads a different key "launchDeferredDeeplink":

// ios/Classes/AdjustSdk.m
BOOL launchDeferredDeeplink = [call.arguments[@"launchDeferredDeeplink"] boolValue];

( Please correct me if I'm wrong, but I verified this by patching AdjustSdk.m locally, and it worked as expected )

Looking forward for your support here

Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions