Skip to content
This repository has been archived by the owner on Jul 25, 2023. It is now read-only.

Commit

Permalink
Release 1.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Str4tos committed Apr 6, 2021
1 parent 7806ba4 commit 296061b
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 10 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Clever Ads Solutions Unity Plugin Change Log

## [1.2.4] - 2021-04-06
### Dependencies
- CleverAdsSolutions - [2.1.4](https://github.com/cleveradssolutions/CAS-Unity/releases)

## [1.2.3] - 2021-03-24
### Bug Fixes
- Fix wrong network name when Consent plguin get unknown network.
Expand Down
16 changes: 11 additions & 5 deletions Editor/ConsentRequestParametersEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,21 +77,27 @@ private void OnEnable()
() => newCASVersion = Utils.GetNewVersionOrNull( gitRepoName, UserConsent.version, false );
}

protected override void OnHeaderGUI()
{
EditorGUILayout.Space();
EditorGUILayout.BeginHorizontal();
GUILayout.Label( "CleverAdsSolutions", HelpStyles.largeTitleStyle );
GUILayout.Label( "Consent", HelpStyles.largeTitleStyle, GUILayout.ExpandWidth( false ) );
EditorGUILayout.EndHorizontal();

Utils.OnHeaderGUI( gitRepoName, allowedPackageUpdate, UserConsent.version, ref newCASVersion );
}

public override void OnInspectorGUI()
{
var obj = serializedObject;
obj.UpdateIfRequiredOrScript();

Utils.LinksToolbarGUI( gitRepoName );

EditorGUILayout.PropertyField( withAudienceDefinitionProp );
EditorGUILayout.PropertyField( withDeclineOptionProp );
EditorGUILayout.PropertyField( showInEditorProp );
EditorGUILayout.Space();

Utils.AboutRepoGUI( gitRepoName, allowedPackageUpdate, UserConsent.version, ref newCASVersion );
EditorGUILayout.Space();

currentListProp = privacyPolicyUrlProp;
privacyPolicyList.DoLayoutList();
currentListProp = termsOfUseUrlProp;
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Modify `Packages/manifest.json` to the following form:
}
],
"dependencies": {
"com.cleversolutions.ads.consent.unity": "https://github.com/cleveradssolutions/CAS-Unity-Consent.git#1.2.3"
"com.cleversolutions.ads.consent.unity": "https://github.com/cleveradssolutions/CAS-Unity-Consent.git#1.2.4"
}
}
```
Expand Down
5 changes: 3 additions & 2 deletions Runtime/ConsentClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,10 @@ private static string GetNetworkTag( AdNetwork network )
return "VZ";
case AdNetwork.MoPub:
return "MP";
case ( AdNetwork )20:
case AdNetwork.Tapjoy:
return "TJ";
case ( AdNetwork )21:
case AdNetwork.Fyber:
case AdNetwork.FairBid:
return "Fy";
default:
return string.Empty;
Expand Down
1 change: 1 addition & 0 deletions Runtime/MediationSettingsUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ private IEnumerator Start()
"https://www.verizonmedia.com/policies/us/en/verizonmedia/privacy/",
"https://www.mopub.com/en/legal/privacy",
"https://www.tapjoy.com/legal/players/privacy-policy/",
null,
"https://www.fyber.com/privacy-policy/"
};

Expand Down
2 changes: 1 addition & 1 deletion Runtime/UserConsent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace CAS.UserConsent
{
public static class UserConsent
{
public const string version = "1.2.3";
public const string version = "1.2.4";

/// <summary>
/// User latest consent status values.
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.cleversolutions.ads.consent.unity",
"version": "1.2.3",
"version": "1.2.4",
"displayName": "CleverAdsSolutions Consent",
"description": "Clever Ads Solutions User consent Unity plugin.",
"unity": "2017.4",
Expand Down

0 comments on commit 296061b

Please sign in to comment.