Skip to content

Commit

Permalink
Release 1.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Str4tos committed Dec 7, 2020
1 parent 4ae8e88 commit f124e75
Show file tree
Hide file tree
Showing 12 changed files with 537 additions and 481 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Clever Ads Solutions Unity Plugin Change Log

## [1.8.1] - 2020-12-07
### Dependencies
- [Android] Wraps [1.8.1 SDK](https://github.com/cleveradssolutions/CAS-Android/releases)
### Changes
- The `IsAdReady` check now takes into account the interval between Interstitial ad impressions.
### Bug Fixes
- [Android] Lost point to AdCallback of Interstitial and Rewarded ad.

## [1.8.0] - 2020-12-07
### Dependencies
- [Android] Wraps [1.8.0 SDK](https://github.com/cleveradssolutions/CAS-Android/releases)
Expand Down
1 change: 1 addition & 0 deletions Editor/CASEditorUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public static class CASEditorUtils
internal const string editorRuntimeActiveAdPrefs = "typesadsavailable";
internal const string editorLatestVersionPrefs = "cas_last_ver_";
internal const string editorLatestVersionTimestampPrefs = "cas_last_ver_time_";
internal const string editorIgnoreMultidexPrefs = "cas_ignore_multidex";
internal const string androidLibManifestTemplateFile = "CASManifest.xml";
internal const string androidLibPropTemplateFile = "CASLibProperties.txt";
internal const string iosSKAdNetworksTemplateFile = "CASSKAdNetworks.txt";
Expand Down
9 changes: 9 additions & 0 deletions Editor/CASInitSettignsInspector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ internal class CASInitSettignsInspector : Editor
private bool allowedPackageUpdate;
private string newCASVersion;
private bool deprecateDependenciesExist;
private bool usingMultidexOnBuild;

private int editorRuntimeActiveAdFlags;
private GUIStyle boxScopeStyle = null;
Expand Down Expand Up @@ -72,6 +73,7 @@ private void OnEnable()

allowedPackageUpdate = Utils.IsPackageExist( Utils.packageName );
newCASVersion = Utils.GetNewVersionOrNull( Utils.gitUnityRepo, MobileAds.wrapperVersion, false );
usingMultidexOnBuild = PlayerPrefs.GetInt( Utils.editorIgnoreMultidexPrefs, 0 ) == 0;

dependencyManager = DependencyManager.Create( platform, ( Audience )audienceTaggedProp.enumValueIndex, true );
}
Expand Down Expand Up @@ -133,6 +135,13 @@ public override void OnInspectorGUI()

EditorGUILayout.PropertyField( debugModeProp );
OnEditroRuntimeActiveAdGUI();
//if(usingMultidexOnBuild != EditorGUILayout.Toggle("Use MultiDex", usingMultidexOnBuild )){
// usingMultidexOnBuild = !usingMultidexOnBuild;
// if (usingMultidexOnBuild)
// PlayerPrefs.DeleteKey( Utils.editorIgnoreMultidexPrefs );
// else
// PlayerPrefs.SetInt( Utils.editorIgnoreMultidexPrefs, 1 );
//}

DrawSeparator();
DeprecatedDependenciesGUI();
Expand Down
Loading

0 comments on commit f124e75

Please sign in to comment.