{ "id": "171423", "key": "AC-5684", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2018-03-29T14:13:37.000+0000", "created": "2018-03-29T13:15:04.000+0000", "labels": [ "android" ], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2020-10-22T07:25:58.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "15000", "name": "Hyperloop" } ], "description": "Hi all,\r\n\r\nI'm working on implementing Google Pay in android application using Hyperloop. According to Google Pay example(https://developers.google.com/pay/api/tutorial), the only way to get a PaymentClient is to use static method of Wallet class, which i cannot require/include:\r\n\r\nmPaymentsClient = Wallet.getPaymentsClient( ... )\r\n\r\n(it says Requested module not found: com.google.android.gms.wallet). So i cannot reference static methods in non-existent class.\r\n\r\nIn JS, i can include PaymentClient but not Wallet class. \r\n\r\nvar PaymentsClient = require('com.google.android.gms.wallet.PaymentsClient');\r\n\r\nso the following is not working\r\n var mPaymentsClient =\r\n Wallet.getPaymentsClient(\r\n Titanium.Android.currentActivity,\r\n {environment:'PRODUCTION'}\r\n );\r\n\r\nPlease help what i have to do or currently doing wrong?", "attachment": [], "flagged": false, "summary": "Cannot reference Wallet from Google Play Services ", "creator": { "name": "sed76", "key": "sed76", "displayName": "Sergey Dmitriev", "active": true, "timeZone": "Europe/Moscow" }, "subtasks": [], "reporter": { "name": "sed76", "key": "sed76", "displayName": "Sergey Dmitriev", "active": true, "timeZone": "Europe/Moscow" }, "environment": "Operating System\r\n Name = Mac OS X\r\n Version = 10.13.3\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\n\r\nNode.js\r\n Node.js Version = 8.10.0\r\n npm Version = 5.6.0\r\n\r\nTitanium CLI\r\n CLI Version = 5.0.14\r\n\r\nTitanium SDK\r\n SDK Version = 7.0.2.GA\r\n SDK Path = /Users/sed/Library/Application Support/Titanium/mobilesdk/osx/7.0.2.GA\r\n Target Platform = android", "comment": { "comments": [ { "id": "436077", "author": { "name": "sed76", "key": "sed76", "displayName": "Sergey Dmitriev", "active": true, "timeZone": "Europe/Moscow" }, "body": "please close. It was my typo.\r\nvar Wallet = require('com.google.android.gms.wallet.Wallet');\r\n\r\n", "updateAuthor": { "name": "sed76", "key": "sed76", "displayName": "Sergey Dmitriev", "active": true, "timeZone": "Europe/Moscow" }, "created": "2018-03-29T13:52:53.000+0000", "updated": "2018-03-29T13:52:53.000+0000" }, { "id": "436079", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Nice! And please share it with the community so other people can benefit from your examples as well :-).", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-03-29T14:13:26.000+0000", "updated": "2018-03-29T14:13:26.000+0000" }, { "id": "436081", "author": { "name": "sed76", "key": "sed76", "displayName": "Sergey Dmitriev", "active": true, "timeZone": "Europe/Moscow" }, "body": "Thanks! How can I do this?", "updateAuthor": { "name": "sed76", "key": "sed76", "displayName": "Sergey Dmitriev", "active": true, "timeZone": "Europe/Moscow" }, "created": "2018-03-29T14:22:07.000+0000", "updated": "2018-03-29T14:22:07.000+0000" }, { "id": "436083", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "In general:\r\n* Push it to Github\r\n* Add some useful labels (like hyperloop, titanium, appcelerator)\r\n* Share your repository with the community via Slack (tislack.org)\r\n\r\nOr, you can also do a pull request to https://github.com/appcelerator/hyperloop-examples and add your example to the collection of example. I personally would find it very interesting to have it there.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-03-29T14:24:32.000+0000", "updated": "2018-03-29T14:24:32.000+0000" }, { "id": "457306", "author": { "name": "jasonkneen", "key": "jasonkneen", "displayName": "Jason Kneen", "active": true, "timeZone": "Europe/London" }, "body": "Did you manage to get this working? Can you share the module?", "updateAuthor": { "name": "jasonkneen", "key": "jasonkneen", "displayName": "Jason Kneen", "active": true, "timeZone": "Europe/London" }, "created": "2020-10-22T07:25:58.000+0000", "updated": "2020-10-22T07:25:58.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }