get value from deeplink android code example
Example 1: get id from deeplink
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.BROWSABLE"/>
<category android:name="android.intent.category.DEFAULT"/>
<data
android:host="www.example.com"
android:pathPattern="/.*"
android:scheme="https"/>
</intent-filter>
Example 2: get id from deeplink
protected void onCreate(@Nullable Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.your_view);
if (getIntent() != null && getIntent().getData() != null)
{
//parse your data here,
//it's the deeplink you want "https://www.example.com/..."
}
}