Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24844] Hyperloop: Android - Cannot use Google Play Services 11.x

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionWon't Fix
Resolution Date2019-07-10T19:27:00.000+0000
Affected Version/sHyperloop 2.1.1
Fix Version/sn/a
ComponentsAndroid, Hyperloop
Labelsandroid, google-play-services, hyperloop, recaptcha
ReporterHans Knöchel
AssigneeJan Vennemann
Created2017-06-17T18:10:29.000+0000
Updated2019-07-10T19:27:00.000+0000

Description

I am trying to use Hyperloop to implement the brand new reCAPTCHA Android library for Titanium. It used the Play-Services 11.0.1 which were just released, the whole project including the module and required AAR files can be found [here](https://github.com/hansemannn/titanium-recaptcha). When building the project, the metabase generation fails with this error:
[TRACE] [Hyperloop] JS Wrapper for class com.google.android.gms.common.ConnectionResult created...
[TRACE] [Hyperloop] JS Wrapper for class com.google.android.gms.common.GoogleApiAvailability created...
[TRACE] [Hyperloop] JS Wrapper for class com.google.android.gms.common.api.Api created...
[TRACE] [Hyperloop] JS Wrapper for class com.google.android.gms.common.api.Api$ApiOptions created...
[TRACE] [Hyperloop] JS Wrapper for class com.google.android.gms.common.api.Api$ApiOptions$HasOptions created...
[TRACE] [Hyperloop] JS Wrapper for class com.google.android.gms.common.api.Api$ApiOptions$NoOptions created...
[TRACE] [Hyperloop] JS Wrapper for class com.google.android.gms.common.api.Api$ApiOptions$NotRequiredOptions created...
[TRACE] [Hyperloop] JS Wrapper for class com.google.android.gms.common.api.Api$ApiOptions$Optional created...

/Users/hknoechel/Library/Application Support/Titanium/plugins/hyperloop/2.1.1/node_modules/async/lib/async.js:319
                    iterator(obj[key], key, only_once(function (err) {
                    ^
TypeError: packageArray.push is not a function
    at /Users/hknoechel/Library/Application Support/Titanium/plugins/hyperloop/2.1.1/hooks/android/metabase/generate.js:198:16
    at /Users/hknoechel/Library/Application Support/Titanium/plugins/hyperloop/2.1.1/node_modules/async/lib/async.js:181:20
    at replenish (/Users/hknoechel/Library/Application Support/Titanium/plugins/hyperloop/2.1.1/node_modules/async/lib/async.js:319:21)
    at /Users/hknoechel/Library/Application Support/Titanium/plugins/hyperloop/2.1.1/node_modules/async/lib/async.js:326:29
    at /Users/hknoechel/Library/Application Support/Titanium/plugins/hyperloop/2.1.1/node_modules/async/lib/async.js:44:16
    at /Users/hknoechel/Library/Application Support/Titanium/plugins/hyperloop/2.1.1/hooks/android/metabase/generate.js:215:5
    at /Users/hknoechel/Library/Application Support/Titanium/plugins/hyperloop/2.1.1/node_modules/fs-extra/node_modules/graceful-fs/graceful-fs.js:99:16
    at /Users/hknoechel/Library/Application Support/Titanium/plugins/hyperloop/2.1.1/node_modules/fs-extra/node_modules/graceful-fs/graceful-fs.js:43:10
    at /Users/hknoechel/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/node_modules/graceful-fs/graceful-fs.js:43:10
    at FSReqWrap.oncomplete (fs.js:123:15)

Comments

No comments

JSON Source