stripe-android icon indicating copy to clipboard operation
stripe-android copied to clipboard

Update PrimaryButtonUiStateMapper to use resolvableString

Open tjclawson-stripe opened this issue 8 months ago • 2 comments

Summary

Update PrimaryButtonUiStateMapper to use resolvableString to handle per app localization

Motivation

Needed for merchants using per-app localization that are below API 33

To test:

  1. Add
val appLocales = LocaleListCompat.forLanguageTags("fr")
AppCompatDelegate.setApplicationLocales(appLocales)

to PaymentSheetPlaygroundActivity.onCreate()

  1. Add French to System Languages

Testing

  • [ ] Added tests
  • [X] Modified tests
  • [X] Manually verified

Screenshots

Before After
Screenshot_1719001901 Screenshot_1719001689

Changelog

tjclawson-stripe avatar Jun 21 '24 20:06 tjclawson-stripe