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
Describe the bug
Updating Appcompat library to 1.1.0 on the app side stop's Philology intercepting the text value on devices with API levels 21-25. Since the problem doesn't reproduce on versions bellow 1.1.0-rc01 most likely it is caused by the 26079d8 commit (diff) with the description:
Turned out to be a gnarly framework bug on API levels 21-25. The test was failing due to the application Resources seemingly being updated when it shouldn't have been. Worked around by always using applyOverrideConfiguration() on those API levels, to force a new Resources instance.
To Reproduce
Update the Appcompat by changing Dependencies#APP_COMPAT_VERSION to 1.1.0 or change implementation Dependencies.appCompat to implementation "androidx.appcompat:appcompat:1.1.0" just for the sample module.
Run the sample app
Expected behavior Philology should replace the text in the sample app based on the device locale.
Actual behavior Philology doesn't replace the text in the sample app.
Logs/Screenshots
Library version
2.0.1
The text was updated successfully, but these errors were encountered:
As another workaround adding android:configChanges="uiMode" in AndroidManifest prevents from calling applyOverrideConfiguration() when attaching the base context and fixes the problem but that means that the activity should handle the UI mode itself.
Describe the bug
Updating
Appcompat
library to1.1.0
on the app side stop'sPhilology
intercepting the text value on devices with API levels 21-25. Since the problem doesn't reproduce on versions bellow 1.1.0-rc01 most likely it is caused by the26079d8
commit (diff) with the description:To Reproduce
Appcompat
by changingDependencies#APP_COMPAT_VERSION
to1.1.0
or changeimplementation Dependencies.appCompat
toimplementation "androidx.appcompat:appcompat:1.1.0"
just for thesample
module.Expected behavior
Philology
should replace the text in the sample app based on the device locale.Actual behavior
Philology
doesn't replace the text in the sample app.Logs/Screenshots
Library version
2.0.1
The text was updated successfully, but these errors were encountered: