Skip to content

Commit

Permalink
feat/mediation_debugger (#7)
Browse files Browse the repository at this point in the history
* Add mediation debugger

* Remove empty lines
  • Loading branch information
harryarakkal committed Oct 21, 2019
1 parent e48005f commit c9101ef
Show file tree
Hide file tree
Showing 8 changed files with 74 additions and 2 deletions.
6 changes: 6 additions & 0 deletions DemoApp-ObjC/DemoApp-ObjC/ALHomeViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//

#import "ALHomeViewController.h"
#import <AppLovinSDK/AppLovinSDK.h>

@interface ALHomeViewController()

Expand All @@ -20,4 +21,9 @@ - (void)viewDidLoad

}

- (IBAction)showMediationDebugger:(UIBarButtonItem *)sender
{
[[ALSdk shared] showMediationDebugger];
}

@end
Original file line number Diff line number Diff line change
@@ -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"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,13 @@
</tableViewSection>
</sections>
</tableView>
<navigationItem key="navigationItem" id="e1i-r7-ONc"/>
<navigationItem key="navigationItem" id="e1i-r7-ONc">
<barButtonItem key="rightBarButtonItem" title="Mediation Debugger" image="bug" id="sOu-fq-WnP">
<connections>
<action selector="showMediationDebugger:" destination="Xhz-da-ENL" id="LZd-kT-V5s"/>
</connections>
</barButtonItem>
</navigationItem>
</tableViewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="0eV-wE-SZP" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
Expand Down Expand Up @@ -271,4 +277,7 @@
<point key="canvasLocation" x="1920" y="840"/>
</scene>
</scenes>
<resources>
<image name="bug" width="29" height="29"/>
</resources>
</document>
6 changes: 6 additions & 0 deletions DemoApp-Swift/DemoApp-Swift/ALHomeViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,18 @@
//

import UIKit
import AppLovinSDK

class ALHomeViewController: UITableViewController
{
override func viewDidLoad()
{
super.viewDidLoad()
}

@IBAction func showMediationDebugger(_ sender: UIBarButtonItem!)
{
ALSdk.shared()!.showMediationDebugger()
}
}

Original file line number Diff line number Diff line change
@@ -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"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,13 @@
</tableViewSection>
</sections>
</tableView>
<navigationItem key="navigationItem" id="e1i-r7-ONc"/>
<navigationItem key="navigationItem" id="e1i-r7-ONc">
<barButtonItem key="rightBarButtonItem" title="Mediation Debugger" image="bug" id="Hhk-QI-0YP">
<connections>
<action selector="showMediationDebugger:" destination="Xhz-da-ENL" id="icW-2w-oZ7"/>
</connections>
</barButtonItem>
</navigationItem>
</tableViewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="0eV-wE-SZP" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
Expand Down Expand Up @@ -271,4 +277,7 @@
<point key="canvasLocation" x="1920" y="840"/>
</scene>
</scenes>
<resources>
<image name="bug" width="29" height="29"/>
</resources>
</document>

0 comments on commit c9101ef

Please sign in to comment.