airbnb / DeepLinkDispatch

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

An annotation argument must be a compile-time constant #311

Open onuryurtturk opened 3 years ago

P3t3rP3r3z commented 3 years ago

Did you ever figure this out?

onuryurtturk commented 3 years ago

nope I couldn't

rossbacher commented 3 years ago

You did not provide an example but I'm guessing you are using non compile time constants in the annotations.

e.g.

String deeplink = new String("http://www.example.com/")
@DeepLink(deeplink)
...

will not work as every parameter of any annotation as to to be a constant at compile time.