From 62f8e124820255142887ee54e83a8f29e3ad2492 Mon Sep 17 00:00:00 2001 From: Harry Arakkal Date: Thu, 17 Oct 2019 13:16:41 -0700 Subject: [PATCH 1/2] Add mediation debugger --- .../DemoApp-ObjC/ALHomeViewController.m | 8 +++++++ .../bug.imageset/Contents.json | 21 ++++++++++++++++++ .../Assets.xcassets/bug.imageset/bug.png | Bin 0 -> 1359 bytes .../Base.lproj/Main.storyboard | 11 ++++++++- .../DemoApp-Swift/ALHomeViewController.swift | 6 +++++ .../bug.imageset/Contents.json | 21 ++++++++++++++++++ .../Assets.xcassets/bug.imageset/bug.png | Bin 0 -> 1359 bytes .../Base.lproj/Main.storyboard | 11 ++++++++- 8 files changed, 76 insertions(+), 2 deletions(-) create mode 100644 DemoApp-ObjC/DemoApp-ObjC/Supporting Files/Assets.xcassets/bug.imageset/Contents.json create mode 100644 DemoApp-ObjC/DemoApp-ObjC/Supporting Files/Assets.xcassets/bug.imageset/bug.png create mode 100644 DemoApp-Swift/DemoApp-Swift/Supporting Files/Assets.xcassets/bug.imageset/Contents.json create mode 100644 DemoApp-Swift/DemoApp-Swift/Supporting Files/Assets.xcassets/bug.imageset/bug.png diff --git a/DemoApp-ObjC/DemoApp-ObjC/ALHomeViewController.m b/DemoApp-ObjC/DemoApp-ObjC/ALHomeViewController.m index 012d5e825a..8b21e96744 100644 --- a/DemoApp-ObjC/DemoApp-ObjC/ALHomeViewController.m +++ b/DemoApp-ObjC/DemoApp-ObjC/ALHomeViewController.m @@ -8,6 +8,8 @@ #import "ALHomeViewController.h" +#import + @interface ALHomeViewController() @end @@ -20,4 +22,10 @@ - (void)viewDidLoad } +- (IBAction)showMediationDebugger:(UIBarButtonItem *)sender +{ + [[ALSdk shared] showMediationDebugger]; +} + + @end diff --git a/DemoApp-ObjC/DemoApp-ObjC/Supporting Files/Assets.xcassets/bug.imageset/Contents.json b/DemoApp-ObjC/DemoApp-ObjC/Supporting Files/Assets.xcassets/bug.imageset/Contents.json new file mode 100644 index 0000000000..0934cf6e0b --- /dev/null +++ b/DemoApp-ObjC/DemoApp-ObjC/Supporting Files/Assets.xcassets/bug.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "bug.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/DemoApp-ObjC/DemoApp-ObjC/Supporting Files/Assets.xcassets/bug.imageset/bug.png b/DemoApp-ObjC/DemoApp-ObjC/Supporting Files/Assets.xcassets/bug.imageset/bug.png new file mode 100644 index 0000000000000000000000000000000000000000..3f1ed5959fbc1fef166b51b86440566a7cf5479c GIT binary patch literal 1359 zcmV-V1+e;wP)6(UVUGEt6tT61M9Lb|DVX@8g-oPzCw=wzZ;D^ zg>;}<9jP}u7}XKY4z!!3nKZLh)12X`PJpRuRL%rC!BNg=+R|ok8$e|yZRad=cn)bE z%0^|Dg627dXO34jZEAvT05vJ%6mujv#6iu2Nj8e12{g|^L`1?PoKj@EM|#ck6|2Mu z5C?Sf&q0$3}fD7#)TWuMcdA-E5xsO(QhKxP0 z7tN27?5^p}V)_Eda}sM+G2mnSqB*8<5GWcg%KAFMaUgAA#Yk}+*OGmwjz*xqx_}C( z%tTUn-^zRoNB~EQ<7NF~H!Bt=(JN=E9_AR!nYSr3>}epjO!BWRW=r&J;hbHPvviWD z2F&pI*jO7cizM%1Phn(+OXVd8VoD#loqw@AfElzYv#b&WQ6N{73gH%5T#5%0Hu9D&lp9{i7YA&pEeUlyyKKV&5y9peGLbTj zlLfYSb8!H&=I(JJ{Sasbd7R4IzFl!pw%nn&4WI&6xWy7NDO=f6GH6_*pB+yI@1n!( zn3gb>xrrlT8!H61av8O-m35e7B!z{gI9{`*(u{4qIo631V$Rv8A&WK9Fv;ZP)Gd%) zl#QTBE_&c8ak`eU@M&q%f#x0i zrcFia0c*qvSJ`ET50t^`Ui73G2~+f{0F#QEA(D#8h$ithH=c>0U0|vuc~vPk{hEVM zT$uuw`J9z(s%JM(-T`ci;{t!=vo~>>O1%ypSN`Oa(TKV{$gY;KDUK_=XJg0CwiPMP zpN{o-pFWP}E1<{G=L74jQ?Ou-O}r{{mTEtz>EI_Mkw}T?^R_LNFA-H~a}#%#YA+|* ziGr<7Su6XS5ACOB$X1{k> - + + + + + + + @@ -271,4 +277,7 @@ + + + diff --git a/DemoApp-Swift/DemoApp-Swift/ALHomeViewController.swift b/DemoApp-Swift/DemoApp-Swift/ALHomeViewController.swift index fadde8afcc..421ae88992 100644 --- a/DemoApp-Swift/DemoApp-Swift/ALHomeViewController.swift +++ b/DemoApp-Swift/DemoApp-Swift/ALHomeViewController.swift @@ -7,6 +7,7 @@ // import UIKit +import AppLovinSDK class ALHomeViewController: UITableViewController { @@ -14,5 +15,10 @@ class ALHomeViewController: UITableViewController { super.viewDidLoad() } + + @IBAction func showMediationDebugger(_ sender: UIBarButtonItem!) + { + ALSdk.shared()!.showMediationDebugger() + } } diff --git a/DemoApp-Swift/DemoApp-Swift/Supporting Files/Assets.xcassets/bug.imageset/Contents.json b/DemoApp-Swift/DemoApp-Swift/Supporting Files/Assets.xcassets/bug.imageset/Contents.json new file mode 100644 index 0000000000..0934cf6e0b --- /dev/null +++ b/DemoApp-Swift/DemoApp-Swift/Supporting Files/Assets.xcassets/bug.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "bug.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/DemoApp-Swift/DemoApp-Swift/Supporting Files/Assets.xcassets/bug.imageset/bug.png b/DemoApp-Swift/DemoApp-Swift/Supporting Files/Assets.xcassets/bug.imageset/bug.png new file mode 100644 index 0000000000000000000000000000000000000000..3f1ed5959fbc1fef166b51b86440566a7cf5479c GIT binary patch literal 1359 zcmV-V1+e;wP)6(UVUGEt6tT61M9Lb|DVX@8g-oPzCw=wzZ;D^ zg>;}<9jP}u7}XKY4z!!3nKZLh)12X`PJpRuRL%rC!BNg=+R|ok8$e|yZRad=cn)bE z%0^|Dg627dXO34jZEAvT05vJ%6mujv#6iu2Nj8e12{g|^L`1?PoKj@EM|#ck6|2Mu z5C?Sf&q0$3}fD7#)TWuMcdA-E5xsO(QhKxP0 z7tN27?5^p}V)_Eda}sM+G2mnSqB*8<5GWcg%KAFMaUgAA#Yk}+*OGmwjz*xqx_}C( z%tTUn-^zRoNB~EQ<7NF~H!Bt=(JN=E9_AR!nYSr3>}epjO!BWRW=r&J;hbHPvviWD z2F&pI*jO7cizM%1Phn(+OXVd8VoD#loqw@AfElzYv#b&WQ6N{73gH%5T#5%0Hu9D&lp9{i7YA&pEeUlyyKKV&5y9peGLbTj zlLfYSb8!H&=I(JJ{Sasbd7R4IzFl!pw%nn&4WI&6xWy7NDO=f6GH6_*pB+yI@1n!( zn3gb>xrrlT8!H61av8O-m35e7B!z{gI9{`*(u{4qIo631V$Rv8A&WK9Fv;ZP)Gd%) zl#QTBE_&c8ak`eU@M&q%f#x0i zrcFia0c*qvSJ`ET50t^`Ui73G2~+f{0F#QEA(D#8h$ithH=c>0U0|vuc~vPk{hEVM zT$uuw`J9z(s%JM(-T`ci;{t!=vo~>>O1%ypSN`Oa(TKV{$gY;KDUK_=XJg0CwiPMP zpN{o-pFWP}E1<{G=L74jQ?Ou-O}r{{mTEtz>EI_Mkw}T?^R_LNFA-H~a}#%#YA+|* ziGr<7Su6XS5ACOB$X1{k> - + + + + + + + @@ -271,4 +277,7 @@ + + + From ec40870b7f3199600a1de422f9d542c74d2e124c Mon Sep 17 00:00:00 2001 From: Harry Arakkal Date: Thu, 17 Oct 2019 13:20:03 -0700 Subject: [PATCH 2/2] Remove empty lines --- DemoApp-ObjC/DemoApp-ObjC/ALHomeViewController.m | 2 -- 1 file changed, 2 deletions(-) diff --git a/DemoApp-ObjC/DemoApp-ObjC/ALHomeViewController.m b/DemoApp-ObjC/DemoApp-ObjC/ALHomeViewController.m index 8b21e96744..866c20d52c 100644 --- a/DemoApp-ObjC/DemoApp-ObjC/ALHomeViewController.m +++ b/DemoApp-ObjC/DemoApp-ObjC/ALHomeViewController.m @@ -7,7 +7,6 @@ // #import "ALHomeViewController.h" - #import @interface ALHomeViewController() @@ -27,5 +26,4 @@ - (IBAction)showMediationDebugger:(UIBarButtonItem *)sender [[ALSdk shared] showMediationDebugger]; } - @end