Skip to content

Releases: PlaymanityDev/UnitySDK

v1.3.0

Choose a tag to compare

@thelite0 thelite0 released this 12 Apr 20:05

Added callbacks to InvokeAd.
Old method with only time is now obsolete.

Use the new way to handle advertisements fail-safely:

PlaymanityManager.Instance.InvokeAd(
    5f,
    onCompleted: (success, message) => Debug.Log($"Ad completed, success: {success}"),
    onFailed: (success, message) => Debug.LogError($"Ad failed: {message}"),
    onProgress: (progress) => Debug.Log($"Ad progress: {progress * 100}%")
);

Full Changelog: v1.2.0...v1.3.0

v1.2.0

Choose a tag to compare

@thelite0 thelite0 released this 24 Mar 14:56
  • Organized code into logical regions
  • Improved method organization and flow
  • Added proper ErrorResponse class to handle server error format
  • Created IsSuccess() and GetErrorMessage() helper methods
  • Enhanced JSON parsing to handle different response formats
  • Added special handling for simple {"success":true} responses
  • Added immediate heartbeat verification after session initialization
  • Implemented double-checking that session remains valid after verification
  • Added proper retry logic when verification fails
  • Added session state change events via OnSessionStateChanged
  • Implemented auto-reinitialization for "NO_ACTIVE_SESSION" errors
  • Improved thread safety with lock statements
  • Added proper cleanup of resources
  • Added detailed error and warning messages
  • Added constants for magic numbers
  • Created OnApiError event for error notifications

Full Changelog: v1.1.0...v1.2.0

v1.1.0

Choose a tag to compare

@thelite0 thelite0 released this 22 Feb 16:54
  • Advertisements
  • Small improvements

Full Changelog: v1.0.0...v1.1.0

v1.0.0

Choose a tag to compare

@thelite0 thelite0 released this 08 Feb 17:28

This release contains code for Authorization and Session Management.
If you need help setting this up, open a ticket at
https://discord.gg/playmanity-823565989865979976