Skip to content

Commit

Permalink
Updated to v7.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dorin-ga committed Sep 12, 2023
1 parent aa13afd commit c354a2d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Changelog
---------
<!--(CHANGELOG_TOP)-->
**7.7.0**
* updated impression listeners for AdMob 8.0.0 (please check out the migration guide: https://developers.google.com/admob/unity/migration)
* added functionality to opt out of GAID & IDFV tracking
* optional local event caching if event submission is disabled:support for AppOpen ads
* support for custom initialization callbacks

**7.6.2b**
** beta version **
* added functionality for opting out of GAID/IDFV tracking on request
Expand Down
6 changes: 6 additions & 0 deletions Runtime/Scripts/GameAnalytics.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ public static GameAnalyticsSDK.Setup.Settings SettingsGA

private static bool _hasInitializeBeenCalled;

public static event EventHandler<bool> onInitialize;
public static bool Initialized { get{ return _hasInitializeBeenCalled; } }

#region unity derived methods

#if UNITY_EDITOR
Expand Down Expand Up @@ -253,11 +256,14 @@ public static void Initialize ()
{
GA_Wrapper.Initialize (SettingsGA.GetGameKey (platformIndex), SettingsGA.GetSecretKey (platformIndex));
GameAnalytics._hasInitializeBeenCalled = true;

onInitialize?.Invoke(typeof(GameAnalytics), true);
}
else
{
GameAnalytics._hasInitializeBeenCalled = true;
Debug.LogWarning("GameAnalytics: Unsupported platform (events will not be sent in editor; or missing platform in settings): " + Application.platform);
onInitialize?.Invoke(typeof(GameAnalytics), false);
}
}

Expand Down
2 changes: 1 addition & 1 deletion Runtime/Scripts/Setup/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public struct HelpInfo
/// The version of the GA Unity Wrapper plugin
/// </summary>
[HideInInspector]
public static string VERSION = "7.6.2b";
public static string VERSION = "7.7.0";

[HideInInspector]
public static bool CheckingForUpdates = false;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.gameanalytics.sdk",
"version": "7.6.2b",
"version": "7.7.0",
"displayName": "GameAnalytics",
"description": "GameAnalytics collects and stores your data with no limits. You can then view your core KPI's in order to see what areas of your game need to improvements. If you want to find out more about how gamers play, then add in funnels, progression events and resource tracking. ",
"unity": "2018.1",
Expand Down

0 comments on commit c354a2d

Please sign in to comment.