GooglePayComponent forces us to use the deprecated onActivityResult #771
Labels
Enhancement
Indicates a new feature request
Pending release
Indicates issue is pending a release to be solved
We haven't used the deprecated onActivityResult in our app in some time, we use registerForActivityResult with ActivityResultContracts as Google recommends. Now when we added the Adyen SDK in order to support GooglePay the documentation made it pretty clear that onActivityResult needs to be used. The problem is that when onActivityResult is overridden on activity level, all existing activity result handling in our fragments stop working:
Digging into the SDK it is clear that you are aware of this problem, this is from com.adyen.checkout.googlepay.GooglePayComponent lines 91-92
SDK version: com.adyen.checkout:googlepay:4.7.1
Any progress with this? It would be very tedious from our side to revert back to using deprecated functions.
The text was updated successfully, but these errors were encountered: