Skip to content

Commit

Permalink
Merge pull request #16 from embrace-io/alyssa/unity-2.0.0
Browse files Browse the repository at this point in the history
Alyssa/unity 2.0.0
  • Loading branch information
eliabsisay authored Oct 2, 2024
2 parents 2005aa1 + 2103632 commit d1afe2b
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 11 deletions.
13 changes: 13 additions & 0 deletions docs/unity/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,19 @@ sidebar_position: 4
---

# Unity SDK Changelog
## 2.0.0
*September 30th, 2024*
:::info Important
This version of the Unity SDK contains several breaking changes to our API, including the removal of deprecated functions.

Additionally, with the update to Embrace Android 6.13, the SDK now requires Gradle 7.5.1, AGP 7.4.2, and API 34 or higher.
:::

* Updated Embrace Android SDK to 6.13
* Updated Embrace iOS SDK to 6.4
* Removed deprecated functions in API
* Changed StartSDK call to support new EmbraceStartupArgs type

## 1.26.1
*August 12th, 2024*
* NPE patch for null EmbraceSpanEvents
Expand Down
3 changes: 3 additions & 0 deletions docs/unity/features/moments.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ sidebar_position: 1
---

# Moments
:::info Important
The Moments API is deprecated and no longer supported as of Unity 2.x. Please use Spans instead
:::

## Overview

Expand Down
11 changes: 1 addition & 10 deletions docs/unity/features/performance-tracing.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,7 @@ There are also no limits to the number of child spans you can have per trace, pr

### Limits

| Type | Limit |
| --- | --- |
| Max number of spans per session | 500 |
| Max number of attributes per span | 50 |
| Max number of events per span | 10 |
| Max number of attributes per event | 10 |
| Length of attribute keys | 50 characters |
| Length of attribute values | 200 characters |
| Length of Span names | 50 characters |
| Length of Event names | 100 characters |
For limits pertaining to each platform, please see the Android limits [here](/android/features/tracing/#limits), and the iOS limits [here](/ios/open-source/tracing/#limits).

:::warning Exceeding Limits
If you exceed the listed limits, the operation with the limit-exceeding call will fail. See the API documentation for details.
Expand Down
7 changes: 7 additions & 0 deletions docs/unity/integration/configure-embrace-ios.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ Go to Tools -> Embrace -> Getting Started and click on it to reveal the Embrace

<img src={require('@site/static/images/unity-ios-configure-editor-window.png').default} />

Additionally, when you start the SDK you will need to pass the `App ID` to the StartSDK call as below:

```cs
EmbraceStartupArgs args = new EmbraceStartupArgs("AppID");
Embrace.Instance.StartSDK(args);
```

Now when you build and run your project, our editor script will use those values to correctly setup the final IPA to work with Embrace.

---
Expand Down
2 changes: 1 addition & 1 deletion docs/unity/integration/linking-embrace.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: Linking Embrace with your application is quick and easy.

To install Embrace, download our latest SDK below.

[Download Embrace 1.26.1 for Unity](https://downloads.embrace.io/EmbraceSDK_1.26.1.unitypackage)
[Download Embrace 2.0.0 for Unity](https://downloads.embrace.io/EmbraceSDK_2.0.0.unitypackage)

Once downloaded, import the Unity Package by selecting Assets -> Import Package -> Custom Package.

Expand Down

0 comments on commit d1afe2b

Please sign in to comment.