Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15271] iOS7: Orientation - Ti.UI.iOS.createAdView does not create an ad successfully

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionInvalid
Resolution Date2013-09-18T16:54:34.000+0000
Affected Version/sRelease 3.1.3
Fix Version/sn/a
ComponentsiOS
Labelsios7, qe-3.1.3
ReporterAnshu Mittal
AssigneeVishal Duggal
Created2013-09-18T11:42:50.000+0000
Updated2017-03-20T20:43:28.000+0000

Description

Ti.UI.iOS.createAdView does not create an ad successfully. This is not regression since the issue occurs on 3.1.2 GA as well Steps to reproduce: 1. Create an app using the code below. 2. Launch the app. Expected: An iAd should be created and displayed on the screen. Actual: The screen remains blank.
var win1 = Titanium.UI.createWindow({  
    title:'Tab 1',
    backgroundColor:'#fff'
});
var adView = Ti.UI.iOS.createAdView({
				width : 'auto',
				height : 'auto',
				top : 0,
				zIndex : 100
			});
			win1.add(adView);
			adView.show();
win1.open();

Comments

  1. Vishal Duggal 2013-09-18

    Add an error listener and you'll see that there is an error. FYI Error Domain=ADErrorDomain Code=3 "The operation couldn’t be completed. Ad inventory unavailable" UserInfo=0xdc8c090 {ADInternalErrorCode=3, ADInternalErrorDomain=ADErrorDomain, NSLocalizedFailureReason=Ad inventory unavailable}
  2. Lee Morris 2017-03-20

    Closing ticket as invalid.

JSON Source