Issue 5364: Fix crash when clicking an "Open Source" category for different language
Description
App crashed for different languages (example Deutsch language) when clicking on an Open Source
tag in the categories.
Issue(s)
Test environment
Gradle build for 5364-language_crash_app_categories, install the apk and test.
Test procedures
- Change device language to Deutsch.
- Install App Lounge apk, open it, accept T&C.
- Login as Anonymous user.
- Open Categories ("Kategorien").
- Click on a category with tag "Quelloffen". Check if app list is shown without crashing the app.
Technical details
In this method, the source
is hard coded to "Open Source", "PWA" and others.
For a different language, say Deutsch, the "Open Source" is actually converted to "Quelloffen", thus the else block gets executed, which crashes the app.
Screenshots
Check list
-
Self review -
Test procedure explained -
Tested on fresh install -
Tested applied as an update -
License -
Internal documentation -
User documentation