diff --git a/app.py b/app.py index 75a08fb..98ba85d 100644 --- a/app.py +++ b/app.py @@ -22,6 +22,6 @@ Sending the SMS to any VMN should grant us access. """ -from fampay.constants import FamAppConsts +from fampay.constants import FamAppConstants -assert FamAppConsts.VERSION_CODE == "2602003" +assert FamAppConstants.APP_VERSION_CODE == "2602003" diff --git a/fampay/constants.py b/fampay/constants.py index 86d4433..8eb6ec4 100644 --- a/fampay/constants.py +++ b/fampay/constants.py @@ -13,6 +13,14 @@ class _FamAppApiStore: @dataclass(frozen=True, slots=True) -class FamAppConsts: - VERSION_CODE = "2602003" +class FamAppConstants: + APP_VERSION_CODE = "2602003" # FamBase.t + APP_VERSION_NAME = "26.2.3" # FamBase.u + PLATFORM = "1" # Android + + # SHA-1 over the APK signing certificate DER (extracted from + # META-INF/BNDLTOOL.RSA of 26.2.3). Server pins this value. + APP_CERT_SHA1 = "43A2BD6824215BE3454B203BE7EC9E5A926BDDE7" + SIGNATURE_VERSION = "1" + api = _FamAppApiStore()