NativeScript / NativeScript/plugins

Cannot convert object to Lcom/adjust/sdk/OnDeeplinkResponseListener; at index 0

Open
#230 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
206
Forks
123
Avg merge
2d 1h
Merged PRs (30d)
1

Description

Hello, I want to use configure the deeplinks but when trying this code:

var adjustConfig = new AdjustConfig(appToken, environment);

adjustConfig.setDeferredDeeplinkCallbackListener(function(deeplink) {
    console.log("Deferred deep link URL content: " + deeplink);
});

Adjust.create(adjustConfig);

The following error appears

Cannot convert object to Lcom/adjust/sdk/OnDeeplinkResponseListener; at index 0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the implementation of setDeferredDeeplinkCallbackListener and the Android bridge that receives its callback argument. Reproduce the shown configuration and investigate why the function cannot be converted to OnDeeplinkResponseListener; done means the callback is accepted without the reported conversion error.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, javascript, typescript
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.