N
N
newdancer2018-03-26 17:45:36
Android
newdancer, 2018-03-26 17:45:36

How to make an application launch from a link if Chrome is not the default?

How to make an application launch from a link if Chrome is not the default?
added to manifest

<intent-filter>
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />
                <data
                    android:host="example.com"
                    android:scheme="http" />
            </intent-filter>

But in reality, deep link only works if chrome is the default. For example, on xiaomi. It is the default of the browser and there these links are simply not processed. Who will advise what?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question