Skip to content

Commit

Permalink
Revert "Add in age check (#119)"
Browse files Browse the repository at this point in the history
This reverts commit c2b539d.
  • Loading branch information
dnharjani-sa authored Oct 26, 2021
1 parent c2b539d commit f3042b1
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 4 deletions.
1 change: 1 addition & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apply plugin: 'kotlin-android'

android {
compileSdkVersion compile_sdk_version
buildToolsVersion build_tools_version
defaultConfig {
applicationId "tv.superawesome.demoapp"
minSdkVersion 19
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ protected void onCreate(final Bundle savedInstanceState) {
bannerAd.load(placement.pid);
break;
case INTERSTITIAL:
SAInterstitialAd.load(43694, MainActivity.this);
SAInterstitialAd.load(58166, 143306, 437339, MainActivity.this);
break;

case VIDEO:
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.0-alpha01'
classpath 'com.android.tools.build:gradle:7.1.0-alpha08'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.0"
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
classpath "org.jlleitschuh.gradle:ktlint-gradle:10.0.0"
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-all.zip
1 change: 1 addition & 0 deletions saadmob/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ ext.libraryName = 'SuperAwesome AdMob'

android {
compileSdkVersion compile_sdk_version
buildToolsVersion build_tools_version

defaultConfig {
minSdkVersion min_sdk_version
Expand Down
1 change: 1 addition & 0 deletions samoat/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ ext.libraryName = 'SuperAwesome Moat'

android {
compileSdkVersion compile_sdk_version
buildToolsVersion build_tools_version

defaultConfig {
minSdkVersion min_sdk_version
Expand Down
1 change: 1 addition & 0 deletions samopub/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ ext.libraryName = 'SuperAwesome MoPub'

android {
compileSdkVersion compile_sdk_version
buildToolsVersion build_tools_version

defaultConfig {
minSdkVersion min_sdk_version
Expand Down
1 change: 1 addition & 0 deletions saunity/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ ext.libraryName = 'SuperAwesome Unity'

android {
compileSdkVersion compile_sdk_version
buildToolsVersion build_tools_version

defaultConfig {
minSdkVersion min_sdk_version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -367,10 +367,14 @@ public void play (final Context context) {
}
// and this is in case of click
case Web_Click: {

if (destination != null) {

Runnable runner = () -> click(destination);
showParentalGateIfNeededWithCompletion(context, runner);
runner.run();
// showParentalGateIfNeededWithCompletion(context, runner);
}

break;
}
// this in case the script tag in moat loaded correctly
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,7 @@ public static void play(int placementId, Context context) {
// create intent
Intent intent = new Intent(context, SAInterstitialAd.class);
intent.putExtra("ad", adL.writeToJson().toString());

// clear ad - meaning that it's been played
ads.remove(placementId);

Expand Down
1 change: 1 addition & 0 deletions superawesome/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ ext.libraryDescription = 'SuperAwesome Full SDK'
ext.libraryName = 'SuperAwesome'
android {
compileSdkVersion compile_sdk_version
buildToolsVersion build_tools_version

defaultConfig {
minSdkVersion min_sdk_version
Expand Down

0 comments on commit f3042b1

Please sign in to comment.