Calling WebAuthProvider start/await with context that is not an activity throws exception #743
Open
6 tasks done
Labels
bug
This points to a verified bug in the code
Checklist
Description
This part of the SDK
expects context to be an activity. Otherwise
AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
is thrown.Either SDK should expect activity as parameter instead of context, or there should be a way to set what flags to use.
Reproduction
Call
with e.g. applicationContext
Additional context
No response
Auth0.Android version
2.10.2
Android version(s)
14
The text was updated successfully, but these errors were encountered: