Closed Cerverussz closed 1 year ago
I've made this library primarily for usage with Compose Activity. I haven't actually tested it with Fragments. You can check the source code and try to experiment with it a bit. :)
Yes sir, the solution was:
add the context as a parameter and from the fragment, it is sent as requireActivity()
Thank you very much and see you soon :D
calling OneTapSignInWithGoogle from a fragment gives this error
java.lang.ClassCastException: dagger.hilt.android.internal.managers.ViewComponentManager$FragmentContextWrapper cannot be cast to android.app.Activity