I created a instant app for which I created app links.
I hosted assetlinks.json
over valid website.
My website name is as below:
https://instantappsbase.firebaseapp.com
assetlinks.json
is hosted over the above website through generated digital signature of debug version:
https://instantappsbase.firebaseapp.com/.well-known/assetlinks.json
I added a feature which launches an activity with a message "Hello World
" .
I tried to call that Activity as below as configured in "URL-mapping editor
":
https://instantappsbase.firebaseapp.com/hi
I tried the above URL in browser of my mobile and emulator , its not working.
When I try to call through intent as below:
Intent intent = new Intent(Intent.ACTION_VIEW,
Uri.parse("https://instantappsbase.firebaseapp.com/hi"));<br>
intent.setPackage(getPackageName());
intent.addCategory(Intent.CATEGORY_BROWSABLE);
startActivity(intent);
It's working fine.
But when I try to open it through browser its not working. It displays "PageNotfound
" error.
Is there a way in which can we get this working without uploading our installed app and instant app over google play store.
or did I miss some thing in this flow.?
Can anyone help me regarding this issue?
Thanks in Advance.
But when I try to open it through browser its not working. It displays "PageNotfound" error – Android_programmer_office Nov 10 '17 at 10:12