0

I have read articles about integration of firebase with android that tells to add google services.json file and add some code to gradle.

I cannot find any location in xamarin android.

Has anyone implemented this?

Amit
  • 264
  • 1
  • 4
  • 18

1 Answers1

0

Please refer to this.

1.Copy google-services.json to the project folder.

2.Add google-services.json to the app project (click Show All Files in the Solution Explorer, right click google-services.json, then select Include in Project).

3.Select google-services.json in the Solution Explorer window.

4.In the Properties pane, set the Build Action to GoogleServicesJson (if the GoogleServicesJson build action is not shown, save and close the Solution, then reopen it):

Community
  • 1
  • 1
Robbit
  • 4,300
  • 1
  • 13
  • 29
  • Hi,@Amit, like `compile 'com.google.firebase:firebase-core:11.8.0'`, it will import this library. Android Studio use [gradle](https://gradle.org/) to build the project, VS use [MSBuild](https://msdn.microsoft.com/en-us/library/dd393574.aspx). – Robbit Mar 26 '18 at 12:06