question

brendan avatar image
brendan asked

PlayFabSDK is not compatible with PlayFabIOSplugin?

Ethan.Wong
started a topic on Sun, 06 September 2015 at 7:59 PM

Assets/PlayFabSDK/Internal/PlayFabHTTP.cs(49,42): error CS1502: The best overloaded method match for `PlayFab.PlayFabiOSPlugin.Post(string, string, string, string, string, System.Action<string,string>)' has some invalid arguments

the current callback param is Action<string, PlayFabError>.

how can i fix it?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

Best Answer
Brendan Vanous said on Sun, 06 September 2015 at 9:42 PM

Hi Ethan,

We have a fix checked in for this, which will be in the next release of our SDK (later this week).

Brendan


2 Comments
Brendan Vanous said on Sun, 06 September 2015 at 9:42 PM

Hi Ethan,

We have a fix checked in for this, which will be in the next release of our SDK (later this week).

Brendan


Ethan.Wong said on Sun, 06 September 2015 at 10:14 PM

I added some code below, to finish the compile process.But.at the device.still got logical bug.when i register a new playfabuser.

#if PLAYFAB_IOS_PLUGIN
Action<string, string> compatibleCallback = delegate(string responseStr, string pfErrorString) {
callback.Invoke(responseStr, new PlayFabError() {
Error = PlayFabErrorCode.Unknown,
ErrorMessage = pfErrorString
});
};
PlayFabiOSPlugin.Post(url, data, authType, authKey, PlayFabVersion.getVersionString(), compatibleCallback);
#else

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.