airbnb / airbnb/DeepLinkDispatch

Is this library compatible with AndroidAnnotations library ?

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

Description

Hi,
I want to add Deep linking feature into my project which already uses the [AndroidAnnotations](https://github.com/androidannotations/androidannotations) library. After integrating DeepLinkDispatch library with my app it crashes when I test it by adb command, throws an `ActivityNotFoundException`.

The crash is obvious as AndroidAnnotations generates a new file(let's say MainActivity_ for the actual file MainActivity), which is declared in the manifest file. Now this library looks up for the MainActivity in the manifest but as it couldn't find so the system throws an exception.

Since this is a very basic problem, is there a fix or work around already available? I saw these two closed issues([Issue1](https://github.com/androidannotations/androidannotations/issues/1510) & [Issue2](https://github.com/airbnb/DeepLinkDispatch/issues/38)) but they don't offer any solution.

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure by launching a deep link with adb in an app using AndroidAnnotations, then inspect the generated MainActivity_ entry in the manifest and the ActivityNotFoundException. Done means the compatibility behavior is verified and a documented fix or workaround is identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.