Reputation: 56
Any one suggest to host a instant app related json into the following
sample website
https://sample.name/.well-known/assetlinks.json
Since we dont have separate domain server for this, so any way is there to put the json file into a created website.
Upvotes: 1
Views: 3606
Reputation: 126533
Since we don't have separate domain server for this, so any way is there to put the json file into a created website
Currently I don't have any website created. how to put json into that .well-known folder. –
This is not possible you must have ownership of the site allowing access to GoogleBot into the https://sample.name/robot.txt defining:
User-agent: *
Allow: /.well-known/
the configure your assetlinks.json file:
https://sample.name/.well-known/assetlinks.json
Upvotes: 0
Reputation: 17940
You can take a look at StackOverflow's own assetlinks.json
file here.
Android Studio has a generator & validity checker for this file, too.
Upvotes: 2