airbnb / DeepLinkDispatch

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

Pass in the full source URL template into receiver's intent extras #187

Closed felipecsl closed 6 years ago

felipecsl commented 7 years ago

For any @DeepLink annotation, we need to pass in the original URL template into the Intent extras of the receiver, so they know which deep link was triggered. In this case, com.airbnb.deeplinkdispatch.EXTRA_URI is not useful since it can't be used for aggregation purposes. That's because any variables in the original URL template would be already replaced with actual values. Eg.:

rossbacher commented 6 years ago

Has been fixed by https://github.com/airbnb/DeepLinkDispatch/pull/229