Skip to content

Releases: Astrovic/ti.admob

ios-4.8.0

04 Apr 10:28
Compare
Choose a tag to compare

Added Admob.showMediationTestSuite() method to open Google Mobile Ads Mediation Test Suite
More info here: https://developers.google.com/admob/ios/mediation-test-suite?hl=en

Admob = require('ti.admob');
Admob.showMediationTestSuite();

ios-4.7.0

01 Apr 18:03
Compare
Choose a tag to compare

Update Google Mobile Ads SDK 8.13.0
Update Audience Network SDK 6.9.0
Update Facebook Adapter 6.9.0.0
Update InMobi SDK 10.0.2
Update InMobiAdapter 10.0.2.0
Initialize the Mobile Ads SDK

android-5.1.0

25 Feb 09:17
7fbc0e5
Compare
Choose a tag to compare

Update Google Mobile Ads SDK 20.5.0
Update Audience Network SDK 6.+
Update Facebook Adapter 6.8.0.0
Update InMobi SDK 10.0.1
Update InMobiAdapter 10.0.1.0

ios-4.5.6

23 Oct 14:55
Compare
Choose a tag to compare

Update AdMob SDK 8.12.0
Update iOS Audience Network SDK 6.8.0
Update iOS Facebook Adapter 6.8.0.0

ios-4.5.0

23 Oct 14:52
Compare
Choose a tag to compare

Update AdMob SDK 8.12.0

ios-4.4.0

18 Oct 09:49
Compare
Choose a tag to compare

Update AdMob SDK 8.11.0 (iOS 15 support)

ios-4.3.0

01 Oct 17:32
Compare
Choose a tag to compare

Added UMPDebugSettings on Admob.requestConsentInfoUpdateWithParameters: testDeviceIdentifiers and geography
More info here: https://developers.google.com/admob/ump/ios/quick-start#testing

Admob = require('ti.admob');
Admob.requestConsentInfoUpdateWithParameters({
	tagForUnderAgeOfConsent: false,
	testDeviceIdentifiers: [Admob.SIMULATOR_ID, "YOUR TEST DEVICE ID"],
	geography: Admob.DEBUG_GEOGRAPHY_EEA, // Admob.DEBUG_GEOGRAPHY_NOT_EEA or Admob.UMPDebugGeographyDisabled
	callback: function (e) {
		console.log("requestConsentInfoUpdateWithParameters callback");
		console.log(e);
		if (Admob.adProviders) {
			if (Admob.adProviders.length > 0) {
				if (Admob.adProviders[0].privacyPolicyURL) {
					Ti.API.info('adProviders.length:', adProviders.length);
					Ti.API.info('adProviders[0].privacyPolicyUR');
				};
			};
		};
		if (e.success) {
			// If the status is required or unknown
			if ([Admob.CONSENT_STATUS_REQUIRED, Admob.CONSENT_STATUS_UNKNOWN].includes(e.status)) {
				Admob.loadForm({
					callback: (e) => {
						console.log("Admob.loadConsentForm callback:");
						console.log(e);
						if (e.dismissError || e.loadError) {
							Ti.API.error(e.dismissError || e.loadError);
						}
						// If the status is "obtained" (freshly granted) or not required (already granted) continue
						if ([Admob.CONSENT_STATUS_NOT_REQUIRED, Admob.CONSENT_STATUS_OBTAINED].includes(e.status)) {
							// OK CAN LOAD YOUR ADS!
						} else {
							alert('Not ready to show ads! Status = ' + e.status);
						}
					}
				})
			} else {
				// OK CAN LOAD YOUR ADS!
			}
		}
	}
});

ios-4.2.0

01 Oct 14:10
Compare
Choose a tag to compare

Update AdMob SDK 8.10.0
Update iOS Audience Network SDK 6.6.0
Update iOS Facebook Adapter 6.6.0.0
Update InMobi SDK 9.2.1
Update InMobiAdapter 9.2.1.0

ios-4.1.0

30 Apr 13:58
Compare
Choose a tag to compare

Update AdMob SDK 8.4.0 (Firebase 7.11.0)
Update iOS Audience Network SDK 6.4.1
Update iOS Facebook Adapter 6.4.1.0
Update InMobi SDK 9.1.7
Update InMobiAdapter 9.1.7.0

android-5.0.6

30 Apr 14:05
Compare
Choose a tag to compare

Update Google Mobile Ads SDK 19.8.0
Update Audience Network SDK 6.+
Update Facebook Adapter 6.3.0.1
Support InMobi adapter
Update InMobi SDK 9.1.7
Update InMobiAdapter 9.1.6.0
Admob.setInMobi_updateGDPRConsent()