universal-tools / UTNotificationsFeedback

7 stars 0 forks source link

[FeatureRequest] Change bundle identifier for iOS and Android on build #119

Closed derwaldgeist closed 4 years ago

derwaldgeist commented 4 years ago

For my client-server based app, I implemented a three-tier development environment: dev, test, and production. For each of these tiers, I run separate server-backends and thus also build separate clients to connect to these servers. I switch between servers via a custom build script, which also adjusts the bundle identifiers for iOS and Android accordingly, so I can actually install all three apps on one device simultaneously. This works pretty well.

However, the configuration settings for UTNotifications break this setup, as they require me to hard-code the app identifiers in its own settings and to update the google-services.json as well. Is there a way to automate this task via a build script?

Or maybe implement an option that UTNotifications automatically picks the identifiers from Unity build settings? I don't see a particular reason to duplicate this.

derwaldgeist commented 4 years ago

Found out this is possible if you do the switch in a separate build script.