Closed Razican closed 7 years ago
Moving this to SUPER 0.5.0.
Could you please tell me where these SDK numbers are printed? I can't seem to find them
Hi! sure,
In the templates, the code to show the SDK versions is in templates/super/report.hbs
lines 21 - 22. The information gets serialized to the template in src/results/mod.rs
lines 307 - 311. In this case, you will probably want to serialize a new element, something like sdk_string
, that would be the codename of the version number.
A clean option would be to stop using a u32
as a SDK version and start using an enum
that can be parsed from an integer in the released versions, and that has an as_str()
method that shows the codename. Something similar to what we do with permissions in the manifest.
We currently show SDKs as version 15, 17, 23 etc. We should also add version information such as "KitKat", "Lollipop" etc.