How to pass string value to initiateOnDeviceConversionMeasurementWithHashedPhoneNumber? #8764
jerinjohnk
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
initiateOnDeviceConversionMeasurementWithHashedPhoneNumber function takes a string value as input.
For example
Now whenever I try either
toString()or aBase64encoded string, as soon asBreakpoint hit; the byte length is around 44.
[FIRAnalytics initiateOnDeviceConversionMeasurementWithHashedPhoneNumber:phoneNumber];After nextline's execution, it starts throwing error
12.4.0 - [FirebaseAnalytics][I-ACS025057] Hashed phone number should be 32 bytes (256 bits)Till creation of hasWordArray is fine according to the documentation, but I am at a loss for how to convert this to the expected string format acceptable by the library.
Firebase Version
Beta Was this translation helpful? Give feedback.
All reactions