Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-12803

3rd party cookies enable issue in WebView

    Details

    • Type: Bug
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: Release 3.0.0
    • Fix Version/s: None
    • Component/s: iOS
    • Environment:

      iOS, Titanium Mobile SDK.

      Description

      We have noticed that third party cookies are not allowed in WebViews for iOS 5.1+.

      To reproduce this issue create a new WebView and set the URL to http://m.na.se/Default.aspx?pageid=1179 this should show an ad, but just shows a blank window. Testing the same URL in the browser (both Safari on PC and iOS works, given that cookies are allowed).

      Attached is the wanted result as a screenshot from the browser.

      According to http://stackoverflow.com/questions/14448373/3rd-party-cookies-in-an-ios6-uiwebview this behaviour has changed as of iOS 6 but we can reproduce it in iOS 5 too.

      var win1 = Ti.UI.createWindow({
      	backgroundColor : "white"
      });
       
      var webVi = Ti.UI.createWebView({
      	top:100,
      	height:Ti.UI.SIZE,
      	width:Ti.UI.SIZE,
      	left:10,
      	url:"http://m.na.se/Default.aspx?pageid=1179"
      });
       
      win1.add(webVi);
      win1.open();
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              anigam Ashish Nigam
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-15701
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code