Skip to content

IDFV is not synced #351

@taschik

Description

@taschik

Expected Behavior

A device's IDFV should always be up to date.

Current Behavior

If user moved or restored data from one iOS device to second iOS device then he will have two different devices with same uniqueId in Keychain/NSUserDefaults.

Possible Solution

The SDK should can call syncUniqueId() on new iOS device on react-native-device-info

Environment

  • "amplitude-js": "^7.3.3",
  • npm
    info Fetching system and libraries information...
    (node:76106) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
    (Use node --trace-warnings ... to show where the warning was created)
    System:
    OS: macOS 11.1
    CPU: (12) x64 Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz
    Memory: 117.54 MB / 32.00 GB
    Shell: 5.8 - /bin/zsh
    Binaries:
    Node: 14.8.0 - /usr/local/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.14.11 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
    Managers:
    CocoaPods: 1.10.0 - /usr/local/bin/pod
    SDKs:
    iOS SDK:
    Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
    Android SDK:
    API Levels: 23, 26, 27, 28, 29
    Build Tools: 23.0.1, 25.0.0, 26.0.3, 27.0.3, 28.0.1, 28.0.2, 28.0.3
    Android NDK: Not Found
    IDEs:
    Android Studio: 3.6 AI-192.7142.36.36.6308749
    Xcode: 12.4/12D4e - /usr/bin/xcodebuild
    Languages:
    Java: 1.8.0_221 - /usr/bin/javac
    Python: 3.9.1 - /usr/local/opt/python/libexec/bin/python
    npmPackages:
    @react-native-community/cli: Not Found
    react: 16.13.1 => 16.13.1
    react-native: ^0.63.4 => 0.63.4
    react-native-macos: Not Found
    npmGlobalPackages:
    react-native: Not Found

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions