Janosch Hübner
Janosch Hübner

Reputation: 1694

Firebase update apple-app-site-association

I am implementing dynamic links and everything works well, besides that in my project settings I changed the "Team ID" aka "AppStore App Prefix".

If I visit myproject.page.link/apple-app-site-association it still is giving me the old team ID and I am worrying that could break dynamic links later when the App is being released.

Does it take time to be updated? Or is there a way for me to force a refresh of the values?

Thank you.

Upvotes: 9

Views: 11202

Answers (3)

Rens
Rens

Reputation: 745

I had this issue when I deleted an iOS app from my Firebase project and created a new one. The AASA (apple-app-site-association) file was showing both the old and the new app listings and this caused my dynamic links to be broken. I reached out to Firebase support and this was their answer:

Just an overview, your AASA file is tied with your project’s OAuth Client IDs. These OAuth Client IDs are created when an app is added to a project and not necessarily deleted when you delete or edit your app on the Firebase dashboard, and can consequently cause issues with the AASA's app listing. If this is the case and you have deleted or modified this app before the issue occur, you'll need to manually delete the associated OAuth Client ID/s in the Google Cloud Console in order for it to be removed in your AASA file. You can do this by following the steps below:

  • Go to the API Manager.
  • Select your project.
  • Delete the OAuth 2.0 Client ID for the incorrect Bundle ID
  • Allow for an hour to pass and check your AASA to see if it has updated.

This worked for me!

Upvotes: 1

Alaa Eddine Cherbib
Alaa Eddine Cherbib

Reputation: 1514

This usually happens when you create the URL prefix before adding all the required information (Team ID, Appstore ID, Support Email). in this case the apple-app-site-association file will remain empty for long time and maybe never updates. to resolve this add all the required information then add a new URL prefix and you will get immediately a correct apple-app-site-association file for the new URL. hope that helps

Upvotes: 15

Ian Barber
Ian Barber

Reputation: 19980

It is cached, so can take some time. If you're still seeing it after a day, please file a ticket with Firebase support who can route it through to the Dynamic Links team: https://firebase.google.com/support/contact/?category=troubleshooting

Upvotes: 12

Related Questions