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

Allow configurable path segments to be empty. #277

Closed rossbacher closed 4 years ago

rossbacher commented 4 years ago

Which will match a non existing path segment.

e.g. http://www.example.com/<path_segment>/bar

with "patch_segment" -> ""

will match http://www.example.com/bar

Empty configurable path segments are not allowed to be the last path segment in a given URL

Added tests to test the new functionality. Fixed a test in MainActivity