-
Notifications
You must be signed in to change notification settings - Fork 659
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mark IssuingCardPinService @Deprecated & suggest alternative #7723
Conversation
Diffuse output:
|
@@ -19,6 +19,7 @@ import kotlin.coroutines.CoroutineContext | |||
/** | |||
* Methods for retrieval / update of a Stripe Issuing card | |||
*/ | |||
@Deprecated("Please use Issuing Elements instead: https://stripe.com/docs/issuing/elements") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we link to https://stripe.com/docs/issuing/elements#issuing-elements-and-native-applications instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Though this section is immediately relevant to native apps, I think it's better to link to the top of that same doc, as its likely the user won't even know what Issuing Elements is or how it's related to PINs.
Additionally, we've been discussing the possibility of building native Issuing Elements, and if/when that happens, it'll be documented at https://stripe.com/docs/issuing/elements and https://stripe.com/docs/issuing/elements#issuing-elements-and-native-applications will likely be removed
@@ -361,6 +363,7 @@ class IssuingCardPinService @VisibleForTesting internal constructor( | |||
stripeAccountId: String? = null, | |||
keyProvider: EphemeralKeyProvider | |||
): IssuingCardPinService { | |||
Log.w(TAG, "Please use Issuing Elements instead: https://stripe.com/docs/issuing/elements") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CHANGELOG.md
Outdated
@@ -2,6 +2,8 @@ | |||
|
|||
## XX.XX.XX - 2023-XX-XX | |||
|
|||
* [DEPRECATED][7723](https://github.com/stripe/stripe-android/pull/7723) IssuingCardPinService |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add more context here?
55a3722
to
0107e2b
Compare
force pushed after manually merging rebase conflicts |
@awush-stripe , i think i've addressed all of @tillh-stripe's comments but they won't be back from PTO for a while, so will you please have a look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
thanks for the quick review! |
Motivation
https://jira.corp.stripe.com/browse/RUN_ISSUING_TED-2233