Titanium JIRA Archive
Alloy (ALOY)

[ALOY-236] oauth builtin throwing application error

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2014-05-13T18:52:59.000+0000
Affected Version/s2012 Sprint 19
Fix Version/sn/a
ComponentsRuntime
Labelsn/a
ReporterBenjamin Hatfield
AssigneeUnknown
Created2012-08-29T14:39:52.000+0000
Updated2018-03-07T22:28:26.000+0000

Description

Reproduction: Copy and paste sample code from Alloy/builtins/oauth.js (lines 39 - 64) into the index.js controller. Replace 'your-consumer-secret' and 'your-consumer-key' with the ones received when registering a Twitter app. Build and run for iPhone. Results: Application throws the following application error when loading: "Can't find variable: OAuthAdapter (unknown file)" Comments: I think it is missing the OAuthAdapter function from oauth_adapter.js. There is a modified copy of this function in social.js. See http://code.google.com/p/oauth-adapter/wiki/UsageManualR4

Comments

  1. Russell McMahon 2012-08-29

    Thanks. We will check it out.
  2. Tim Poulsen 2014-05-13

    The oauth code is no longer included as a built-in.
  3. Eric Merriman 2018-03-07

    Closing as invalid. If this is incorrect, please reopen.

JSON Source