NativeScript / NativeScript/plugins
Cannot convert object to Lcom/adjust/sdk/OnDeeplinkResponseListener; at index 0
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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