amplitude / amplitude/Amplitude-iOS

UserID remained in the value nil

Aperta
#236 14 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Objective-C
Stelle
328
Fork
194
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hello! We had a issue with setting UserID in the iOS SDK. As UserID we use DeviceToken. For 90% of our users, UserID remained in the value "(none)", while for 10% it was successfully setted. On our test devices, UserID is also successfully setted.
SDK amplitude/ 5.1.0

code example:
`Amplitude.instance(withName: "first").initializeApiKey(amplitudeApiKey, userId: UIDevice.current.identifierForVendor?.uuidString ?? "")`

`UIDevice.current.identifierForVendor?.uuidString` always don't nil. It's checked through debugPrint.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.