airbnb / DeepLinkDispatch

A simple, annotation-based library for making deep link handling better on Android
http://nerds.airbnb.com/deeplinkdispatch/
4.38k stars 406 forks source link

Help for using with Java #354

Open mikebgrep opened 2 years ago

mikebgrep commented 2 years ago

I add the dependencies and I annotate the Activity like in first example, but it's not found the link any help how I need to proceed with implementation in Java project. It is only this place I need to set the link@DeepLink("https://www.example.com/{id}")

 Intent intent = getIntent();
        if (intent.getBooleanExtra(DeepLink.IS_DEEP_LINK, false)) {
            Bundle parameters = intent.getExtras();
            link = parameters.getString("id");

        }

Does not return anything, I need this for first start of the app and in the app state and I need the ID. Thanks Is not working need help here I can't find an article online to how to use it with java is not opening the deep link Here is mu filter in SpashActivity

            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />
                <data android:scheme="https" />
            </intent-filter>