Closed Simply007 closed 3 years ago
Related to #52
SDK is loading old data for the tracking header.
Value should be jCenter;com.github.kentico:kontent-delivery;4.1.0, or any other version in the last part.
jCenter;com.github.kentico:kontent-delivery;4.1.0
Send the request and intercept the request headers, the X-KC-SDKID's value contain localBuild;com.github.kentico:delivery;0.0.0.
X-KC-SDKID
localBuild;com.github.kentico:delivery;0.0.0
Run test testSdkIdHeader to easy debugging.
testSdkIdHeader
What the correct behavior is?
Proposal: Create a task that would create a resource file with proper values according to the https://stackoverflow.com/questions/33020069/how-to-get-version-attribute-from-a-gradle-build-to-be-included-in-runtime-swing
Brief bug description
Related to #52
SDK is loading old data for the tracking header.
Value should be
jCenter;com.github.kentico:kontent-delivery;4.1.0
, or any other version in the last part.Repro steps
Send the request and intercept the request headers, the
X-KC-SDKID
's value containlocalBuild;com.github.kentico:delivery;0.0.0
.Run test
testSdkIdHeader
to easy debugging.Expected behavior
What the correct behavior is?
Additional context
Proposal: Create a task that would create a resource file with proper values according to the https://stackoverflow.com/questions/33020069/how-to-get-version-attribute-from-a-gradle-build-to-be-included-in-runtime-swing