chadori-mobile-ironsource
Advanced tools
Comparing version 0.9.0 to 1.0.0
@@ -0,0 +0,0 @@ const child_process = require("child_process"); |
@@ -1,5 +0,4 @@ | ||
{ | ||
"name": "chadori-mobile-ironsource", | ||
"version": "0.9.0", | ||
"version": "1.0.0", | ||
"description": "A Cordova plugin for the Construct Master Collection to implement IronSource Ads.", | ||
@@ -6,0 +5,0 @@ "cordova": { |
@@ -1,5 +0,4 @@ | ||
{ | ||
"name": "chadori-mobile-ironsource", | ||
"version": "0.9.0", | ||
"version": "1.0.0", | ||
"description": "A Cordova plugin for the Construct Master Collection to implement IronSource Ads.", | ||
@@ -6,0 +5,0 @@ "cordova": { |
# chadori-mobile-ironsource | ||
A Cordova plugin for the Construct Master Collection to implement IronSource Ads. | ||
## Change Log | ||
### 1.0.0 (April 04, 2022) | ||
- **Stable version** | ||
- Refactor | ||
- Code quality and stability | ||
- Null placement crash protection | ||
- Better and cleaner logging | ||
- No longer using `printStackTrace()` or anything alike. Now uses built-in, safer and lighter logging utilities. | ||
- New user id type IronSource, using IronSource's built-in user id generator. | ||
- New user id type selections: `[Advertising, IronSource, Specify]` | ||
- New method `setDeviceIdOptOut()` | ||
- New initialization completion event listener. | ||
- IronSource Android SDK version `7.2.1.1`. | ||
- IronSource iOS SDK version `7.2.1.1`. | ||
- Dependency versions are now overridable. | ||
- Google Advertising Identifier permission now included for compliance purposes. | ||
- Change log now added. | ||
### 0.9.0 (Oct 10, 2021) | ||
- Archived | ||
### 0.8.0 (July 07, 2021) | ||
- Archived | ||
### 0.7.0 (April 25, 2021) | ||
- Archived | ||
### 0.6.1 (April 25, 2021) | ||
- Archived | ||
### 0.6.0 (April 24, 2021) | ||
- Archived | ||
### 0.5.2 (April 22, 2021) | ||
- Archived | ||
### 0.5.1 (April 20, 2021) | ||
- Archived | ||
### 0.5.0 (April 05, 2021) | ||
- Archived | ||
### 0.4.0 (April 05, 2021) | ||
- Archived | ||
### 0.3.0 (April 04, 2021) | ||
- Archived | ||
### 0.2.0 (March 13, 2021) | ||
- Archived | ||
### 0.1.0 (March 12, 2021) | ||
- Archived | ||
### 0.0.7 (December 17, 2020) | ||
- Archived | ||
### 0.0.6 (November 09, 2020) | ||
- Archived | ||
### 0.0.5 (November 03, 2020) | ||
- Archived | ||
### 0.0.4 (September 22, 2020) | ||
- Archived | ||
### 0.0.3 (May 17, 2020) | ||
- Archived | ||
### 0.0.2 (April 11, 2020) | ||
- Archived | ||
### 0.0.1 (March 25, 2020) | ||
- Archived |
@@ -5,2 +5,4 @@ const exec = require('cordova/exec'); | ||
// General | ||
exports.validateIntegration = function(successCallback, errorCallback) { | ||
@@ -28,7 +30,10 @@ | ||
exports.initialize = function(appKey, userID, successCallback, errorCallback) { | ||
exports.initialize = function(appKey, userIdType = 0, userId = "", successCallback, errorCallback) { | ||
// Set UserID to null, if undefined. [Not Recommended] | ||
// @userIdType = [Advertising, IronSource, Specify] | ||
// @userId can be (null), which translates to blank string. Consequently, using the IronSource's built-in user id generator. | ||
cordova.exec(successCallback, errorCallback, IronSource_Class, "initialize", [appKey, userID]); | ||
if (userId == null) { userId = ""; } | ||
cordova.exec(successCallback, errorCallback, IronSource_Class, "initialize", [appKey, userIdType, userId]); | ||
} | ||
@@ -53,2 +58,7 @@ | ||
exports.setDeviceIdOptOut = function(isOptOut, successCallback, errorCallback) { | ||
cordova.exec(successCallback, errorCallback, IronSource_Class,"setDeviceIdOptOut", [isOptOut]); | ||
} | ||
exports.setMetaData = function(key, data, successCallback, errorCallback) { | ||
@@ -142,3 +152,3 @@ | ||
// ------ Interstitial Advertisements | ||
// Interstitial Advertisements | ||
@@ -166,5 +176,5 @@ exports.createInterstitial = function(successCallback, errorCallback) { | ||
// ------ Banner Advertisements | ||
// Banner Advertisements | ||
exports.createBanner = function(placementName, bannerTop, bannerSize, customWidth, customHeight, bannerAutoShow, successCallback, errorCallback) { | ||
exports.createBanner = function(placementName, bannerTop, bannerSize, customWidth, customHeight, bannerAutoShow, isAdaptiveBanner, successCallback, errorCallback) { | ||
@@ -174,3 +184,3 @@ // The 'placementName' can be null. | ||
cordova.exec(successCallback, errorCallback, IronSource_Class, "createBanner", [placementName, bannerTop, bannerSize, customWidth, | ||
customHeight, bannerAutoShow]); | ||
customHeight, bannerAutoShow, isAdaptiveBanner]); | ||
} | ||
@@ -198,3 +208,3 @@ | ||
// ------ Offerwall Advertisements | ||
// Offerwall Advertisements | ||
@@ -217,3 +227,3 @@ exports.showOfferwall = function(placementName, successCallback, errorCallback) { | ||
// ------ Tools | ||
// Tools | ||
@@ -230,4 +240,2 @@ exports.getMode = function(successCallback, errorCallback) { | ||
cordova.exec(successCallback, errorCallback, IronSource_Class, "setBannerOverlap", [overlap]); | ||
} | ||
//////////////////////////////////////////////////////////// | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
104703
235
0
78