How to add assetlinks.json to /.well-known when publishing app to Google Play?

What I’m trying to do:

I am trying to publish my app to the Google Play store.

One of the requirements is to add the digital asset links file (assetlinks.json) to <Host URL of your PWA>/.well-known/assetlinks.json as to prove ownership of the PWA.

What I’ve tried and what’s not working:

Naturally this didn’t work but I tried just making a .well-known folder on my local repo, adding the assetlinks.json inside it and then pushing to anvil.

How can we create directories for our app that do not start with /_/theme/ and make a json file accessible?

1 Like

Ah nevermind, there was another thread with the solution - PWA asset links API - #2

3 Likes