Hello All,
- The issue:
After uploading the app version which is containing the app clip target to App Store Connect & checking TestFlight tab -> this build details -> Build MetaData -> App Clip -> Domain Status -> View Status, it keeps giving me "Bad JSON Content" for my build domain either for CACHE STATUS or DEBUG STATUS. It seems that my AASA file couldn't be validated for some reason that I don't know.
- Steps I tried to solve the issue by them :
1- Add the associated domain twice, one with prefix appclips: & the other one with applinks: prefix for both parent & app clip targets.
2- Update the AASA file to include supporting for iOS 13+ & upload this file to the .well-known directory.
3- On server, force type to 'application/json' in the .htaccess file in the .well-known directory.
- My Configurations:
Server Side
1- The Content-Type for the AASA file is set to application/json.
2- Server allows AASA-Bot and CFNetwork as user agents.
3- AASA file is uploaded on the .well-known directory on this server without any redirects.
Xcode Side
Invocation url domain is added to both app clip & parent targets’ Associated Domains as the following:
appclips:fully-qualified-domain
applinks:fully-qualified-domain
Web App Side
Requesting this url https://fully-qualified-domain is redirecting to either https://fully-qualified-domain/login if the user is not logged in or to https://fully-qualified-domain/home if the user is already logged in.
Any help is appreciated, thanks in advance!