Repository navigation
fix(WL-572): change locale and dynamic strings when setLocale is called - #31
Merged
Merged
Conversation
DanielAraldi
enabled auto-merge (squash)
October 5, 2026 12:56
nayaradias
disabled auto-merge
October 5, 2026 14:38
Contributor
|
🎉 This PR is included in version 3.8.7 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 Summary
Fixes
setLocaleon Android, which did not change the Aziface SDK language on physical devices, even when the change was forced.✅ Checklist
Mark the items that have been completed in this PR:
📱 React Native
--
🤖 Android
AzifaceMobileModule.setupI18n()now creates localized resources withcreateConfigurationContextinstead of mutating the app/base context configuration withupdateConfiguration.DynamicStringsaccepts aResourcesinstance (setResources) and, onbuild(), fills everynullstring with the localized value before callingFaceTecSDK.setDynamicStrings().Localization.getLocale()now returns ajava.util.Locale(Locale.forLanguageTag), andpt-BRis mapped topt-BR(resolvesvalues-pt-rBR) instead ofpt.DisplayMetrics,Locale) fromAzifaceMobileModule.🍎 iOS
--
🧪 Testing Notes
setLocale('es')(or any other supported locale, includingpt-BR).liveness,enroll,authenticate,photoIDMatch, orphotoIDScanOnly) and check that every FaceTec screen is shown in the selected language.setDynamicStringswith a partial set of strings and check that the customized strings are shown, while the remaining ones follow the selected locale.resetDynamicStrings/setLocale('default')and check that the SDK goes back to the default strings (English).🔗 Related Issues / Tickets
Link any related Jira tickets, GitHub issues, or Trello cards:
📸 Evidence (Optional)
Attach any visual evidence of the changes (e.g., screenshots, GIFs, videos, or external links):
--
--