Open bhbac-nhnent opened 11 months ago
I read the docs and seems like you don't need to override onActivityResult
if you use the login button they provide out of the box. But for customized solution, you would need to. My 2 cent is this should be part of the code sdk since the API is already extensible but changing to contract would limit the extensibility.
Implementing this in ActivityResultContract
seems fairly simple. Here's the code that I wrote if you want to use in your app. I also submitted a PR just in case maintainers want to make this part of core sdk
Is it a security issue?
What did you do?
What did you expect?
What happened actually?
Your environment?
Sample project
How to fix