airbnb / airbnb/DeepLinkDispatch

customized method for deep link handler

Open
#207 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Kotlin
Stars
4.4k
Forks
414
PR merge metrics
No merged PRs in 30d

Description

the deeplinkdispatch is a good library and I was used it in my project. in my case , I want to do something before intent submit via startactivity, but I have find no method for my case. I have to return a intent immediate. eg. I want to request data from network and start different activity with network data.
can this library support this case on next plan.

```
@WebLink("/site/page")
public static void linkAppPage(Content aContent,Bundle aExtras){
//do something here
//request data any where
request.callback(){ data ->
if (data is caseA){
startactivity(A)
}else{
startactivity(B)
}
}
}
```

Contributor guide

Open the contributing guide

Research direction

Review the existing @WebLink deep-link handling path and how it invokes startActivity. Determine how a custom handler could support asynchronous network results and route to activities A or B, then define the API behavior and tests needed for that flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.