PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV Mobile 2024 → [WM23] I don't understand the pushnotification
[WM23] I don't understand the pushnotification
Débuté par ARV, 22 aoû. 2018 22:05 - Aucune réponse
Membre enregistré
498 messages
Popularité : +8 (8 votes)
Posté le 22 août 2018 - 22:05
Hi

I don't understand

I have this:





This is my table with an item of the type binary String now with that size my notification doesn't work
but if I put on my size some exageration like 65k then it work.

I tried to put a Length function of my buffer of my app but it say that it's 140 when I change my size to 300 just in case it could be bigger, it doesn't work

I guess it's because all of my buffer of the notification ID it's not complete for somereason but I still don't know.

this is my code of the procedure of my app

Procedure ActivatedPush(bufIdentifier is Buffer, sError is string)

IF Length(bufIdentifier) > 0 THEN

gbufIdentificadorPush = bufIdentifier
HReadSeekFirst(MyTable,ID,gbsMyID)

IF HFound() THEN
MyTable.NotificationPush = gbufIdentificadorPush
HModify(MyTable)
END

ELSE
ToastDisplay(sError,toastLong,vaBottom,haCenter)
END


This procedure it's on the run of the project, with the function NotifPushEnable(ActivatedPush)

What is the proper size then?
Can anyone tell me?

--
Best Regards
Jose