promosvorti.blogg.se

Corona labs corona sdk for mac
Corona labs corona sdk for mac








corona labs corona sdk for mac corona labs corona sdk for mac

As with all software, there can be issues. Going into a tunnel can disconnect you completely. Cell-phones lose/regain connectivity constantly, and so any API call at any time can fail randomly, and then work immediately after. See error.errorMessage, error.errorDetails, or error.GenerateErrorReport() for more info. If you have not provided the correct or required information for a particular API call, then it will fail. If you forget to set titleId to your title, then nothing will work. Why API calls fail (In order of likelihood):.API calls can fail for many reasons, and you should always attempt to handle failure.OnLoginError is any function which accepts a single parameter (error).LoginResult contains some basic information about the player, but for most users, login is simply a mandatory step before calling other APIs.The result object will contain the requested information, according to the API called.OnLoginSuccess is any function which accepts a single parameter (result).See the PlayFab Login documentation for a list of all login methods, and input parameters.For login, most developers will want to use a more appropriate login method.This begins the async request to LoginWithCustomID, which will call the first ( OnLoginSuccess) callback if successful, or the second ( OnLoginError) function for failures.ADD THESE THREE LINES at the top, leave everything else as-is In your favorite text-editor, add the following lines to ttings. Confirmation is visible in the Corona Engine output log. This guide provides the minimum steps required to make your first PlayFab API call.

#CORONA LABS CORONA SDK FOR MAC WINDOWS#

Once you have installed, logged in, and created a new project, you should see several windows that look something like the example shown below.Īctivate the PlayFab Client plugin on the Corona Marketplace: The following link has information that can assist you with your first-time steps if you haven't done them: However, it should also work well with a Mac. OS: This quickstart is written for Windows 10. This quickstart assists you in making your first PlayFab API call in the Corona engine.īefore you can call any PlayFab API, you must have a PlayFab developer account.










Corona labs corona sdk for mac