0

I want to use google-service.json file in multiple project, is it possible to use same google-service.json in multiple projects? if possible how can we do it?

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807
Anshul Khare
  • 219
  • 1
  • 3
  • 15
  • 1
    I think it is not possible because when you create a new project on Firebase it asks you to provide the package name of an android project then after you can download the google-service.json file contain information about that project – Wahdat Jan Dec 27 '17 at 14:09
  • ok, according to this post https://stackoverflow.com/questions/39366056/is-it-possible-to-connect-to-a-firebase-database-to-a-different-firebase-project we can share the database but what about json file?? – Anshul Khare Dec 27 '17 at 14:25
  • https://firebase.googleblog.com/2016/08/organizing-your-firebase-enabled-android-app-builds.html – Doug Stevenson Dec 27 '17 at 16:48
  • can we send push notification to app which has shared database? – Anshul Khare Dec 28 '17 at 08:51
  • can we use multiple firebase json file in one android application as i want to use diffrent database for single app based on user select ? it is posible? – Mehul Gajjar Jun 08 '18 at 05:44

1 Answers1

1

You can add different apps in same firebase project. You can share same database of different apps in same project.

Wahdat Jan
  • 3,988
  • 3
  • 21
  • 46