-
Notifications
You must be signed in to change notification settings - Fork 366
Open
Labels
Description
[READ] Guidelines
When filing a feature request please make sure the issue title starts with "FR:".
A good feature request ideally
- is either immediately obvious (i.e. "Add Sign in with Apple support"), or
- starts with a use case that is not achievable with the existing Firebase API and
includes an API proposal that would make the use case possible. The proposed API
change does not need to be very specific.
Once you've read this section, please delete it and fill out the rest of the template.
Feature proposal
- EDM4U Component: Android Resolver(Android Resolver, iOS Resolver, Version Handler, Package Manager, etc)
We currently disable auto-resolution for the EDM since it overrides any existing private maven repositories or custom modifications to gradle files. However, when disabling the auto-resolution of dependencies, a popup appears every time we compile/modify code. The popup ask to enable auto resolution, when denying this, nothing happens and the popup appears on the next compilation.
Enabling auto-resolution and disabling it seems to make the pop-up disappear for a while but it does not last long.
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
SCastanedaMunoz commentedon Jun 13, 2024
This is the pop-up in question, pressing "Disable" effectively does nothing. Then the pop-up just keeps spamming on every code change. 👎🏻
SCastanedaMunoz commentedon Jun 20, 2024
Any updates on this? The EDM keeps enabling auto-resolution by itself, which is very annoying and blocks development a lot.
argzdev commentedon Jun 20, 2024
Hey @SCastanedaMunoz, thanks for reaching out. This sounds like a bug, however after disabling auto-resolution, I'm not encountering this behavior when I do any codes with our Unity quickstart. I wonder if there are extra steps to exhibit this behavior. Any chance you could provide a minimal reproducible example so we can speed up the investigation? Thanks!
SCastanedaMunoz commentedon Jun 20, 2024
Taking a look at the
GvhProjectSettings.xml
I can see that pressing Disable on the dialog does not actually change the flagGooglePlayServices.AutoResolutionDisabledWarning
, so it remains true. I have changed this flag manually toFalse
for the time being. I am trying multiple scenarios to see if any actions cause this flag to flip back toTrue
SCastanedaMunoz commentedon Jun 20, 2024
Additional info: I rant some of my Unit tests from my project and most of the settings from
GvhProjectSettings.xml
got wiped. I think this explains why the popup keeps appearing, something seems to be causing theGvhProjectSettings.xml
to get reset. This means that every time I build/run unit tests on my devices, the settings get wiped and have to disable the auto-resolution every time.SCastanedaMunoz commentedon Jun 24, 2024
Any updates on this? 👀
a-maurice commentedon Jun 26, 2024
For the
GvhProjectSettings.xml
issue, that should hopefully be resolved with the latest release, 1.2.180, which fixed a bug that was causing that file to be overwritten sometimes.For the
GooglePlayServices.AutoResolutionDisabledWarning
not being set in code, it isn't meant to, as all that does it toggle the warning that appears in the log, and is meant to require manual disabling in the settings.Looking at the logic for the original pop up, it does seem to be setting the correct fields if Disable is selected:
unity-jar-resolver/source/AndroidResolver/src/PlayServicesResolver.cs
Line 1930 in a3a46e5
My hope is that maybe the
GvhProjectSettings.xml
issue of it being overwritten was causing your problem, as similar to @argzdev, I haven't been able to reproduce it prompting multiple times.SCastanedaMunoz commentedon Jun 28, 2024
Thanks, we will take a look at the
1.2.180
release and see if this fixes our issues.