-
-
Notifications
You must be signed in to change notification settings - Fork 222
Open
Labels
common: frequentAffects or can be seen by most users regularly or impacts most users' first experienceAffects or can be seen by most users regularly or impacts most users' first experienceseverity: majorSeverely degrades major functionality or product features, with no satisfactory workaroundSeverely degrades major functionality or product features, with no satisfactory workaroundtype: enhancementNew feature or requestNew feature or request
Description
#2716 added support for setting a custom barcode encoding. However, it does not expose this to the Content Provider.
The main reason for this is because the default behaviour is to use "Automatic", which is stored as "null" in the database. However, exposing "null" through the Content Provider would force third party apps to either bundle zxing and use its guessEncoding feature or create their own compatible guessing method, risking inconsistency between the code on Catima and on device.
@joserebelo suggested possibly using a CursorWrapper to translate the null values, need to look into how viable this is: #2716 (comment)
This issue currently prevents third party apps like Gadgetbridge from knowing if a Catima code is UTF-8 or not.
Metadata
Metadata
Assignees
Labels
common: frequentAffects or can be seen by most users regularly or impacts most users' first experienceAffects or can be seen by most users regularly or impacts most users' first experienceseverity: majorSeverely degrades major functionality or product features, with no satisfactory workaroundSeverely degrades major functionality or product features, with no satisfactory workaroundtype: enhancementNew feature or requestNew feature or request