I have read documentation about create an deeplink and use app linking service in android studio 3.0. its pretty simple and easy to understand, but I have little bit problem when my URL has no prefix path. example :
https://example.com/<this is my premalink>/amp
there is no prefix, its directly url pattern. when i use regex
^[a-z0-9]+(?:-[a-z0-9]+)*$
it doesnt works, error shown as
The URL doesnt map to any activity
when i use only star, like :
https://example.com/*/amp
its show seem error. i got stuck in this step, I've check much tutorial about deeplink, and there always use pathPrefix instead of pathPattern.