Deeplinking schema and path prefix behaviour issue
Hi in am my android application I am trying to implement app deep linking. I found following behaviour:
Scenario 1:
<data
android:host=“abc.com"
android:path="/"
android:scheme="https" />
<data
android:host=“abc.com"
android:pathPrefix="/care"
android:scheme="https" />
In this case google search behaviour as follows:
If I search for **abc**
it gives me app chooser with my application listed in it.
If I search for **abc /care**
it gives me app chooser with my application listed in it.
If I go to abc.com in mobile browser it goes to mobile website
abc.com. Now in that web page if I click on web link which redirects
to abc.com/care that point it is not giving option to open my
application. I believe it should give me chooser with my application
as option.
Scenario 2:
<data
android:host=“abc.com"
android:scheme="https" />
<data
android:host=“abc.com"
android:pathPrefix="/care"
android:scheme="https" />
In this case please check data for first deep link.
In this case google search behaviour as follows:
If I search for **abc**
it is not giving me app chooser option and directly redirects abc.com.
My expectation is it should give me app chooser with my application
option.
If I search for **abc /care**
It gives me app chooser with my application listed in it.
If I go to abc.com in mobile browser it goes to mobile website
abc.com. Now in that web page if I click on web link which redirects
to abc.com/care that point it gives me app chooser with my application
listed in it.
Both the scenarios works differently. Expected behaviour for me it should as app chooser with my application listed in it. Am I missing any thing or Is this the expected behaviour of it?
android applinks android-deep-link
add a comment |
Hi in am my android application I am trying to implement app deep linking. I found following behaviour:
Scenario 1:
<data
android:host=“abc.com"
android:path="/"
android:scheme="https" />
<data
android:host=“abc.com"
android:pathPrefix="/care"
android:scheme="https" />
In this case google search behaviour as follows:
If I search for **abc**
it gives me app chooser with my application listed in it.
If I search for **abc /care**
it gives me app chooser with my application listed in it.
If I go to abc.com in mobile browser it goes to mobile website
abc.com. Now in that web page if I click on web link which redirects
to abc.com/care that point it is not giving option to open my
application. I believe it should give me chooser with my application
as option.
Scenario 2:
<data
android:host=“abc.com"
android:scheme="https" />
<data
android:host=“abc.com"
android:pathPrefix="/care"
android:scheme="https" />
In this case please check data for first deep link.
In this case google search behaviour as follows:
If I search for **abc**
it is not giving me app chooser option and directly redirects abc.com.
My expectation is it should give me app chooser with my application
option.
If I search for **abc /care**
It gives me app chooser with my application listed in it.
If I go to abc.com in mobile browser it goes to mobile website
abc.com. Now in that web page if I click on web link which redirects
to abc.com/care that point it gives me app chooser with my application
listed in it.
Both the scenarios works differently. Expected behaviour for me it should as app chooser with my application listed in it. Am I missing any thing or Is this the expected behaviour of it?
android applinks android-deep-link
"Now in that web page if I click on web link which redirects to abc.com/care that point it is not giving option to open my application. I believe it should give me chooser with my application as option" -- that behavior is up to the developer of the Web browser. There are many Web browsers for Android.
– CommonsWare
Dec 27 '18 at 16:58
@CommonsWare thank you for quick response. Why the behaviour change happened when I add "android:path="/" " in my case?
– nilkash
Dec 28 '18 at 5:27
add a comment |
Hi in am my android application I am trying to implement app deep linking. I found following behaviour:
Scenario 1:
<data
android:host=“abc.com"
android:path="/"
android:scheme="https" />
<data
android:host=“abc.com"
android:pathPrefix="/care"
android:scheme="https" />
In this case google search behaviour as follows:
If I search for **abc**
it gives me app chooser with my application listed in it.
If I search for **abc /care**
it gives me app chooser with my application listed in it.
If I go to abc.com in mobile browser it goes to mobile website
abc.com. Now in that web page if I click on web link which redirects
to abc.com/care that point it is not giving option to open my
application. I believe it should give me chooser with my application
as option.
Scenario 2:
<data
android:host=“abc.com"
android:scheme="https" />
<data
android:host=“abc.com"
android:pathPrefix="/care"
android:scheme="https" />
In this case please check data for first deep link.
In this case google search behaviour as follows:
If I search for **abc**
it is not giving me app chooser option and directly redirects abc.com.
My expectation is it should give me app chooser with my application
option.
If I search for **abc /care**
It gives me app chooser with my application listed in it.
If I go to abc.com in mobile browser it goes to mobile website
abc.com. Now in that web page if I click on web link which redirects
to abc.com/care that point it gives me app chooser with my application
listed in it.
Both the scenarios works differently. Expected behaviour for me it should as app chooser with my application listed in it. Am I missing any thing or Is this the expected behaviour of it?
android applinks android-deep-link
Hi in am my android application I am trying to implement app deep linking. I found following behaviour:
Scenario 1:
<data
android:host=“abc.com"
android:path="/"
android:scheme="https" />
<data
android:host=“abc.com"
android:pathPrefix="/care"
android:scheme="https" />
In this case google search behaviour as follows:
If I search for **abc**
it gives me app chooser with my application listed in it.
If I search for **abc /care**
it gives me app chooser with my application listed in it.
If I go to abc.com in mobile browser it goes to mobile website
abc.com. Now in that web page if I click on web link which redirects
to abc.com/care that point it is not giving option to open my
application. I believe it should give me chooser with my application
as option.
Scenario 2:
<data
android:host=“abc.com"
android:scheme="https" />
<data
android:host=“abc.com"
android:pathPrefix="/care"
android:scheme="https" />
In this case please check data for first deep link.
In this case google search behaviour as follows:
If I search for **abc**
it is not giving me app chooser option and directly redirects abc.com.
My expectation is it should give me app chooser with my application
option.
If I search for **abc /care**
It gives me app chooser with my application listed in it.
If I go to abc.com in mobile browser it goes to mobile website
abc.com. Now in that web page if I click on web link which redirects
to abc.com/care that point it gives me app chooser with my application
listed in it.
Both the scenarios works differently. Expected behaviour for me it should as app chooser with my application listed in it. Am I missing any thing or Is this the expected behaviour of it?
android applinks android-deep-link
android applinks android-deep-link
edited Dec 27 '18 at 19:51
Fantômas
32.3k156388
32.3k156388
asked Dec 27 '18 at 16:47
nilkash
3,1492179149
3,1492179149
"Now in that web page if I click on web link which redirects to abc.com/care that point it is not giving option to open my application. I believe it should give me chooser with my application as option" -- that behavior is up to the developer of the Web browser. There are many Web browsers for Android.
– CommonsWare
Dec 27 '18 at 16:58
@CommonsWare thank you for quick response. Why the behaviour change happened when I add "android:path="/" " in my case?
– nilkash
Dec 28 '18 at 5:27
add a comment |
"Now in that web page if I click on web link which redirects to abc.com/care that point it is not giving option to open my application. I believe it should give me chooser with my application as option" -- that behavior is up to the developer of the Web browser. There are many Web browsers for Android.
– CommonsWare
Dec 27 '18 at 16:58
@CommonsWare thank you for quick response. Why the behaviour change happened when I add "android:path="/" " in my case?
– nilkash
Dec 28 '18 at 5:27
"Now in that web page if I click on web link which redirects to abc.com/care that point it is not giving option to open my application. I believe it should give me chooser with my application as option" -- that behavior is up to the developer of the Web browser. There are many Web browsers for Android.
– CommonsWare
Dec 27 '18 at 16:58
"Now in that web page if I click on web link which redirects to abc.com/care that point it is not giving option to open my application. I believe it should give me chooser with my application as option" -- that behavior is up to the developer of the Web browser. There are many Web browsers for Android.
– CommonsWare
Dec 27 '18 at 16:58
@CommonsWare thank you for quick response. Why the behaviour change happened when I add "android:path="/" " in my case?
– nilkash
Dec 28 '18 at 5:27
@CommonsWare thank you for quick response. Why the behaviour change happened when I add "android:path="/" " in my case?
– nilkash
Dec 28 '18 at 5:27
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53948282%2fdeeplinking-schema-and-path-prefix-behaviour-issue%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53948282%2fdeeplinking-schema-and-path-prefix-behaviour-issue%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
"Now in that web page if I click on web link which redirects to abc.com/care that point it is not giving option to open my application. I believe it should give me chooser with my application as option" -- that behavior is up to the developer of the Web browser. There are many Web browsers for Android.
– CommonsWare
Dec 27 '18 at 16:58
@CommonsWare thank you for quick response. Why the behaviour change happened when I add "android:path="/" " in my case?
– nilkash
Dec 28 '18 at 5:27