App links intent filters in assetlinks.json not working on Android

前端 未结 12 1909
时光取名叫无心
时光取名叫无心 2020-12-02 17:12

My app defines the intent filters to handle URL\'s from my site defined by


  

        
12条回答
  •  佛祖请我去吃肉
    2020-12-02 17:42

    For me, it came down to checking all the basics:

    1. Verify my assetLinks file is good with this tool: (replace domain1:port with your domain) https://digitalassetlinks.googleapis.com/v1/statements:list?source.web.site=https://domain1:port&relation=delegate_permission/common.handle_all_urls
    2. Always test with a signed APK
    3. Make sure the test device is running Android 6.0 or later (this is the one that bit me because I forgot it - on older versions of android, you always get the user prompt)

提交回复
热议问题