Skip to content

Commit

Permalink
Update version of Unity SDK and Android SDK dependency (#89)
Browse files Browse the repository at this point in the history
* Update version of Unity SDK and Android SDK dependency

* Update .unitypackage

* Edu file settings commit
  • Loading branch information
dantetam authored Aug 31, 2021
1 parent 67da4cb commit 192af8e
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Assets/Amplitude/Amplitude.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

public class Amplitude {
private static readonly string UnityLibraryName = "amplitude-unity";
private static readonly string UnityLibraryVersion = "2.2.1";
private static readonly string UnityLibraryVersion = "2.2.2";

private static Dictionary<string, Amplitude> instances;
private static readonly object instanceLock = new object();
Expand Down
2 changes: 1 addition & 1 deletion Assets/Editor/AmplitudeDependencies.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<repository>https://repo.maven.apache.org/maven2</repository>
</repositories>

<androidPackage spec="com.amplitude:android-sdk:2.31.3">
<androidPackage spec="com.amplitude:android-sdk:2.32.0">
<repositories>
<repository>https://maven.google.com</repository>
</repositories>
Expand Down
3 changes: 3 additions & 0 deletions Assets/Plugins/Android.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Assets/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.amplitude.unityplugin",
"version": "2.2.1",
"version": "2.2.2",
"displayName": "Amplitude Unity SDK",
"description": "A plugin to simplify the integration of Amplitude iOS and Android SDKs into your Unity project. This repository also contains a sample project with the Unity plugin integrated.",
"unity": "2019.4",
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Versioned Releases

## 2.2.2
* Update Android version to 2.32.0 to resolve Cursor related errors.

## 2.2.1
* Fix .unitypackage overriding default editor preferences with asmdef files. Asmdef files removed.

Expand Down
6 changes: 4 additions & 2 deletions ProjectSettings/AndroidResolverDependencies.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<dependencies>
<packages>
<package>com.amplitude:android-sdk:2.31.3</package>
<package>com.amplitude:android-sdk:2.32.0</package>
<package>com.squareup.okhttp3:okhttp:4.2.2</package>
</packages>
<files>
<file>Assets/Plugins/Android/com.amplitude.android-sdk-2.31.3.aar</file>
<file>Assets/Plugins/Android/com.amplitude.android-sdk-2.32.0.aar</file>
<file>Assets/Plugins/Android/com.squareup.okhttp3.okhttp-4.2.2.jar</file>
<file>Assets/Plugins/Android/com.squareup.okio.okio-2.2.2.jar</file>
<file>Assets/Plugins/Android/org.jetbrains.annotations-13.0.jar</file>
Expand All @@ -16,8 +16,10 @@
<setting name="bundleId" value="amplitude.unity3d.amplitudedemo" />
<setting name="explodeAars" value="True" />
<setting name="gradleBuildEnabled" value="True" />
<setting name="gradlePropertiesTemplateEnabled" value="False" />
<setting name="gradleTemplateEnabled" value="False" />
<setting name="installAndroidPackages" value="True" />
<setting name="localMavenRepoDir" value="Assets/GeneratedLocalRepo" />
<setting name="packageDir" value="Assets/Plugins/Android" />
<setting name="patchAndroidManifest" value="True" />
<setting name="patchMainTemplateGradle" value="True" />
Expand Down
Binary file modified amplitude-unity.unitypackage
Binary file not shown.

0 comments on commit 192af8e

Please sign in to comment.