PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → NotifPushEnable Function
NotifPushEnable Function
Iniciado por guest, 20,jun. 2015 22:10 - 2 respuestas
Publicado el 20,junio 2015 - 22:10
Hi All

Has anyone used the NotifiPushEnable function successfully on iOS? I have got the Device UDID. The function above returns a buffer of 32 length but it is not displayable. The UDID I have directly from the iPhone is made up of alpha numeric characters. Why is this function seemingly failing? Have any of you had experience with this? I cannot verify that the above function is returning the correct UDID.

Android by the way works - no problem there.

Any ideas welcome.

Cheers
Andre
Publicado el 21,junio 2015 - 04:35
Hi André,

generally, this type of problems means that the function returns the binary value, and that on the other side it is displayed as hexadecimal... so a buffertohexa often does the trick

Best regards
Publicado el 21,junio 2015 - 15:52
Hi Fabrice

Thanks for that. I sorted it another way. I am now treating Android identifiers quite differently to iOS identifiers. I have also learnt a great deal about UDIDs that are no longer used for privacy law reasons. It was a case of a bit of lost in translation and a lack of knowledge on my part. This could all have be avoided if the help and examples were better fleshed out and if Montpelier did not keep insisting on using their H files in the examples where implicit conversions of data types are automatically executed.

Cheers
Andre