question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

IDFV is not synced

See original GitHub issue

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® Core™ 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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
haoliu-ampcommented, Jan 28, 2021

@taschik Same, unfortunately.

0reactions
taschikcommented, Jan 28, 2021

What about branch or adjust?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Same vendorID for different iPads | Apple Developer Forums
Hi Team,. We are facing an issue while testing an app in different iPads registered with the same Apple IDs. Both the iPads...
Read more >
ios IDFV store in Keychain - Stack Overflow
i need Device ID which never change, i try UDID but is not available in IOS 6/7/8 so , i try With IDFV...
Read more >
IDFV Explaind. What is IDFV? - Ad Tech Explained
The ID for Vendors (IDFV) is a possible alternative that app owners can use in place of an IDFA to power some ad...
Read more >
How to handle UNKNOWN_BACKEND_ERROR
Hello, I am getting following error when syncing purchases or getting subscriber info:Key Value attribute_errors ( { "key_name" = "$idfv"; ...
Read more >
Best practices for unique identifiers - Android Developers
Your app can achieve most of its use cases even when it uses identifiers other than non-resettable hardware IDs. Avoid using hardware identifiers....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found