Titanium JIRA Archive
Appcelerator Modules (MOD)

[MOD-2287] Ti.Facebook: Add missing LoginButton properties (iOS / Android)

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2016-10-27T07:38:36.000+0000
Affected Version/sn/a
Fix Version/sRelease 6.1.0
ComponentsFacebook
Labelsfacebook, parity, tooltipbehavior, tooltipcolorstyle
ReporterHans Knöchel
AssigneeHans Knöchel
Created2016-08-27T13:05:58.000+0000
Updated2017-05-23T18:59:24.000+0000

Description

We have a number of properties and constants that are not available in Ti.Facebook, yet. We should expose them for both iOS and Android to have full parity-coverage as well.

Comments

  1. Hans Knöchel 2016-08-27

    PR: https://github.com/appcelerator-modules/ti.facebook/pull/62 Demo:
       var fb = require("facebook");
       var win = Ti.UI.createWindow({
           backgroundColor: "#fff"
       });
       win.add(fb.createLoginButton({
           readPermissions: ["email"],
           tooltipColorStyle: fb. LOGIN_BUTTON_TOOLTIP_STYLE_NEUTRAL_GRAY,
           tooltipBehavior: fb. LOGIN_BUTTON_TOOLTIP_BEHAVIOR_FORCE_DISPLAY
       }));
       win.open();
       
  2. Hans Knöchel 2016-08-28

    Please note: Currently, the fix-version is for 7.0.0, but I solved the android-part sooner then expected, so we may put it into 6.1.0 already. But do a FT first.
  3. Hans Knöchel 2016-09-02

    Changing reviewer to [~gmathews] for the Android-side.
  4. Chee Kiat Ng 2016-10-26

  5. Chee Kiat Ng 2016-10-27

    Just checked Jenkins and it's working good now.
  6. Abir Mukherjee 2017-05-23

    Node Version: 6.10.1 NPM Version: 3.10.10 Mac OS: 10.12.4 Appc CLI: 6.2.0 Appc CLI NPM: 4.2.9 Titanium SDK version: 6.1.0.v20170517143931 Appcelerator Studio, build: 4.8.1.201612050850 Xcode 8.3.2 iOS Device: 10.3 Android Device: 7.1 I tested this using the above environment, and tested on both iOS and Android devices. After the app launched, I clicked on the button to login into Facebook, and I was directed to the Facebook login page.

JSON Source