{ "id": "165804", "key": "TIMOB-24376", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2017-03-03T14:48:32.000+0000", "created": "2017-02-07T00:10:23.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "hyperloop-documentation" ], "versions": [ { "id": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" }, { "id": "18154", "name": "Release 6.0.1", "archived": false, "released": true, "releaseDate": "2016-12-21" } ], "issuelinks": [ { "id": "54498", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "161279", "key": "TIMOB-23570", "fields": { "summary": "Hyperloop: iOS - Support use_frameworks flag in Cocoapods", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "updated": "2017-03-22T22:22:13.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h5. Problem Description:\r\n\r\nFacing Issue while accessing third party lib localytics and call its native APIs on iOS using hyper loop.\r\n\r\nh5. Steps to Reproduce:\r\n\r\n1. Added the podfile (attached)\r\n2. Importing the library like below : \r\n var localytics = require('Localytics')\r\n\r\nUnable to reproduce exact customer issue. When we use podfile provided by customer and sample code at our end, it builds fine but as soon as the app launches, app is crashing.\r\n\r\nh5. The customer reported error:\r\n\r\nScript Error Couldn't find module: /hyperloop/localytics/localytics for architecture: x86_64\r\n\r\nh5. Our results:\r\n\r\nCrash report attached. There is no error message in console except crash file path.", "attachment": [ { "id": "61457", "filename": "Podfile", "author": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "created": "2017-02-07T00:08:46.000+0000", "size": 128, "mimeType": "text/html" }, { "id": "61458", "filename": "sampleiOS_2017-02-06-160710_ITEM-AX12345.crash", "author": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "created": "2017-02-07T00:16:02.000+0000", "size": 3491, "mimeType": "application/octet-stream" } ], "flagged": false, "summary": "Hyperloop: iOS - third party libraries are not getting added to build", "creator": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "subtasks": [], "reporter": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "environment": "SDK 6.0.1.GA\r\nHyperloop 2.0\r\n\r\n", "closedSprints": [ { "id": 847, "state": "closed", "name": "2017 Sprint 05 SDK", "startDate": "2017-02-26T17:39:21.095Z", "endDate": "2017-03-12T17:39:00.000Z", "completeDate": "2017-03-12T19:14:38.838Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "406483", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "The Localytics SDK is a dynamic framework which is not supported by Hyperloop yet. We will be adding support for dynamic frameworks in an upcoming version of Hyperloop. In the meantime I would suggest to use the static library which is available via CocoaPods: {{pod 'LocalyticsStaticFramework', '~> 4.2'}}. Unfortunately this is currently also affected by TIMOB-24009 so they would need to wait for Hyperloop 2.0.1 to use the Localytics SDK.", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-02-07T01:05:36.000+0000", "updated": "2017-02-07T01:05:36.000+0000" }, { "id": "406484", "author": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "body": "[~jvennemann]: Thanks for the comment. Quick question: Would the same applicable for android as well while using localytics jar? customer sees issue there as well, though it is a different.", "updateAuthor": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "created": "2017-02-07T01:25:46.000+0000", "updated": "2017-02-07T01:25:46.000+0000" }, { "id": "406486", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "Android is completely different so i'd say to open a different issue for that with complete logs and error description.", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-02-07T01:41:37.000+0000", "updated": "2017-02-07T01:41:37.000+0000" }, { "id": "408849", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Resolving as Duplicate of TIMOB-23570 which will fix this as well. As a workaround, refer to the static library of the SDK which already is supported for this specific use-case. Thx!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-03-03T14:48:32.000+0000", "updated": "2017-03-03T14:48:32.000+0000" }, { "id": "410216", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~nmishra], correct, Hyperloop 2.0.1 (which includes TIMOB-24009) is required to use the Localytics static framework. Also note that the method is called {{autoIntegrateLaunchOptions}}:\r\n\r\n{code}\r\nvar TiApp = require('Titanium/TiApp');\r\nvar Localytics = require(\"Localytics\");\r\nLocalytics.autoIntegrateLaunchOptions(\"APP_KEY_HERE\", TiApp.app.launchOptions);\r\n{code}", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-03-09T01:33:54.000+0000", "updated": "2017-03-09T01:33:54.000+0000" }, { "id": "410767", "author": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "body": "Thanks for confirming [~jvennemann]. But in Localytics documentation I do not find the above method \"autoIntegrateLaunchOptions\", I only find autoIntegrate at https://docs.localytics.com/dev/ios.html#initialize-sdk-ios\r\n\r\n", "updateAuthor": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "created": "2017-03-09T22:12:09.000+0000", "updated": "2017-03-09T22:12:09.000+0000" }, { "id": "411013", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "The example shows:\r\n{code}\r\n[Localytics autoIntegrate:@\"YOUR-LOCALYTICS-APP-KEY\" launchOptions:launchOptions];\r\n{code}\r\nJavascript does not have the concept of named parameters, which is why the method name translates to the following with Hyperloop:\r\n{code}\r\nLocalytics.autoIntegrateLaunchOptions(\"YOUR-LOCALYTICS-APP-KEY\", launchOptions);\r\n{code}\r\nThe parameter names will be concatenated using camel case resulting in the JS method name.", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-03-09T23:26:24.000+0000", "updated": "2017-03-09T23:27:04.000+0000" }, { "id": "411278", "author": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "body": "[~jvennemann]: Thanks for clarification. We will suggest to customer to use it this way once Hyperloop 2.0.1 is out because I guess even this one won't work until we use Hyperloop 2.0.1", "updateAuthor": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "created": "2017-03-10T19:02:21.000+0000", "updated": "2017-03-10T19:02:21.000+0000" }, { "id": "415118", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate and links to the related ticket have been provided above.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T22:22:13.000+0000", "updated": "2017-03-22T22:22:13.000+0000" } ], "maxResults": 13, "total": 13, "startAt": 0 } } }