Skip to content

Releases: stashgg/stash-unity

Stash Unity v2.0.0

09 Feb 00:18

Choose a tag to compare

Migrated to Unity Package Manager

Changed

  • UPM (Unity Package Manager) support: Package restructured for full UPM compatibility. Content moved from Assets/Stash.Native/ to Packages/gg.stash.unity/ with standard layout: Runtime/, Editor/, Plugins/, Samples~/.
  • Added assembly definitions (Stash.Unity, Stash.Unity.Editor) for compilation isolation.
  • Samples are now importable via Package Manager (Window > Package Manager > Stash for Unity > Samples).

Installation

  • Git URL: Add package from git URL: https://github.com/stashgg/stash-unity.git?path=Packages/gg.stash.unity
  • manifest.json: Add "gg.stash.unity": "https://github.com/stashgg/stash-unity.git?path=Packages/gg.stash.unity" to dependencies.

[2.0.0] - 2026-02-09

  • Renamed the plugin from StashPay to StashNative to better reflect the new package structure.
  • Performed an overall repository cleanup, including code linting and removal of unused components.
  • Removed deprecated components, including Stash.DemoApp and legacy webshop APIs (Stash.Core).
  • Migrated to the new stash-native package (version 2.0.0).
  • Migrated to a new, simplified set of APIs: OpenCheckout, OpenModal, and OpenBrowser.
  • Added code linting and code quality pipelines.

Stash Unity v1.0.0

04 Dec 10:31

Choose a tag to compare

⚠️ Warning
This is a legacy version for older Stash integration. For new integration please use version 2 with new interface.

[1.0.0] - 2025-12-04

General

  • Updated Stash Pay dialog with various improvements.
  • Improved cleanup behavior on checkout card dismissal.
  • Added a new expand/collapse control for the checkout dialog.

Unity Editor

  • Added Unity Editor Plugin (Windows/Mac) for simulating purchases.

Cross-Platform

  • Added opt-in dialog functionality on iOS and Android with enhanced scaling options.
  • Integrated Flagsmith for remote presentation control.

Android

  • Forced portrait-mode checkout for landscape titles (via custom activity).
  • Fixed dialog scaling issues on smaller screen sizes.
  • Resolved crashes related to Google Pay purchases.
  • General stability improvements and refactoring.

iOS

  • General stability improvements and refactoring.
  • Improved Stash.Popup content loading performance.
  • Forced portrait-mode checkout for landscape titles.
  • Added SFSafariWebView dismiss support for deep links.
  • Improved expand/collapse gesture responsiveness.

Important:
The API for opening checkout in a popup card has changed from OpenURL() to OpenCheckout() in this version.

Stash Unity v0.9.9

12 Nov 20:45
ce61666

Choose a tag to compare

⚠️ Warning
This is a legacy version for older Stash integration. For new integration please use version 2 with new interface.

[0.9.9] - 2025-11-12

  • Stability improvements and code cleanup.

Stash Unity v0.9.8

10 Nov 23:26

Choose a tag to compare

⚠️ Warning
This is a legacy version for older Stash integration. For new integration please use version 2 with new interface.

[0.9.8] - 2025-11-10

  • General updates to Stash Pay dialog.

Stash Unity 0.9.5

06 May 13:07

Choose a tag to compare

⚠️ Warning
This is a legacy version for older Stash integration. For new integration please use version 2 with new interface.

[0.9.5] - 2025-06-06

Stash Unity 0.9.4

27 Feb 23:09

Choose a tag to compare

⚠️ Warning
This is a legacy version for older Stash integration. For new integration please use version 2 with new interface.

[0.9.4] - 2025-02-28

  • Added GetLoyaltyUrl to StashLauncher.
//Get the loyalty URL from Stash API and open it in the browser. Requires playerID & auth token.

 try
 {
    LoyaltyUrlResponse loyaltyUrl = await StashLauncher.GetLoyaltyUrl(InternalPlayerId, IdToken);
    Application.OpenURL(loyaltyUrl.url);
 }
 catch (StashRequestError e)
 {
    Debug.LogError(e.Message);
 }

Stash Unity 0.9.3

04 Feb 13:16
b813bb1

Choose a tag to compare

⚠️ Warning
This is a legacy version for older Stash integration. For new integration please use version 2 with new interface.

[0.9.3] - 2025-02-04

  • Added STASH_MID environment variable to the request headers to identify launcher instance. (Windows, Mac, Editor Only)

Stash Unity 0.9.2

29 Oct 13:25

Choose a tag to compare

⚠️ Warning
This is a legacy version for older Stash integration. For new integration please use version 2 with new interface.

[0.9.2] - 2024-10-29

  • Added /sdk/launcher/payment/generate_add_to_cart_url for launcher checkout.
  • StashClient Refactoring

Stash Unity 0.9.1

16 Oct 20:47

Choose a tag to compare

⚠️ Warning
This is a legacy version for older Stash integration. For new integration please use version 2 with new interface.

[0.9.1] - 2024-10-16

  • Added /sdk/launcher/payment/generate_add_to_cart_url for launcher checkout.

Stash Unity 0.9.0

19 Aug 17:41

Choose a tag to compare

⚠️ Warning
This is a legacy version for older Stash integration. For new integration please use version 2 with new interface.

[0.9.0] - 2024-08-19

  • Added the following device and app build information to Stash API requests:
x-stash-unity-platform
x-stash-unity-runtime
x-stash-unity-build-guid
x-stash-unity-app-version
x-stash-unity-device-os
x-stash-unity-device-model
x-stash-unity-device-type
x-stash-unity-editor