Open ghost opened 6 years ago
I am also searching for a solution like this. My multiflavored app needs a different scheme as well as a different hostname.
Any solution to this yet?
my solution is like below, wish can help you
@DeepLinkSpec(prefix = { "http://hostname1.example.com/xxx", "https://hostname2.example.com/xxx", ...... }) public @interface WebDeepLink { String[] value(); }
==== useage === @WebDeepLink({"/path1/path2/{p}"}) public deepLinkHandler(context,bundle){ //do something }
I have the same requirement, but the hostname is also known at runtime, depending on our app's customer. Is there a way to ignore the hostname at all?
Hi, Do we have news on this matter ? I'm also interested in the possibility of ignoring hostname or part of the hostname (such as subdomain). Best, Theo
Is there support for a case like this :
@DeepLink("http://{name}.example.com/deepLink")
Looking for variable host names here.