Skip to content
Snippets Groups Projects
Unverified Commit d848d7b4 authored by Kolya Opahle's avatar Kolya Opahle Committed by GitHub
Browse files

PPA: Collect Client Metadata (EXPOSUREAPP-5147) (#2373)


* Implemented ClientMetadataDonor which uses ClientVersionParser to extract the major minor and patch version from the app VERSION_CODE

Signed-off-by: default avatarKolya Opahle <k.opahle@sap.com>

* Restructured ClientMetadataDonor and added ClientMetadataDonorTests

Signed-off-by: default avatarKolya Opahle <k.opahle@sap.com>

* Fixed comment in ClientMetadataDonor

Signed-off-by: default avatarKolya Opahle <k.opahle@sap.com>

* Got rid of ClientVersionWrapper, switched all usages to ApiLevel
Added ability to generate version string to ClientVersionParser
Added ClientVersionParserTest that compares generated string with real one to make sure the parser is working
Changed ClientMetadataDonor to use currentConfig instead of getAppConfig

Signed-off-by: default avatarKolya Opahle <k.opahle@sap.com>

* Removed ClientVersionParser and put MAJOR, MINOR and PATCH version directly in the BuildConfig

Signed-off-by: default avatarKolya Opahle <k.opahle@sap.com>
parent fefae56d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment