Skip to content
This repository has been archived by the owner on Jun 23, 2024. It is now read-only.

Commit

Permalink
1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
notmedia committed Mar 10, 2017
1 parent 90a6968 commit 371568e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ IMPORTANT: The VungleSDK.embeddedframework folder should be added as a group (ye
# Methods

#### Vungle.setup(success_callback, error_callback, debugMode, appID)
Initial method wich connect to Vungle.
(boolean) debugMode - if set to true you could see debug output from Vungle SDK.
(string) appID - the appID of your app in Vungle Dashboard.
Initial method wich connect to Vungle.
(boolean) debugMode - if set to true you could see debug output from Vungle SDK.
(string) appID - the appID of your app in Vungle Dashboard.

#### Vungle.requestAd(success_callback, error_callback)
When success callback was emitted you can show an ad.

#### Vungle.showAdWithOptions(success_callback, error_callback, options)
Calling this method will show an ad.
Success callback returns info about the view.
Calling this method will show an ad.
Success callback returns info about the view.
Options is an object of Vungle options, defined [here](https://support.vungle.com/hc/en-us/articles/204463080-Advanced-Settings-for-Vungle-iOS-SDK) in "Customized Ad Experience" section.

# Example
Expand Down Expand Up @@ -57,4 +57,6 @@ Vungle.setup(() => {
console.log('Vungle setup failed.');
}, true, appID);
```
```

[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QVU9KQVD2VZML)
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns=""
id="cordova-plugin-vungle" version="0.1.1">
id="cordova-plugin-vungle" version="1.0.2">
<name>Vungle Plugin</name>
<description>Cordova Vungle Plugin</description>
<license>Apache-2.0</license>
Expand Down

0 comments on commit 371568e

Please sign in to comment.