Releases: bodenberg/appdimens-ssps
3.1.2
📢 Important Update
Specific ProGuard rules have been added to the project.
🔧 What’s Changed?
- Added new configuration rules to ProGuard
- Adjustments to ensure:
- Better code obfuscation
- Preservation of required classes and methods
- Prevention of runtime errors
✅ Why This Matters
These rules help to:
- Protect the code against reverse engineering
- Improve application security
- Ensure compatibility with used libraries
📌 Note
Make sure to sync the project and validate functionality after this update.
🚀 If you have any questions, review the ProGuard configuration file (proguard-rules.pro)
3.1.0
3.0.9.1
Documentation Update
In this new version of the project, significant improvements have been made to the comments and code descriptions.
Main changes:
- Comments revised for greater clarity and objectivity
- More detailed descriptions of functionalities
These improvements aim to make the project easier to understand, maintain.
3.0.9
Improvement in Extensions:
- New option added: It is now possible to not recalculate the gross DPs in extensions ending with Plain, if the required conditions are not met.
Details of the Improvement:
-
For extensions ending in Plain, the gross DPs will not be recalculated if the necessary conditions are not met.
Example of Behavior:
- Before: The calculation of gross DPs was performed regardless of the conditions.
- Now: The recalculation of gross DPs occurs only when the conditions are met.
Benefits of this Change:
- Efficiency: Avoids unnecessary calculations, saving resources.
- Control: Provides greater control over when the gross DPs should be recalculated.
3.0.8
✨ What's New in Version 3.x
| Feature | Description |
|---|---|
| Triple Axis Scaling | Full support for SSP (Smallest Width), HSP (Height), and WSP (Width) |
| Accessibility Control | SEM, HEM, WEM variants to ignore system font scale when necessary |
| Code-Level API | Full DimenSsp object for Java & Kotlin — resolve text sizes outside of XML and Compose |
| Inverter Shortcuts | .sspPh, .sspLw, .hspPw, .wspLh, etc. — orientation-aware switching |
| Facilitators | sspRotate, sspMode, sspQualifier, sspScreen — quick conditional overrides |
| Advanced Builders | DimenSspScaled for complex chaining with UiModeType and DpQualifier |
| Foldable Detection | FoldingFeature integration — detects Fold/Flip open/half-open states |
| UiModeType | NORMAL, TELEVISION, CAR, WATCH, FOLD_OPEN, FOLD_HALF, FLIP_OPEN, FLIP_HALF |
3.0.6
-
Foldable Device Support (FoldingFeature): Seamless integration with Jetpack WindowManager to detect half-opened/closed states of Folds and Flips, adapting text sizes dynamically.
-
Orientation Inverters (Inverter): New powerful extensions like .hsp_lw, .wsp_ph, .hem_pw to dynamically flip layout dimensions and font scaling behaviors based on Landscape or Portrait orientations.
-
Advanced Scaled Builder: More granular conditional scaling using DpQualifier, Orientation, Inverter, and font scaling preferences.