问题
I'm using branch.io for deeplinking in my app and so far everything has been perfect except for our Galaxy S7 edge running the native Samsung Messages app. The new Samsung Messages app now opens links in a webview in the messaging app instead of opening it externally. So since it's opening the link in the messaging app's internal webview instead of chrome or internet app the deeplink is not working.
Has anyone else seen this issue and have come up with a way to fix it?
回答1:
a Branch colleague of mine just looked into this. He found that links do not redirect properly when utilizing URI based deep linking from the native Samsung SMS app on the S7, however App Links do work and you can enable them in your Branch Dashboard here: https://dashboard.branch.io/settings/link -- documentation: https://dev.branch.io/getting-started/universal-app-links/guide/android/
Let me know how it goes. If you continue to struggle we can check it out 1:1 over e-mail.
回答2:
add to your intent filter auto verify like below:
<intent-filter android:autoVerify="true">
source:https://developer.android.com/training/app-links/verify-site-associations.html
来源:https://stackoverflow.com/questions/42702503/deeplinking-in-samsung-messaging-app-with-built-in-browser