We currently have 3 ways you can migrate your signatures.
Signature V2 using SignatureAuthorization token
Signature V3 using SignatureAuthorization token
Signature V3 using your template app and override settings
Signature V2 and Signature V3 generation using SignatureAuthorization token has to be enabled by the Account Manager per client account
before it can be used.
Signature V3 using your template app and override settings required no intervention from an Account Manager and can be used right away.
Signatures can be generated while creating a new app or for an already existing app.
It allows generating Adjust SDK Signature for Unity framework automatically when
creating/updating the app using Adjust App Automation.
Signatures can be created with and without using _Template settings migrations.
This is exactly the same as the section above regarding signature v2, but you will need to ask your Account Manager
to turn on Signature V3 support for some or all of your apps.
Please note: This only works for the Sigv2 or Sigv3 flow when using SignatureAuthorization header!
If you want to use your template app, please see the section below to see how to only migrate signatures in your request!
It is possible to create signatures without running full settings migration by using
separate endpoint POST /signature.
To create or update signature a request must have both Authorization
tokens with required app_token and platform attributes in the body.
A full example of POST /signature request with signature data:
For android apps it is required to include android_signature_hash value in the body
or endpoint will return an error. Following is a short example, see here for more about Multiple signature hashes
"android_signature_hash":"AA:...:QQ"
If the app contains more than one platform (multiplatform app) it possible to generate both signatures in one request
by setting the value of platform parameter to both:
Additionally it might be useful to enable Force SDK Signature flag in Adjust app to avoid manual
manipulation in UI. To do this, it is necessary to include parameter force_sdk_signature with boolean true value.
By putting a comma between them we can send both under the same key in request JSON data
as shown in the example. In the interest of brevity we will shorten them to FF:...:FF and AA:...:AA:
Once available, Automation API will provide a single archive for both platforms
to be unpacked into the Unity project.
Signature V3 signatures using your Template App and Override Settings¶
If you want to use this flow, do not use SignatureAuthorization header!
We will take any active secrets from your template app and add them to your target app.
We will also apply the enforce signature validation setting from your template app.
We will ignore the field android_signature_hash if it is sent in the request.
If you want to set different android signature hashes than what is in your template app, please see the exmaple below regarding override settings.
Please see this <https://help.adjust.com/en/article/sdk-signature#add-signatures-in-the-adjust-suite> guide on how to add add secrets to your template app and how to set up enforcing signature validation.
Example request for migrating all sections including signature
Overriding android_signature_hash will only add new signature hashes.
It will not delete existing ones in the target app or add androud signature hashes from the template app.
Overriding enforce_signature will take that value over the one in the template app.
Example request for migrating only signatures with override settings. Please note android_signature_hash is a list here.