braintree_android: Error message for: AndroidManifest.xml is incorrectly configured or another app...
Integration Details (please complete the following information):
- SDK/Library version: 4.12.0
- Environment: Production
- Android Version and Device: Android 8.0+
- Braintree dependencies: implementation com.braintreepayments.api:card:4.12.0 implementation com.braintreepayments.api:paypal:4.12.0 implementation com.braintreepayments.api:data-collector:4.12.0 implementation com.braintreepayments.api:three-d-secure:4.12.0
Describe the bug There is an error message reported on some rare cases from users who installed our android apps, which says:
"AndroidManifest.xml is incorrectly configured or another app defines the same browser switch url as this app.
See https://developers.braintreepayments.com/guides/client-sdk/android/#browser-switch for the correct configuration".
I checked the source code of braintree SDK, and it seems there are just two cases that will report this error, one is there is no valid Activity declared in the manifest to handle the deep link of Braintree and the other is there is no valid web browser to handle HTTPS scheme. Since our app works for million users and our QA has verified all workflow, it shouldn’t be the manifest issue, otherwise, this will happen for all users. So I guess this is caused by web browser, then I have asked all our users to install Chrome as the default web browser, but some of them still say it doesn’t work. Do you have any suggestions on this issue? Could you please send the real error message to apps, instead of the general message?

About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 34 (17 by maintainers)
@sshropshire We are going to have a release with
4.25.2soon, so I’ll provide you more info about that soon@Pingapplepie @kostiantyn-solianyk @Tobbb I have a PR open to append the original browser switch error message into the error output. Hopefully this will give us more information and lead us toward a fix 🤞.