Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19717] Android: Support usage of third-party AARs in Hyperloop

GitHub Issuen/a
TypeStory
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-10-22T17:41:09.000+0000
Affected Version/sn/a
Fix Version/sRelease 5.4.0
ComponentsAndroid, Hyperloop
Labelsqe-5.4.0
ReporterChristopher Williams
AssigneeChristopher Williams
Created2015-10-12T16:43:57.000+0000
Updated2016-07-18T22:57:10.000+0000

Description

Add some mechanism to reference, include and use third-party libraries in Hyperloop JS code.

Comments

  1. Christopher Williams 2015-10-22

    https://github.com/appcelerator/hyperloop-android-module/commit/4cb670b03bdbfb7bf89957cdd6019e82f3d1ac97
  2. Christopher Williams 2016-02-03

    For now you place the AAR in /platform/android and then can reference the API of the AAR in the same way you would the Android APIs with hyperloop. See https://github.com/appcelerator/hyperloop-examples/commit/ac0a9f69f53ba5a2b8b29eb319dda2ad1acd33c4 AARs are like JARs with extra resources (such as layouts/images/etc) for Android. You could test with Facebook's Android library AAR.
  3. Josh Longton 2016-07-18

    *Verified.* Tested on: Samsung Note 4 (6.0.1) Android Emulator (4.2.2, 6.0) 
Mac OSX El Capitan 10.11.5 Studio: 4.7.0.201607130543 
Ti SDK: 5.4.0.v20160713141635 
Appc NPM: 4.2.7 Appc CLI: 5.4.0-33 Node v4.4.4 *
Closing Ticket*

JSON Source