{ "id": "174684", "key": "TIMOB-27745", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": [ { "id": "20949", "name": "Release 9.0.1", "archived": false, "released": true, "releaseDate": "2020-04-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-04-15T18:07:16.000+0000", "created": "2020-02-04T04:38:42.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "android", "build", "json" ], "versions": [], "issuelinks": [ { "id": "58136", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "164039", "key": "AC-4566", "fields": { "summary": "google-services.json", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "58137", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "174253", "key": "TIMOB-27468", "fields": { "summary": "windows os : unable to build the app from windows the google-services.json file is ignored", "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" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-04-15T18:07:16.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "*Summary:*\r\nGoogle documents that you should configure your app for Firebase via a \"google-services.json\" file. Titanium does not currently support this JSON file and requires app developers to call Google's Java APIs to configure the app for Firebase instead.\r\n\r\nAdd JSON file support will make this much simpler and would follow their docs.\r\n\r\n*Note:*\r\nGoogle documents how to set this up here...\r\nhttps://firebase.google.com/docs/android/setup\r\n\r\n*Recommended Solution:*\r\nThe file should be added to the following Titanium project folder...\r\n{code}\r\n./platform/android/google-services.json\r\n{code}\r\n\r\nIf the file is found, we need to copy it to the following build folder location...\r\n{code}\r\n./build/android/app\r\n{code}\r\n\r\nWe'll need to add the following to the [root.build.gradle|https://github.com/appcelerator/titanium_mobile/blob/master/android/templates/build/root.build.gradle] file.\r\n{code:groovy}\r\nbuildscript {\r\n\tdependencies {\r\n\t\tclasspath 'com.google.gms:google-services:4.3.3'\r\n\t}\r\n}\r\n{code}\r\n\r\nWe'll need to add the following to the [app.build.gradle|https://github.com/appcelerator/titanium_mobile/blob/master/android/templates/build/app.build.gradle] file.\r\n{code:groovy}\r\napply plugin: 'com.google.gms.google-services'\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Android: Add \"google-services.json\" support for Firebase", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "454023", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/11461", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-02-04T05:22:42.000+0000", "updated": "2020-03-03T22:39:31.000+0000" }, { "id": "454527", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (9.0.x): https://github.com/appcelerator/titanium_mobile/pull/11514\r\n", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-03-03T22:39:22.000+0000", "updated": "2020-03-03T22:39:22.000+0000" }, { "id": "455138", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed.", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-04-15T02:13:57.000+0000", "updated": "2020-04-15T02:13:57.000+0000" }, { "id": "455148", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified on:\r\nMac OS: 10.15.4\r\nSDK: 9.0.1.v20200415071927, 9.1.0.v20200415075143\r\nAppc CLI: 8.0.0\r\nJDK: 11.0.4\r\nNode: 10.17.0\r\nStudio: 6.0.0.202003181504\r\nDevice: Pixel3(v10.0) emulator", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-04-15T18:07:16.000+0000", "updated": "2020-04-15T18:07:16.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }