Skip to content

Commit

Permalink
Merge pull request #323 from adjust/v506
Browse files Browse the repository at this point in the history
Version 5.0.6
  • Loading branch information
uerceg authored Dec 5, 2024
2 parents 6d0ef2a + 18aa826 commit 5fe2ee2
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 37 deletions.
2 changes: 1 addition & 1 deletion Assets/Adjust/Native/Editor/Dependencies.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<dependencies>
<androidPackages>
<androidPackage spec="com.adjust.sdk:adjust-android:5.0.1">
<androidPackage spec="com.adjust.sdk:adjust-android:5.0.2">
</androidPackage>
<androidPackage spec="com.android.installreferrer:installreferrer:2.2">
</androidPackage>
Expand Down
32 changes: 0 additions & 32 deletions Assets/Adjust/Scripts/Adjust.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,38 +171,6 @@ public static void Disable()
#endif
}

public static void EnablePlayStoreKidsApp()
{
if (IsEditor())
{
return;
}

#if UNITY_IOS
Debug.Log("[Adjust]: Marking apps as Play Store kids app is only supported for Android platform.");
#elif UNITY_ANDROID
AdjustAndroid.EnablePlayStoreKidsApp();
#else
Debug.Log(errorMsgPlatform);
#endif
}

public static void DisablePlayStoreKidsApp()
{
if (IsEditor())
{
return;
}

#if UNITY_IOS
Debug.Log("[Adjust]: Marking apps as Play Store kids app is only supported for Android platform.");
#elif UNITY_ANDROID
AdjustAndroid.DisablePlayStoreKidsApp();
#else
Debug.Log(errorMsgPlatform);
#endif
}

public static void IsEnabled(Action<bool> callback)
{
if (IsEditor())
Expand Down
2 changes: 1 addition & 1 deletion Assets/Adjust/Scripts/AdjustAndroid.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace AdjustSdk
#if UNITY_ANDROID
public class AdjustAndroid
{
private const string sdkPrefix = "unity5.0.5";
private const string sdkPrefix = "unity5.0.6";
private static bool isDeferredDeeplinkOpeningEnabled = true;
private static AndroidJavaClass ajcAdjust = new AndroidJavaClass("com.adjust.sdk.Adjust");
private static AndroidJavaObject ajoCurrentActivity = new AndroidJavaClass("com.unity3d.player.UnityPlayer").GetStatic<AndroidJavaObject>("currentActivity");
Expand Down
2 changes: 1 addition & 1 deletion Assets/Adjust/Scripts/AdjustiOS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace AdjustSdk
#if UNITY_IOS
public class AdjustiOS
{
private const string sdkPrefix = "unity5.0.5";
private const string sdkPrefix = "unity5.0.6";

// app callbacks as method parameters
private static List<Action<bool>> appIsEnabledGetterCallbacks;
Expand Down
2 changes: 1 addition & 1 deletion Assets/Adjust/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.adjust.sdk",
"version": "5.0.5",
"version": "5.0.6",
"unity": "2019.4",
"displayName": "Adjust",
"license": "MIT",
Expand Down
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
### Version 5.0.6 (5th December 2024)
#### Fixed
- Cleaned up unused methods from the API.

#### Changed
- Switched to native Android SDK version that depends on a specific version of the signature library.

#### Native SDKs
- [iOS@v5.0.1][ios_sdk_v5.0.1]
- [Android@v5.0.2][android_sdk_v5.0.2]

---

### Version 5.0.5 (24th October 2024)
#### Fixed
- Tagged the version which is now having submodules pointing to public repositories allowing OpenUPM to properly clone this repository (https://github.com/adjust/unity_sdk/issues/314).
Expand Down Expand Up @@ -1395,6 +1408,7 @@ Kudos to [Ivan](https://github.com/MatkovIvan) and [Evgeny](https://github.com/e
[android_sdk_v4.38.3]: https://github.com/adjust/android_sdk/tree/v4.38.3
[android_sdk_v5.0.0]: https://github.com/adjust/android_sdk/tree/v5.0.0
[android_sdk_v5.0.1]: https://github.com/adjust/android_sdk/tree/v5.0.1
[android_sdk_v5.0.2]: https://github.com/adjust/android_sdk/tree/v5.0.2

[windows_sdk_v4.12.0]: https://github.com/adjust/windows_sdk/tree/v4.12.0
[windows_sdk_v4.13.0]: https://github.com/adjust/windows_sdk/tree/v4.13.0
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.0.5
5.0.6

0 comments on commit 5fe2ee2

Please sign in to comment.