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.
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