[ALOY-736] Alloy: Twitter builtin does not close loading popup after login
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-11-26T02:20:10.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Alloy 1.4.0, 2014 Sprint 08 |
Components | Builtins |
Labels | qe-noTestNeeded, supportTeam |
Reporter | Rupesh Sharma |
Assignee | Tim Poulsen |
Created | 2013-07-03T10:41:00.000+0000 |
Updated | 2014-11-26T02:20:10.000+0000 |
Description
Description
Alloy social builtin for twitter when used in the app it does not allow to close the loading popup after login.Test case
var social = require('alloy/social').create({
consumerSecret: '',
consumerKey: ''
});
// If not authorized, get authorization from the user
if(!social.isAuthorized()) {
social.authorize();
}
// Post a message
// Setup both callbacks for confirmation
social.share({
message: "Salut, Monde!",
success: function(e) {alert('Success!')},
error: function(e) {alert('Error!')}
});
// Deauthorize the application
social.deauthorize();
Please see the attached screenshot for the issue.
Attachments
File | Date | Size |
---|---|---|
Screen Shot 2013-06-28 at 4.40.01 PM.png | 2013-07-03T10:41:00.000+0000 | 68547 |