Skip to content

Custom Annotations not working after update to v6.1.0 #362

Open
@arpank10

Description

@arpank10

Updated Version : v6.1.0
Previous Version: v5.4.3

Annotation processor used: kapt

We have custom annotations to register deep links, they are defined like this:

@DeepLinkSpec(prefix = ["xyz://"])
annotation class AppDeepLink(vararg val value: String)

The functions are defined as follows:

@AppDeepLink(abc)
@WebDeepLink(abc)
 public static Intent registerDeepLink(Context context, Bundle bundle) {
        / * Deep Link handling */
        return intent;
}

The custom annotations were working fine with version 5.4.3, but they are not generated in the Registry with the new version.

Note: We have tried adding Retention(AnnotationRuntime.RUNTIME) to our custom annotation
The custom annotations are also added to our build.gradle and incremental processing is enabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions