You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every time the SDK need a onActivityResult(), for example on the authenticateSetup() an Activity instance is needed and the startActivityForResult() will be called for this Activity but if we need this callback inside a Fragment to change the view according to the result, we are basically struck, and need to implement boilerplate code.
@pvarry I merged #1289 late last week, which adds support for exactly what you're asking for. It'll be part of the next release, which will go out today or tomorrow.
Summary
Every time the SDK need a
onActivityResult()
, for example on theauthenticateSetup()
an Activity instance is needed and thestartActivityForResult()
will be called for this Activity but if we need this callback inside a Fragment to change the view according to the result, we are basically struck, and need to implement boilerplate code.Instead of that, can you also implement the
startActivityForResult()
of the Fragment: https://developer.android.com/reference/android/support/v4/app/Fragment.html#startActivityForResult(android.content.Intent,%20int) ?Thank you
SDK version
Latest (com.stripe:stripe-android:10.1.1)
The text was updated successfully, but these errors were encountered: