Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

admob sdk update + replace GADInterstitial init it's deprecated #529

Open
wants to merge 526 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
526 commits
Select commit Hold shift + click to select a range
e86c857
A better way for setting application badge value in iOS 8
finscn Sep 6, 2015
6bb1adb
A better way for setting application badge value in iOS 8
finscn Sep 6, 2015
5518b98
check shared-callback
finscn Sep 6, 2015
aabf313
add save image/canvas function
finscn Sep 6, 2015
ce03b34
update README
finscn Sep 6, 2015
62ffd40
change saveImage to an asynchronous method
finscn Sep 7, 2015
27911ab
use EJECTA_SYSTEM_VERSION_LESS_THAN
finscn Sep 7, 2015
a5c93ef
call callback with stateCode=1 , when sns is not found
finscn Sep 7, 2015
6637e19
call callback with stateCode=-1 , when sns is NOT found.
finscn Sep 7, 2015
58fe304
use dispatch_get_main_queue for asynchronous saving file
finscn Sep 7, 2015
c3fd62e
add dispatch_retain for asynchronous saving file
finscn Sep 7, 2015
e2a4a50
add dispatch_retain for asynchronous saving file
finscn Sep 7, 2015
ca74d45
retain image for asynchronous saving file
finscn Sep 7, 2015
b9c6509
fix share-function's bug in iOS 7
finscn Sep 7, 2015
ab9c1f9
set default SDK to 8.4
finscn Sep 7, 2015
ac8eed3
Cosmetics
finscn Sep 7, 2015
17ef994
auto inject WebviewBridge.js into Web Page
finscn Sep 7, 2015
e204942
change default value of retinaResolutionEnabled
finscn Sep 8, 2015
de97cc7
support JPG when saveImage()
finscn Sep 8, 2015
ce0e1e7
change default compressionQuality of saveImage JPG
finscn Sep 8, 2015
822118f
update Encryptor function and Examples
finscn Sep 9, 2015
1a692ba
update Examples
finscn Sep 9, 2015
96e14cb
update Encryption Tool & examples
finscn Sep 10, 2015
ff21045
update Encryption Tool & examples
finscn Sep 10, 2015
ddde1c3
update Encryption Tool & examples
finscn Sep 10, 2015
fbfe94a
1)social.openShare supports image & 2)change order of showPostDialog …
finscn Sep 11, 2015
86f37c9
support Xcode 7 & update 3rd libs: Chartboost GoogleMobileAds SocketR…
finscn Sep 17, 2015
c1bb863
update .plist for iOS 9 fallback
finscn Sep 17, 2015
3cec8a6
update .plist for iOS 9 fallback
finscn Sep 17, 2015
1adfcbc
Compatibility of iOS 7,8
finscn Sep 17, 2015
ff8a08e
format Info.plist file
finscn Sep 17, 2015
70a42e0
set default SDK be iOS 9.0
finscn Sep 17, 2015
077a7e7
Cosmetics
finscn Sep 18, 2015
0521c43
move fileExists to AppUtils
finscn Sep 20, 2015
717314d
add WebSocket Example
finscn Sep 20, 2015
010ec62
upate README
finscn Sep 20, 2015
14b607b
remove some warnings in Analyze
finscn Sep 21, 2015
35c0bac
update Info.plist for more general
finscn Sep 21, 2015
693c2a8
load index.js in next system time tick
finscn Sep 21, 2015
ed02000
update admob for fixing some bugs
finscn Sep 21, 2015
ef9d346
fix flash-blackscreen when booting
finscn Sep 22, 2015
52dab6b
change LaunchScreen.xib background for testing flash-black
finscn Sep 22, 2015
9a6b123
change LaunchScreen.xib background for testing flash-black
finscn Sep 22, 2015
dfdfc00
change LaunchScreen.xib background for testing flash-black
finscn Sep 22, 2015
29015da
fix flash-blackscreen when booting
finscn Sep 22, 2015
2739422
fix flash-blackscreen when booting
finscn Sep 22, 2015
7297716
update admob
finscn Sep 25, 2015
a0b96f9
update example
finscn Sep 25, 2015
b0caca2
update example
finscn Sep 25, 2015
c6aaec7
update example
finscn Sep 25, 2015
93010c8
update to 0oo 1.0
finscn Oct 18, 2015
ec77b20
update example
finscn Oct 18, 2015
178019a
add texture to EJCanvasContextWebGLScreen
finscn Oct 18, 2015
c042d89
add console.logJSON
finscn Oct 18, 2015
d3ee5c3
update screen-canvas about texture
finscn Oct 18, 2015
7e3baf4
add image method to EJDrawable & CanvasContext
finscn Oct 18, 2015
692d530
fix some bugs in image method
finscn Oct 18, 2015
5df2c8a
fix some bugs in image method
finscn Oct 18, 2015
b2199eb
fix some bugs in image method
finscn Oct 18, 2015
688cd3d
fix some bugs in image method
finscn Oct 18, 2015
9bc3d93
update
finscn Oct 19, 2015
115346e
update
finscn Oct 19, 2015
a029b83
update
finscn Oct 19, 2015
9138cc2
update
finscn Oct 19, 2015
3a11733
update
finscn Oct 19, 2015
ea66e56
update
finscn Oct 20, 2015
f2f883d
Run HTTPRequest events on main thread
finscn Oct 21, 2015
8f50530
update example for snapshot
finscn Oct 21, 2015
55ecfe1
update Audio with darionco
finscn Oct 21, 2015
581f920
add ignoreClearing
finscn Oct 23, 2015
64b77bc
update examples
finscn Oct 23, 2015
4731c57
Remove MainWindow.xib, create window in code
finscn Oct 26, 2015
c143d8e
add Vungle SDK
finscn Oct 30, 2015
90d9004
update examples
finscn Oct 30, 2015
c4aea8a
Vungle SDK
finscn Oct 30, 2015
cde5dc2
update Chartboost example
finscn Oct 30, 2015
169e61b
update Chartboost example
finscn Oct 30, 2015
fe4a61b
update Chartboost example
finscn Oct 30, 2015
c2403d7
update Vungle
finscn Oct 30, 2015
415a2c7
update Vungle
finscn Oct 30, 2015
7d9b9b6
update examples
finscn Nov 2, 2015
646130b
update Chartboost SDK
finscn Nov 2, 2015
7a3d6b5
Fix #564 - used wrong font for drawing individual runs
finscn Nov 3, 2015
72083c9
remove Icon Config in info.plist
finscn Nov 4, 2015
3ad3afb
update examples
finscn Nov 9, 2015
3373b2f
update Vungle Function
finscn Nov 9, 2015
dd65139
update Vungle Function
finscn Nov 9, 2015
6939775
update examples
finscn Nov 9, 2015
774f047
XHR defaults to UTF8 encoding; allows ascii through overrideMimeType
finscn Nov 9, 2015
f07fd08
Added Require Fullscreen flag
finscn Nov 9, 2015
2c44f78
update to Nov 9, 2015
finscn Nov 9, 2015
783f1e6
update examples
finscn Nov 9, 2015
3c3660e
Fix: update contentScale for glView when size changes
finscn Nov 9, 2015
e30dc59
remove duplicate options
finscn Nov 9, 2015
ef230c9
update Vungle Function
finscn Nov 10, 2015
5cf219e
Added Game Controller support
finscn Nov 12, 2015
9b684ee
add reload method
finscn Nov 12, 2015
5893719
Cosmetic
finscn Nov 12, 2015
f72ea85
:Backward compatibility
finscn Nov 12, 2015
aaa0a4a
update
finscn Nov 12, 2015
373fd80
Fix: performance.now() and gamepad.timestamp now use the same referen…
finscn Nov 13, 2015
928d441
Fix bug where exitOnMenuPress had no effect;
finscn Nov 15, 2015
8e54c3d
update
finscn Nov 18, 2015
6a5fed4
merge upstream
finscn Nov 20, 2015
a3363a0
update examples
finscn Nov 20, 2015
c7e5252
update JSC
finscn Nov 20, 2015
04c0829
update README
finscn Nov 20, 2015
dcd2310
update examples
finscn Nov 20, 2015
6edf529
update Vungle Function,fix bug and update Example
finscn Nov 23, 2015
e768045
update with upstream
finscn Nov 25, 2015
260a671
update Chartboost SDK
finscn Nov 25, 2015
b47ab14
Allow orientation change
finscn Nov 29, 2015
e277c2f
update info.plist
finscn Nov 29, 2015
2512371
fix a bug about XmlHTTPRequest GET method
finscn Nov 30, 2015
cd4303b
Ignore body data if null or method is GET or HEAD
finscn Nov 30, 2015
3ab7ff4
add window.open
finscn Dec 1, 2015
d6fd7dd
update examples
finscn Dec 1, 2015
8bc13a1
update Chartboost
finscn Dec 2, 2015
bd40dcb
Not be compatible with iOS 7.x
finscn Dec 3, 2015
be04de2
update
finscn Dec 3, 2015
c125e36
add Resolution Utils
finscn Dec 10, 2015
4cb5026
update setting for iOS 9.2
finscn Dec 11, 2015
14df7cc
add Icon 83.5@2x for iOS 9.2
finscn Dec 11, 2015
49feaaa
Fix #579
finscn Dec 11, 2015
2f77e81
Fix #579
finscn Dec 11, 2015
6bbaddb
Adjust buffer size for rounding errors; print warning. About #579
finscn Dec 11, 2015
8762d7c
update contentScale , make sure Actual-size always >= Request-size
finscn Dec 11, 2015
51b9000
Make sure render buffer size >= requested size;
finscn Dec 12, 2015
dda5213
update example
finscn Dec 12, 2015
efeba92
Make sure render buffer size >= requested size;
finscn Dec 12, 2015
84e1b1d
update a method for Getting UDID
finscn Dec 12, 2015
f215c58
update
finscn Dec 12, 2015
6620299
Discard iOS 7
finscn Dec 12, 2015
377b738
update
finscn Dec 24, 2015
354bbd4
support tvOS
finscn Dec 24, 2015
8febdf8
support tvOS
finscn Dec 24, 2015
57e6d2a
update to Upstream 2015-12-24
finscn Dec 25, 2015
fecffb0
update vungle
finscn Dec 28, 2015
19d5c33
update ignore
finscn Dec 28, 2015
a0f0e62
update example
finscn Dec 28, 2015
8050b4b
add Appodeal -- prototype
finscn Dec 28, 2015
cc4d26a
update
finscn Dec 28, 2015
520cf46
update
finscn Dec 29, 2015
597e1e7
support RemoteController Motion of AppleTV
finscn Dec 29, 2015
e2e0693
update examples
finscn Dec 29, 2015
cbd667b
update
finscn Dec 29, 2015
9373d12
update
finscn Dec 29, 2015
367eeb1
update examples
finscn Dec 29, 2015
896c537
update
finscn Dec 29, 2015
bfbc5a4
update GamepadMotion
finscn Dec 30, 2015
c0e7855
update examples
finscn Dec 30, 2015
578905d
add allowsRotation to gamepad
finscn Dec 30, 2015
40df6c2
update example
finscn Dec 30, 2015
8a0d9e7
update gamepad motion
finscn Dec 30, 2015
daa7ea4
update gamepad motion
finscn Dec 30, 2015
6613147
add conditional compilation flag TARGET_OS_TV
finscn Dec 30, 2015
cc62f06
add conditional compilation flag TARGET_OS_TV
finscn Dec 30, 2015
6984ab2
update
finscn Dec 30, 2015
c6f1948
update EJBindingGamepadMotion
finscn Dec 30, 2015
8121d0f
add motion to gamepad
finscn Dec 30, 2015
3d74e75
add function for get build & version
finscn Dec 31, 2015
b0325a7
update tools
finscn Dec 31, 2015
307ed62
update examples
finscn Dec 31, 2015
898f741
update Gamepad Motion
finscn Dec 31, 2015
f896e3f
update examples
finscn Dec 31, 2015
a5fc5eb
add some functions for Font
finscn Jan 3, 2016
7bfc59c
update motion function
finscn Jan 3, 2016
58fc703
update Ad
finscn Jan 7, 2016
72658b8
update
finscn Jan 7, 2016
1e17b9e
update Ad
finscn Jan 8, 2016
ee278fd
update
finscn Jan 8, 2016
56b7704
update Ad
finscn Jan 8, 2016
c337697
update Ad
finscn Jan 8, 2016
23898a1
update Ad
finscn Jan 8, 2016
b24c4c6
add UnityAds & AdColony
finscn Jan 8, 2016
e31e8c9
add UnityAds & AdColony
finscn Jan 8, 2016
12b45f0
update examples
finscn Jan 8, 2016
d649af2
Ejecta.xcodeproj/
finscn Jan 8, 2016
a8cda44
update examples
finscn Jan 8, 2016
2ad007b
update Ad
finscn Jan 9, 2016
3eba684
update Ad
finscn Jan 9, 2016
959d6ab
add reportsAbsoluteDpadValues to TV Remote
finscn Jan 15, 2016
9b626ef
update examples
finscn Jan 16, 2016
d0a21c0
update examples
finscn Jan 16, 2016
a58a32a
update examples
finscn Jan 16, 2016
37cc15a
update
finscn Jan 19, 2016
b8f2cf0
update README
finscn Jan 19, 2016
ea0009e
Update README
finscn Jan 19, 2016
fb42339
Synchronous XHR
finscn Jan 27, 2016
a4f4f9a
update example about Synchronous XHR
finscn Jan 27, 2016
61d712a
fix mem-leak
finscn Jan 27, 2016
12f8422
remove UIRequiredDeviceCapabilities
finscn Jan 27, 2016
8f73b88
add UIRequiredDeviceCapabilities gamekit
finscn Jan 27, 2016
fb3dcbe
Reintroduce synchronous XMLHttpRequest;
finscn Feb 5, 2016
82014b4
update
finscn Feb 5, 2016
4976932
Correct spelling of document.readyState; fix #613
finscn Feb 15, 2016
2b01cc7
merge cc419d9
finscn Feb 17, 2016
3303e9e
remove Events from Canvas in native
finscn Feb 20, 2016
d6a1d43
Fix #616, reset ended flag when setting currentTime
finscn Feb 24, 2016
8bd18db
support globalCompositeOperation='darken'
finscn Feb 26, 2016
a17383e
update to 67524aa
finscn Feb 29, 2016
2e5eacc
update Info-TV.plist for Gamepad
finscn Mar 13, 2016
d53a54c
update Resolution Info
finscn Apr 11, 2016
d4a192c
update
finscn Apr 13, 2016
bda354c
WebGL: return -1 for invalid uniform locations and other WebGL objects
finscn Apr 29, 2016
5142b2a
update to 92cbad3
finscn May 7, 2016
149b23b
update eventInit.deviceorientation
finscn May 7, 2016
a614da9
update to 271aea1
finscn Jun 18, 2016
4fbb91e
update to upstream
finscn Jun 23, 2016
3b62361
add TCP_NODELAY to SocketRocket
finscn Aug 10, 2016
03068c2
update UnityAds extension
finscn Aug 12, 2016
24af18d
update Admob SDK
finscn Aug 12, 2016
d42fb5b
update example
finscn Aug 12, 2016
5ebe361
update ADs SDK
finscn Aug 12, 2016
0a944ae
update
finscn Sep 14, 2016
2b6e077
update
finscn Sep 14, 2016
2df1a31
update
finscn Sep 14, 2016
472ec37
update
finscn Sep 14, 2016
f5fc6cd
update
finscn Sep 14, 2016
587d844
update
finscn Sep 15, 2016
2ca0e16
update
finscn Sep 15, 2016
517ebc3
update
finscn Sep 15, 2016
e00f036
update
finscn Sep 15, 2016
267281a
update
finscn Sep 15, 2016
c8fdd86
update
finscn Sep 15, 2016
e4afec6
update
finscn Sep 17, 2016
a920f22
update
finscn Sep 17, 2016
8541fa7
update
finscn Sep 19, 2016
ef38ef2
update tools
finscn Sep 19, 2016
5ba0b8b
update
finscn Sep 19, 2016
999e579
update
finscn Sep 19, 2016
ad2051f
update
finscn Sep 19, 2016
78f31e8
update Vungle Ext
finscn Sep 20, 2016
bd5cea7
update Ads
finscn Sep 20, 2016
fd53c68
update admobSDK
finscn Sep 20, 2016
5f49f4b
update VungleSDK
finscn Sep 21, 2016
0723497
update ChartboostSDK
finscn Sep 21, 2016
d81baad
update to 2.1
finscn Sep 21, 2016
a48ed1b
update GameCenter for iOS 9
finscn Sep 21, 2016
fde5997
update GameCenter
finscn Sep 22, 2016
203dda6
update GameCenter
finscn Sep 22, 2016
f498872
update GameCenter
finscn Sep 22, 2016
5f80a03
add __proto__ to HTMLElementBinding , for instanceof checking
finscn Oct 13, 2016
38f35c0
update test
finscn Oct 13, 2016
a0f7ea9
refactor for instanceof
finscn Oct 14, 2016
5383442
update test for instanceof
finscn Oct 14, 2016
ff3dfcc
Fix #650, glIsEnabled not returning value
finscn Oct 17, 2016
e6cfdbc
update
finscn Nov 3, 2016
056e006
update to 399a10f
finscn Jul 19, 2017
6cd60b4
update bunnymark example
finscn Jul 19, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,10 @@ DerivedData
# Ignoring App folder for
# ease of implementation
App
/App-dev/
/App-src/
/App-web/
/App-tools/
/AppTools/
/_*/
Appodeal/
1 change: 1 addition & 0 deletions App-Example/RENAME this folder TO App
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.
46 changes: 46 additions & 0 deletions App-Example/example/ad/e-adcolony.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
"use strict";

(function() {

var width = window.innerWidth;
var height = window.innerHeight;

var zones = [
"vz31b549794672442889", // Test
"vze12a0248564b49fc93", // video
"vzc1be88f0d438475c84", // rewardedVideo
];
var debug = true;
var adColony = new Ejecta.AdColony("appc3f406f4c59344238f", zones, debug);


var id = setInterval(function() {
console.log("adColony.isReady", adColony.isReady("video", {
zone: "vzc1be88f0d438475c84"
}));
if (adColony.isReady("video", {
zone: "vzc1be88f0d438475c84"
})) {
showAd();
clearInterval(id);
}
}, 2000);

// showAd();
function showAd() {
adColony.show("video", {
zone: "vzc1be88f0d438475c84",

onDisplay: function() {
console.log("video onDisplay");
},
onClose: function(info) {
console.log("video onClose", JSON.stringify(info));
},
onFinish: function(info) {
console.log("video onFinish", JSON.stringify(info));
},
});
}

}());
66 changes: 66 additions & 0 deletions App-Example/example/ad/e-admob.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
"use strict";

(function() {


var width = window.innerWidth;
var height = window.innerHeight;

// var adMob = new Ejecta.AdMob("a15318cc08698ce");

// banner
var adMobBanner = new Ejecta.AdMob("ca-app-pub-9274896770936398/4438046668");
adMobBanner.load("banner");

// image
// var adMob = new Ejecta.AdMob("ca-app-pub-9274896770936398/4856849060");
// video
// var adMob = new Ejecta.AdMob("ca-app-pub-9274896770936398/3380115869");
// image & video
var adMob = new Ejecta.AdMob("ca-app-pub-9274896770936398/1763781865");
adMob.load("interstitial");

var id = setInterval(function() {
if (showAd()) {
// clearInterval(id);
}
}, 3000);

// showAd();
var bannerDisplayed;
var interstitialDisplayed;

function showAd() {
if (!bannerDisplayed && adMobBanner.isReady("banner")) {
adMobBanner.show("banner", {
onDisplay: function() {
bannerDisplayed = true;
console.log("banner onDisplay");

},
onClose: function() {
bannerDisplayed = false;
adMobBanner.load("banner");
console.log("banner onClose");
}
});
}
if (!interstitialDisplayed && adMob.isReady("interstitial")) {
adMob.show("interstitial", {
onDisplay: function() {
interstitialDisplayed = true;
console.log("interstitial onDisplay");
},
onClose: function() {
interstitialDisplayed = false;
adMob.load("interstitial");
console.log("interstitial onClose");
}
});
}
}


console.log("AdMob Test.");

}());
32 changes: 32 additions & 0 deletions App-Example/example/ad/e-appodeal.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
"use strict";

(function() {

var width = window.innerWidth;
var height = window.innerHeight;

var appodeal = new Ejecta.Appodeal("101b42e17b72058ee41c21ac172e734d814dd0f947a22cf4");
appodeal.setDebugEnabled(true);

function startCheck() {
var id = setInterval(function() {
if (appodeal.isReady("videoOrInterstitial")) {
clearInterval(id);
showAd();
}
}, 1500);
}

function showAd() {

appodeal.show("videoOrInterstitial", {
afterClose: function() {
startCheck();
}
});
}


startCheck();

}());
36 changes: 36 additions & 0 deletions App-Example/example/ad/e-chartboost.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
"use strict";

(function() {


var width = window.innerWidth;
var height = window.innerHeight;

var chartboost = new Ejecta.Chartboost("56050a2d04b0165979d18668", "c9da6b2e27e6d6fcc8716ecdf271b616af652726");

chartboost.load("interstitial");
chartboost.load("rewardedVideo");
chartboost.load("moreApps");

var id = setInterval(function() {
if (showAd()) {
clearInterval(id);
}
}, 2000);

// showAd();
function showAd() {
if (chartboost.isReady("interstitial")) {
chartboost.show("interstitial");
return true;
}
if (chartboost.isReady("rewardedVideo")) {
chartboost.show("rewardedVideo");
return true;
}
if (chartboost.isReady("moreApps")) {
chartboost.show("moreApps");
return true;
}
}
}());
35 changes: 35 additions & 0 deletions App-Example/example/ad/e-unityads.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
"use strict";

(function() {

var width = window.innerWidth;
var height = window.innerHeight;

// var unityAds = new Ejecta.Vungle("phoena");
var unityAds = new Ejecta.UnityAds("1012821");
// unityAds.debug = true;

var id = setInterval(function() {
console.log("unityAds.isReady", unityAds.isReady("video"));
if (unityAds.isReady("video")) {
showAd();
clearInterval(id);
}
}, 2000);

// showAd();
function showAd() {
unityAds.show("video", {
onDisplay: function() {
console.log("rewardedVideo onDisplay");
},
onClose: function(info) {
console.log("rewardedVideo onClose", JSON.stringify(info));
},
onFinish: function(info) {
console.log("rewardedVideo onFinish", JSON.stringify(info));
},
});
}

}());
73 changes: 73 additions & 0 deletions App-Example/example/ad/e-vungle.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
"use strict";

(function() {

var width = window.innerWidth;
var height = window.innerHeight;

// var adVungle = new Ejecta.Vungle("phoena");
var adVungle = new Ejecta.Vungle("5632ff9e2969297047000010");
adVungle.debug = true;

var id = setInterval(function() {
console.log("adVungle.isReady", adVungle.isReady("video"));
if (adVungle.isReady("video")) {
showAd();
clearInterval(id);
}
}, 2000);

// showAd();
function showAd() {
/* Options :
incentivized boolean
incentivizedAlertTitleText string
incentivizedAlertBodyText string
incentivizedAlertCloseButtonText string
incentivizedAlertContinueButtonText string
orientations string // portrait / landscape / auto
placement string
user string
beforeShow function
afterClose function
* extraInfoDictionary (don't support)
*/

// adVungle.show("video", {
// orientations: "landscape",
// placement: "Placement-A",
// // user: "test-user-1",
// onDisplay: function() {
// console.log("video onDisplay");
// },
// onClose: function(info) {
// console.log("video onClose", JSON.stringify(info));
// },
// onFinish: function(info) {
// console.log("video onFinish", JSON.stringify(info));
// },
// });

adVungle.show("video", {
incentivized: true,
incentivizedAlertTitleText: "title",
incentivizedAlertBodyText: "body",
incentivizedAlertCloseButtonText: "close-button",
incentivizedAlertContinueButtonText: "continue-button",

orientations: "landscape",
placement: "Placement-A",
// user: "test-user-1",
onDisplay: function() {
console.log("rewardedVideo onDisplay");
},
onClose: function(info) {
console.log("rewardedVideo onClose", JSON.stringify(info));
},
onFinish: function(info) {
console.log("rewardedVideo onFinish", JSON.stringify(info));
},
});
}

}());
Binary file added App-Example/example/bunnymark/bunnies-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added App-Example/example/bunnymark/bunnies-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added App-Example/example/bunnymark/bunnies-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading