-3

I'm trying to implement the GCM client on Android.But now i am stuck here that Where should i put google-service.json file in eclipse and how should i use it?I am a complete new beginner in android enter image description here

2 Answers2

0

Please check this Where to put google-services.json file into eclipse project? for more information.

Also try to prefer Android Studio over eclipse.

Community
  • 1
  • 1
prat
  • 759
  • 5
  • 13
0

What is this file really for:

google-services.json contains developer credentials and configuration settings, which is needed to verify while connecting with GoogleApiClient. Though your service is working fine with your test device as it is detecting your developer account but after releasing your app in public, it will not work without the json file. So don't delete it.

The Official Documentation says:

The application builds a GoogleApiClient, specifying which scopes and APIs the application will access. When the GoogleApiClient connects, the user is signed in.

See the how it works section.

KishuDroid
  • 5,858
  • 4
  • 28
  • 45