Open Hector1990 opened 2 years ago
Hi @Hector1990 thanks for using our SDK. This seems like a security dialog presented by the OnePlus browser. Very similar to how iOS does it as well.
If the user selects "Open" does it work as expected?
@sshropshire Hi, it works as expected as the user selects "Open". But some users maybe don't notice it. And from the data we track, this amount is not low.
We also integrated PayPal through Adyen previously, they provided a redirect URL so that we can open PayPal in the webview inside our app. It works fine.
So, could you open PayPal in the webview instead of the browser?
@Hector1990 understood. I believe the original reason why we chose to open via Chrome Custom Tabs / Browser is because of an InfoSec requirement. It is unfortunate but it may be the behavior of that particular browser. Is this reproducible with Chrome?
Otherwise, the only thing I can think of that may help is if we provide support for Android App Links. It does require more setup on the merchant side, so we haven't considered this yet. It may be something for us to look into and get prioritized.
@sshropshire Thanks a lot! I believe it will be a great help to us.
Support for App Links has been added. Please checkout our latest v5 SDK versions here : https://github.com/braintree/braintree_android/releases.
General information
Issue description
In normal cases, when the user completes the payment behavior, it will be redirected to the product app automatically.
But on some devices, there will be a dialog blocking the redirection behavior. You can see the video. We believe that will be a big effect on the user experience. Is there any way to prevent this?
https://user-images.githubusercontent.com/14172847/196904832-6961d5a3-30ce-49cb-a5ee-e49708f3784d.mp4