Open nicolobozzato opened 1 month ago
Hello,
I have used BraintreeBrowserSwitchActivity version 3.0.0.Now I have changed version 4.0.0 ,so BraintreeBrowserSwitchActivity doesn't work at all.App is crashing Now I have changed manifest file and used com.braintreepayments.api.DropInActivity but Vault flow is not working with this.I can't pass amount 'null' or '0'.It simply doesn't accept it and app crash
Something changed in the way the class manage the activity result you should try to update the manifest in this way See this issue on the original sdk https://github.com/braintree/braintree-android-drop-in/issues/419 That link to this page https://developer.paypal.com/braintree/docs/guides/drop-in/setup-and-integration/android/v4/#paypal
This are the modification necessary for the DropInActivity in the manifest
` <activity android:name="com.braintreepayments.api.DropInActivity" android:exported="true" tools:node="merge"
I'll try to provide a PR to update the example and documentation as soon as I can, if you can do before even better