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

Android: Facebook Login Button Wide Style not working

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Environment:

      Mac OS
      Titanium 3.5.1 GA
      Android

    • Story Points:
      1

      Description

      'm trying to create a 'wide' button style Facebook login on Android and it's not working (the same code is working on iOS).

      My login.js code:

      var facebook = Alloy.Globals.Facebook;
      facebook.appid = Alloy.Globals.FacebookID;
      facebook.permissions = ["email"];
      facebook.forceDialogAuth = false;
      $.fbButton.style = facebook.BUTTON_STYLE_WIDE;

      My login.xml code:

      <LoginButton id="fbButton" ns="Alloy.Globals.Facebook"/>

      Alloy.js:
      Alloy.Globals.Facebook = require('facebook');

      This is on 3.5.1 GA and works on iOS.

        Attachments

          Activity

            People

            • Assignee:
              lchoudhary Lokesh Choudhary
              Reporter:
              tvfoodmaps Frank Apap
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration