googlesamples / google-signin-unity

Google Sign-In API plugin for Unity game engine. Works with Android and iOS.
Other
421 stars 227 forks source link

managing multiple GoogleService-info.plist files #176

Open charleyshin opened 3 years ago

charleyshin commented 3 years ago

I have 3 diffrerent ios branch of

  1. dev (for internal testflight test) / bundle id = com.xxx.dev
  2. staging (for external testflight test) / bundle id = com.xxx.staging
  3. production (for public distribution) / bundle id = com.xxx

It means I have 3 different version of Google-service.plist files for "single" project (for ios)

But , only Assets/Goggle-service.plist file is copied to Xcode project

What is the best way to solve this problem? Also, I can't find source code of copyng /Assets/Google-service.plist to Xcode projectg root. in your plugin. (Can you let me know?) Thanks

elitcenk commented 2 years ago

Maybe when CI/CD phase, you can create script and copy and replace appropriate Google-service.plist file to the Assets/Google-service.plist.