Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
3
Erster Beitrag:
vor 2 Jahren, 5 Monaten
Letzter Beitrag:
vor 2 Jahren, 5 Monaten
Beteiligte Autoren:
André Labuschagné, Fabrice Harari

NotifPushEnable Function

Startbeitrag von André Labuschagné am 20.06.2015 20: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

Antworten:

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

von Fabrice Harari - am 21.06.2015 02:35
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

von André Labuschagné - am 21.06.2015 13:52
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.