googlesamples / unity-jar-resolver

Unity plugin which resolves Android & iOS dependencies and performs version management
Other
1.21k stars 337 forks source link

[Bug] EDM4U Always change `GvhProjectSettings.xml` Although I Have A FULL SETTINGS! #579

Closed CodeMasterYi closed 1 year ago

CodeMasterYi commented 1 year ago

[READ] For Firebase Unity SDK issues, please report to Firebase Unity Sample

Once you've read this section and determined that your issue is appropriate for this repository, please delete this section.

[REQUIRED] Please fill in the following fields:

[REQUIRED] Please describe the issue here:

(Please list the full steps to reproduce the issue. Include device logs, Unity logs, and stack traces if available.) As title, EDM4U often change the xml file when I change C# script and go back to Unity. There always be a popup that prompts Auto resolution. (Every Time, I click disable!)

Please answer the following, if applicable:

What's the issue repro rate? (eg 100%, 1/5 etc) 1/4

What happened? How can we make the problem occur? This could be a description, log/console output, etc. Actually, I dont know how to reproduce it.

If you have a downloadable sample project that reproduces the bug you're reporting, you will likely receive a faster response on your issue.

My Full Configured XML

<?xml version="1.0" encoding="utf-8"?>
<projectSettings>
  <projectSetting name="com.google.external-dependency-managerAnalyticsEnabled" value="False" />
  <projectSetting name="com.google.firebaseAnalyticsEnabled" value="False" />
  <projectSetting name="Google.IOSResolver.AutoPodToolInstallInEditor" value="True" />
  <projectSetting name="Google.IOSResolver.CocoapodsIntegrationMethod" value="2" />
  <projectSetting name="Google.IOSResolver.PodfileAddUseFrameworks" value="True" />
  <projectSetting name="Google.IOSResolver.PodfileAllowPodsInMultipleTargets" value="True" />
  <projectSetting name="Google.IOSResolver.PodfileAlwaysAddMainTarget" value="True" />
  <projectSetting name="Google.IOSResolver.PodfileEnabled" value="True" />
  <projectSetting name="Google.IOSResolver.PodfileStaticLinkFrameworks" value="True" />
  <projectSetting name="Google.IOSResolver.PodToolExecutionViaShellEnabled" value="True" />
  <projectSetting name="Google.IOSResolver.PodToolShellExecutionSetLang" value="True" />
  <projectSetting name="Google.IOSResolver.SwiftFrameworkSupportWorkaroundEnabled" value="True" />
  <projectSetting name="Google.IOSResolver.SwiftLanguageVersion" value="5.0" />
  <projectSetting name="Google.IOSResolver.VerboseLoggingEnabled" value="True" />
  <projectSetting name="Google.PackageManagerResolver.Enable" value="True" />
  <projectSetting name="Google.PackageManagerResolver.PromptToAddRegistries" value="True" />
  <projectSetting name="Google.PackageManagerResolver.PromptToMigratePackages" value="True" />
  <projectSetting name="Google.PackageManagerResolver.VerboseLoggingEnabled" value="True" />
  <projectSetting name="Google.VersionHandler.CleanUpPromptEnabled" value="True" />
  <projectSetting name="Google.VersionHandler.RenameToCanonicalFilenames" value="False" />
  <projectSetting name="Google.VersionHandler.RenameToDisableFilesEnabled" value="True" />
  <projectSetting name="Google.VersionHandler.VerboseLoggingEnabled" value="True" />
  <projectSetting name="Google.VersionHandler.VersionHandlingEnabled" value="True" />
  <projectSetting name="GooglePlayServices.AndroidPackageInstallationEnabled" value="True" />
  <projectSetting name="GooglePlayServices.AutoResolutionDisabledWarning" value="True" />
  <projectSetting name="GooglePlayServices.AutoResolveOnBuild" value="True" />
  <projectSetting name="GooglePlayServices.AutoResolverEnabled" value="False" />
  <projectSetting name="GooglePlayServices.ExplodeAars" value="True" />
  <projectSetting name="GooglePlayServices.LocalMavenRepoDir" value="Assets/GeneratedLocalRepo" />
  <projectSetting name="GooglePlayServices.PatchAndroidManifest" value="True" />
  <projectSetting name="GooglePlayServices.PatchMainTemplateGradle" value="True" />
  <projectSetting name="GooglePlayServices.PatchPropertiesTemplateGradle" value="True" />
  <projectSetting name="GooglePlayServices.PromptBeforeAutoResolution" value="False" />
  <projectSetting name="GooglePlayServices.UseGradleDaemon" value="False" />
  <projectSetting name="GooglePlayServices.UseJetifier" value="True" />
  <projectSetting name="GooglePlayServices.VerboseLogging" value="True" />
</projectSettings>

And It always want to change it to

<?xml version="1.0" encoding="utf-8"?>
<projectSettings>
  <projectSetting name="Google.IOSResolver.VerboseLoggingEnabled" value="False" />
  <projectSetting name="Google.PackageManagerResolver.VerboseLoggingEnabled" value="False" />
  <projectSetting name="Google.VersionHandler.VerboseLoggingEnabled" value="False" />
  <projectSetting name="GooglePlayServices.AutoResolverEnabled" value="False" />
  <projectSetting name="GooglePlayServices.PromptBeforeAutoResolution" value="False" />
</projectSettings>
paulinon commented 1 year ago

Hi @CodeMasterYi,

The auto-resolution process is enabled by default. To disable this, go to Assets > External Dependency Manager > Android Resolver > Settings and untick Enable Auto-Resolution.

That said, I'll be closing this for now. Let me know if an issue arises or if this solution doesn't apply for your use case.

CodeMasterYi commented 1 year ago

image

When I do this, It remove half of the other settings...

CodeMasterYi commented 1 year ago

I mean EMD4U always automatically change my previous settings(full settings after I click every "ok" button in every EDM4U setting panel) I dont want EDM4U change it!

CodeMasterYi commented 1 year ago

@paulinon I dont think the issue should be closed now~

CodeMasterYi commented 1 year ago

image

It changes again.

paulinon commented 1 year ago

Thanks for the clarification, @CodeMasterYi. Let me see if I could replicate this on my end. In order to identify what's causing this, could you provide the SDKs (with their respective versions) that you imported for your implementation?

CodeMasterYi commented 1 year ago

Unity Plugin version: EDM4U 1.2.175 (import via .tgz file) Facebook 14.1.0 Firebase(Core, Crashlytics, Analytics) 10.1.1 (import via .tgz files) Applovin Max 5.5.5 Adjust (I dont know which version we imported, and I cant find any vesion file in it)

paulinon commented 1 year ago

Hi @CodeMasterYi,

It seems that the behavior described here is similar to what's in #524. The team is currently investigating the cause of the issue. That said, I'll be closing this for now, and you may refer to the original thread for any updates.

paulinon commented 1 year ago

Duplicate of #524

CodeMasterYi commented 1 year ago

Hi @CodeMasterYi,

It seems that the behavior described here is similar to what's in #524. The team is currently investigating the cause of the issue. That said, I'll be closing this for now, and you may refer to the original thread for any updates.

Yes, the same! Thank you~