Titanium JIRA Archive
Appcelerator Community (AC)

[AC-4566] google-services.json

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionNot Our Bug
Resolution Date2016-10-18T08:14:31.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterRainer Schleevoigt
AssigneeShak Hossain
Created2016-10-18T08:08:06.000+0000
Updated2020-02-04T05:23:09.000+0000

Description

1. Firebase will controlled by google-services.json. In documentation: https://firebase.google.com/docs/android/setup The file must live in app/ folder . If I place the file into platform/android then google-services.json is landing in app/src/main. 2. Firebase aspects as last line in gradle: apply plugin: 'com.google.gms.google-services' How can I achieve? https://developers.google.com/android/guides/google-services-plugin

Comments

  1. Hans Knöchel 2016-10-18

    This is no bug or feature request. You need to include the jar from the gradle in your module, same for the json file. See ti.map for a similar implementation
  2. Rainer Schleevoigt 2016-10-18

    Thanks I will look into. Ti.Map uses googel-services.json too? In my thoughts a lot of entries in manifest was the way to configure the service.
  3. Rainer Schleevoigt 2016-10-19

    This is a feature request to support google-services.json. In Firebase this JSOn will parsed by a gradle plugin (in last line). The plugin generates entries in XML inside res folder. The (not open) classes access there attributes.
  4. Hazem Khaled 2016-11-30

  5. Hans Knöchel 2020-02-04

    Handled via https://github.com/appcelerator/titanium_mobile/pull/11461

JSON Source