Skip to content

Firebase AARs being changed after every change in project's package/product name, any way to spare the change? #1234

@a-l-e-x-d-s-9

Description

@a-l-e-x-d-s-9

[REQUIRED] Please fill in the following fields:

  • Unity editor version: 2020.3.25f1
  • Firebase Unity SDK version: 8.7
  • Source you installed the SDK: .unitypackage.
  • Problematic Firebase Component: .
  • Other Firebase Components in use: analytics, app-unity, common, crashlytics-ndk, crashlytics-unity, installations-unity.
  • Additional SDKs you are using: google.android.appbundle-1.6.0, google.play.appupdate-1.6.0, google.play.assetdelivery-1.6.0, google.play.billing-3.2.1, google.play.instant-1.6.0, google-play-plugins-1.6.0.
  • Platform you are using the Unity editor on: Linux.
  • Platform you are targeting: Android.
  • Scripting Runtime: IL2CPP.

[REQUIRED] Please describe the question here:

I'm using one Unity project to create multiple apps (each with its unique flavor, but based on the same code), each with different package/product name that published as separate app at Google Play Store. I need to switch between the flavors of the app often, and each time Android Resolver scanning everything and the following firebase files are changed:

com.google.firebase.firebase-analytics-unity-8.7.0.aar
com.google.firebase.firebase-app-unity-8.7.0.aar
com.google.firebase.firebase-common-20.0.0.aar
com.google.firebase.firebase-crashlytics-ndk-18.2.5.aar
com.google.firebase.firebase-crashlytics-unity-8.7.0.aar
com.google.firebase.firebase-installations-unity-8.7.0.aar

Each flavor has its unique firebase configuration file, but they all use the same firebase packages. I don't know why these files keep being change after each Android Resolve run after package name change. Is there a way to spare this changes, or they include an injection of package name that forces them to be updated?

Metadata

Metadata

Assignees

No one assigned

    Labels

    edm4uIssue related to External Dependency Manager for Unitytype: question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions