Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24994] iOS: Remove Ti.UI.iOS.AdView

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2017-11-10T01:04:07.000+0000
Affected Version/sn/a
Fix Version/sRelease 7.0.0
ComponentsiOS
Labelsn/a
ReporterHans Knöchel
AssigneeHans Knöchel
Created2017-07-21T03:54:25.000+0000
Updated2017-11-14T23:08:49.000+0000

Description

We deprecated the Ti.UI.iOS.AdView as part of Titanium SDK 5.5.0 to follow-up with Apple deprecating the iAd framework in iOS 10. We should remove it in Titanium 7.0.0 and leave a message in the docs and core to notify the developer.

Comments

  1. Hans Knöchel 2017-10-28

    PR: https://github.com/appcelerator/titanium_mobile/pull/9568 Test-Case:
       var win = Ti.UI.createWindow({
         backgroundColor: '#fff'
       });
       
       var btn = Ti.UI.createButton({
         title: 'Trigger'
       });
       
       btn.addEventListener('click', function(e) {
         var adView = Ti.UI.iOS.createAdView(); // Should show an error log that the api has been removed 
       });
       
       win.add(btn);
       win.open();
       
  2. Abir Mukherjee 2017-11-09

    Passed FR. PR merged.
  3. Eric Wieber 2017-11-14

    Verified in SDK build: 7.0.0.v20171114134144

JSON Source