Update /.well-known/apple-app-site-association
Description
There is a need to update the file in the title to work with new changes in Firefox mobile. The new contents for this file will be pasted in the comments.
Requested contents to be updated:
{
"applinks": {
"details": [
{
"appID": "43AQ936H96.org.mozilla.ios.Firefox",
"components": [
{
"/": "/en-US/firefox/browsers/mobile/get-ios/*",
"comment": "Matches any URL whose path starts with /en-US/firefox/browsers/mobile/get-ios"
},
{
"/": "/en/products/firefox/firefox-tips/online-shopping-tips/*",
"comment": "Matches the specific test URL under /en/products/firefox/firefox-tips/online-shopping-tips"
}
]
},
{
"appID": "ABCD1234.com.example.otherapp",
"components": [
{
"/": "/en-US/firefox/browsers/mobile/get-ios/*",
"comment": "Matches any URL whose path starts with /en-US/firefox/browsers/mobile/get-ios for another app"
},
{
"/": "/en/products/firefox/firefox-tips/online-shopping-tips/*",
"comment": "Matches the specific test URL for the second app"
}
]
}
]
}
}
Hi @blandthorn - in the comment above, some in the second object look like they might be placeholders/WIP content:
ABCD1234.com.example.otherapp as the appID and both of the comments, or at least the second one
Can you advise on what they should be, please? (Or feel free to edit the comment yourself, no worries)
Thank you @stevejalim —
Firefox: 43AQ936H96.org.mozilla.ios.Firefox Firefox Beta: 43AQ936H96.org.mozilla.ios.FirefoxBeta
Have chatted with Brad directly about the second URL, which i couldn't find www.mozilla.org -- which was because it's a URL on blog.mozilla.org
So, I'm wondering if we can update it to this to include the hostnames:
{
"applinks": {
"details": [
{
"appID": "43AQ936H96.org.mozilla.ios.Firefox",
"components": [
{
"/": "https://www.mozilla.org/en-US/firefox/browsers/mobile/get-ios/*",
"comment": "Matches any URL whose path starts with /en-US/firefox/browsers/mobile/get-ios"
},
{
"/": "https://blog.mozilla.org/en/products/firefox/firefox-tips/online-shopping-tips/*",
"comment": "Matches the specific test URL under /en/products/firefox/firefox-tips/online-shopping-tips"
}
]
},
{
"appID": "43AQ936H96.org.mozilla.ios.FirefoxBeta",
"components": [
{
"/": "https://www.mozilla.org/en-US/firefox/browsers/mobile/get-ios/*",
"comment": "Matches any URL whose path starts with /en-US/firefox/browsers/mobile/get-ios for Firefox Beta"
},
{
"/": "https://blog.mozilla.org/en/products/firefox/firefox-tips/online-shopping-tips/*",
"comment": "Matches the specific test URL under /en/products/firefox/firefox-tips/online-shopping-tips"
}
]
}
]
}
}
@pmac Do you have any insight into whether adding hostnames into the paths here will be OK?
I think this is still being worked on by the Firefox Mobile folks. The above was just a draft but was posted here prematurely.
Afaik if there are subdomain(s) then we need separate file for each. Ex.
www.mozilla.org
{
"applinks": {
"details": [
{
"appID": "43AQ936H96.org.mozilla.ios.Firefox",
"components": [
{
"/": "/en-US/firefox/browsers/mobile/get-ios/*",
"comment": "Matches any URL whose path starts with /en-US/firefox/browsers/mobile/get-ios on www.mozilla.org"
}
]
},
{
"appID": "43AQ936H96.org.mozilla.ios.FirefoxBeta",
"components": [
{
"/": "/en-US/firefox/browsers/mobile/get-ios/*",
"comment": "Matches any URL whose path starts with /en-US/firefox/browsers/mobile/get-ios for Firefox Beta on www.mozilla.org"
}
]
}
]
}
}
blog.mozilla.org:
{
"applinks": {
"details": [
{
"appID": "43AQ936H96.org.mozilla.ios.Firefox",
"components": [
{
"/": "/en/products/firefox/firefox-tips/online-shopping-tips/*",
"comment": "Matches the specific test URL under /en/products/firefox/firefox-tips/online-shopping-tips on blog.mozilla.org"
}
]
},
{
"appID": "43AQ936H96.org.mozilla.ios.FirefoxBeta",
"components": [
{
"/": "/en/products/firefox/firefox-tips/online-shopping-tips/*",
"comment": "Matches the specific test URL under /en/products/firefox/firefox-tips/online-shopping-tips on blog.mozilla.org"
}
]
}
]
}
}
Edit: Added comment
Then we'll need a separate issue for the blog.m.o one, I guess on Bugzilla? Not sure where blog.m.o issues are filed. This repo is only about www.m.o and this team only has permissions to work on www.m.o.
@nbhasin2 Do you recall where we ended up on this? https://www.mozilla.org/.well-known/apple-app-site-association is up and https://blog.mozilla.org/.well-known/apple-app-site-association exists, too.
FYI just a heads up that the https://blog.mozilla.org/en/products/firefox/firefox-tips/online-shopping-tips/ redirects to a different path not covered by the association (now under mozilla-new-products) so make sure it works as intended for you still (or, if that's even needed still)
FYI support for applinks:blog.mozilla.org entitlements was removed from FxiOS in FXIOS-10299:
- https://github.com/mozilla-mobile/firefox-ios/pull/24196
So the addition mentioned in this ask is no longer relevant / won't have any impact.