#CompletionCallbackLegacy

1 messages · Page 1 of 1 (latest)

limpid dock
#

Hello,

When trying to call ReportScore for a Game Services Leaderboard I’m getting a warning that the method is obsolete and I should be using the new method that does not use the legacy callback. How can I call to the non obsolete method?

worldly turret
#

Please share your current code

#

CompletionCallbackLegacy was soft deprecated in v2 so removed in v3.
You can replace it with CompletionCallback or EventCallback if you use that type in specfic.

else just replace (error) => callbacks with (result, error) => in many cases.

limpid dock
#

That change fixed the warning. I was using the method featured in the InfoGamer video but I now see the documentation has the correct code. Maybe I should go ahead and upgrade to V3. Thanks for your quick response.