由于业务需要,公司App添加了分享(branch)送Coupon的功能,但是测试发现分享到FB,Twitter发现跳不到App
修改流程
看了一下官方给的文档 ,相关的都注册上了
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="http" android:host="www.android.com" />
<data android:scheme="https" android:host="www.android.com" />
</intent-filter>
ps:这里data可以是多个,后面host我修改成android:host="*",这样就可以匹配多个,我们加的统计后台 有这个判断
当android-app://packagename/appname/home/://
这个打不开的时候就会跳转到Google Play
网友评论