Skip to content

How to migrate TC_UNIQUEID from SDK v4.x to SDK v5.x? #13

@pyby

Description

@pyby

In the 5.4.2 release notes, https://github.com/CommandersAct/iOSV5/releases/tag/5.4.2, mentioned to new functions and the legacy TC_UNIQUEID.

We made tests from our app in SDK v4.4.1 to SDK v5.4.2, I can't find the TC_UNIQUEID value from the form data (v4.x) in the json payload (v5.x).

Example with an app in the iPhone 14 Pro iOS 16.4 simulator:

  • SDK 4.4.1 : TC_UNIQUEID : 108DD60B-503E-44B0-8294-CBDFBB562106
  • SDK 5.4.0: device.sdk_id : 9FBBE662-7030-4670-B7C7-D6B1A3E26686
  • SDK 5.4.1: device.sdk_id : 9FBBE662-7030-4670-B7C7-D6B1A3E26686

Do I miss something?

  • Added 2 function to use legacy ID TC_UNIQUEID to ensure continuity for the old clients still using it.
    Are there public and what are their names?

Does a migration code coud be done by the SDK from user default tc_unique_id property to the new property also in user default #TC_SDK_ID#? On server side, destinations uses now device.sdk_id, but it's a new UUID, not the same UUID.

The what's new looks interesting. Could you share a documentation or an how to?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions