https.
:
1) Create a file of type apple_app_site_association without extension in the public directory of the rails application with the following contents
{
"applinks": {
"apps": [],
"details": [
{
"appID": "<TEAM_DEVELOPER_ID>.<BUNDLE_IDENTIFIER>",
"paths": [ "*" ]
}
]
}
}
2) routes.rb
get '/apple-app-site-association', to: 'pages#apple_app_site_association'
3) pages_controller.rb
def apple_app_site_association
association_json = File.read(Rails.public_path + "apple_app_site_association")
render :json => association_json, :content_type => "application/json"
end
For example, you check
http://18.216.158.101/apple-app-site-association
To check, you can create an application on the hero.
source
share