Skip to content

Releases: xtralifecloud/unity-sdk

v2.0.0.0

15 Apr 08:25
Compare
Choose a tag to compare

With the focus on open source backend and deprecation of the hosted environments, known as sandbox and production, a bit of spring cleaning was needed in the Unity package. We also jump on this occasion to upgrade the package version to 2.0.
A major refactoring happened in the login management and we are now proud to say that XtraLife offers 8 ways of authenticating users:

  • anonymous: "anonymous"
  • e-mail: "email"
  • Facebook: "facebook" (option to use Business Manager)
  • Google Sign In: "google"
  • Firebase: "firebase"
  • GameCenter: "gamecenter"
  • Apple Sign In: "apple"
  • Steam: "steam"

v1.5.0.0

08 Jun 16:06
Compare
Choose a tag to compare

With Unity 2021.1.3, was introduced a major flaw in http compression (and still not fixed at the time of this release). Depending on the servers' configuration and client platforms, UnityWebRequest will not be able to handle compression, returning an error mentioning curl.
To this effect, we added a check box in the Unity settings of this SDK so you can select if you want to use compression or not. You will have to make some tests to check if your combination of servers and clients can handle it or not, and parameter this setting accordingly.

As we hadn't updated the SDK for quite some time, we jumped on this occasion to work on a major overhaul. There is now one single SDK compatible with Unity 2018 to 2021 included. Check the README if you happen to still use Unity 2017.
Also, Visual Studio 2019 is now the preferred IDE if you want to recompile the SDK yourself.

Last but not least, it integrates previous fixes in the JSON parser that we needed internally, but which were not useful for our customers to need a new release. Now is the perfect time publish them!

v1.4.2.1

20 Nov 10:29
Compare
Choose a tag to compare

Added:

  • In App Purchase and Push Notifications Android plugins' Play Services Resolver dependencies configurations in readme
  • Force use of InvariantCulture for DateTime parsing to avoid exceptions if system's default calendar is not gregorian
  • SkipToJson and SimpleToJson attributes to prevent exceptions using LitJson.JsonMapper.ToJson() with complex objects

New LitJson library attributes usage:

  • [SkipToJson]: Will simply ignore this Field/Property when using LitJson.JsonMapper.ToJson()
  • [SimpleToJson]: Will simply use .ToString() for this Field/Property instead of in-depth inspecting it when using LitJson.JsonMapper.ToJson()
public class MyClass {
    // Will process it the normal way
    public int normalInt;
    // Will ignore it
    [SkipToJson] public int skippedInt;
    // Will call .ToString() instead of printing all of its fields/properties
    [SimpleToJson] public Color toStringColor;
}

...

MyClass myInstance = new MyClass();
Debug.Log(LitJson.JsonMapper.ToJson(myInstance));

v1.4.2.0

05 Apr 12:32
Compare
Choose a tag to compare

Added:

  • Gamer KV Store (Gamer VFS with ACL rights) APIs (please refer to the C# SDK docs to find how to use it)

v1.4.1.0

01 Apr 14:22
Compare
Choose a tag to compare

Updated:

  • LitJson third party to v0.13.0 for .NET Standard 1.5 and .NET 4.x compatibility
  • GitHub / SDK docs, mainly adding Bundle and Promise classes' missing comments

v1.4.0.1

10 Sep 11:27
Compare
Choose a tag to compare

Fixed:

Since Unity 2017, write binary APIs were broken, now works in Unity 2017/2018.

v1.4.0.0 - Unity 2017/2018 support

03 Sep 15:21
Compare
Choose a tag to compare

Finally, it's here! The SDK (and its integration unit tests) is now compatible with Unity 5, 2017, and 2018 major versions!

About the CotcSdk solution:

  • New build configurations for Unity 5, 2017, and 2018 with a single architecture (plus, it uses the same define/scripting symbols than the Unity editor does, thus you may replace the generated library DLL files by the original source code in your project disregarding of the Unity version!)
  • Updated the releases packaging scripts

About the integration unit tests:

  • Code rework to use the native Unity "Test Runner" tools instead of the deprecated "Unity Test Tools" package
  • Now handles running tests in Unity editor (PlayMode only) and on any Android/iOS plugged device as well
  • Unity 5, 2017, and 2018 compatibility with a single architecture
  • Added tests' backend data requisites in comments to allow you to run them all on any game after a quick setup

But also:

  • Updated repository's readme to reflect all the above changes
  • Stop requests timeout detection coroutines when request's result has been processed
  • Converted UnityProject's assets to text mode to help versioning
  • Support for large icons in push notifications for Android

v1.3.0.0

09 Apr 11:24
Compare
Choose a tag to compare

Added:

  • Added support for gzip compression in requests to the servers.
  • .dll and .meta are now saved, so references in scenes are kept when updating.
  • WSA dll for UWP support now saved.

Fixed:

  • ToJson was failing when used with floats inside the JSON.

Modified:

  • Android now relies on Google Support Libraries 26.1.0.
  • Push notifications now compatible with Android 8 (Oreo)

v1.2.4.3

26 Jan 17:06
Compare
Choose a tag to compare

Added:

Convert and Link account methods now accept an options field: currently supports 'noBusinessManager' if your application or game is placed inside a Facebook Business Manager but you still want your users to be registered with their default Facebook id.

v1.2.4.2

12 Dec 13:33
Compare
Choose a tag to compare

Modified:

MatchMoveEvent class did not report the ID of the move. This has been added and is now correctly set.