Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16012] iOS: Module.Facebook: in login event, 'data' property is a Javascript object on iOS, a JSON string on Android

GitHub Issuen/a
TypeBug
Priorityn/a
StatusReopened
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsAnvil
Labelsfacebook
ReporterBanzai Mobile
AssigneeUnknown
Created2013-04-15T14:20:35.000+0000
Updated2018-02-28T20:03:34.000+0000

Description

The 'data' property in the event object of the 'login' event, as per documentation and previous Titanium SDK releases, "is in JSON format, and includes information such as user name, locale and gender". On Android, this holds true and 'data' is a string containing JSON. On iOS, however, the property contains the JSON.parsed object.

Comments

  1. Carter Lathrop 2013-05-07

    Hello, In order for us to properly review and verify bugs we need to have a working test cases that exemplify the bug behavior. Would you mind creating a small test case that shows the behavior you are describing. This is needed for a speedy review and verification and to ensure comprehension of the bug on both sides. Please refer to: https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report for future reference. Thank you, Carter

JSON Source