[TIMOB-19611] Android: Facebook Login Button Wide Style not working
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Critical |
| Status | Closed |
| Resolution | Won't Fix |
| Resolution Date | 2020-01-06T22:49:09.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | n/a |
| Labels | engTriage, facebook |
| Reporter | Frank Apap |
| Assignee | Lokesh Choudhary |
| Created | 2015-03-19T15:51:44.000+0000 |
| Updated | 2020-01-06T22:49:09.000+0000 |
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:
Alloy.js:
Alloy.Globals.Facebook = require('facebook');
This is on 3.5.1 GA and works on iOS.
Closing per dev comments.