Closed jbreitfeller-sfix closed 1 year ago
👋 Hi @jbreitfeller-sfix. Thank you for raising this to our attention! We've addressed your recommendation in this PR https://github.com/braintree/braintree-android-drop-in/pull/369. We will update this issue once a release with the change has been made.
@jbreitfeller-sfix this will be in the next release. In the meantime, it is available in version 6.4.1-SNAPSHOT
via the snapshot repository. We'll update here once it's officially released.
Thanks for taking action on this! Should be a great addition.
Could we have an official release for this issue?
Hi @joeboyscout04 we have one final PR #372 we'd like to get in before doing an official release. We should have more information soon once it's available.
@joeboyscout04 this is now available in version 6.5.0.
General information
Issue description
The DropInClient uses a BraintreeClient and passes the ClientTokenProvider to it. If I use a client token to initialize my DropInClient I can't update that token when a user of my app logs out and signs into another account that has a different client token. Currently the only workaround seems to be restarting the activity to allow creating a new DropInClient.