Pass referrer data through chrome intent to google play

后端 未结 3 1525
失恋的感觉
失恋的感觉 2021-02-02 11:07

So I have a mobile web that would try to open my android app, if it does not exist, it would fall back to google play.

for chrome, i use this intent:

int         


        
3条回答
  •  猫巷女王i
    2021-02-02 11:57

    This is a known issue that I am working with the team to get fixed. Someone in the past suggested that you can use intent://some_data_sent_to_app#Intent;scheme=app_scheme;package=package_name&referrer=referrer_string;end however the logic of this has never worked specifically because the Chrome browser (and Android Browser) look for a package id that is direct copy of the string which is parsed as package_name&referrer=referrer_string.

提交回复
热议问题