forked from github/szkolny
[Api] Add sending app build type and flavor headers.
This commit is contained in:
parent
cce47ed472
commit
1f6da2babe
@ -26,6 +26,8 @@ class SignatureInterceptor(val app: App) : Interceptor {
|
||||
.header("X-AppVersion", BuildConfig.VERSION_CODE.toString())
|
||||
.header("X-Timestamp", timestamp.toString())
|
||||
.header("X-Signature", sign(timestamp, body, url))
|
||||
.header("X-AppBuild", BuildConfig.BUILD_TYPE)
|
||||
.header("X-AppFlavor", BuildConfig.FLAVOR)
|
||||
.build())
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user