Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
GrayWolf52 committed Aug 12, 2024
2 parents fcd13a6 + 2367d1f commit 41b5e31
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VirtueSky/ControlPanel/ConstantPackage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class ConstantPackage
"com.google.external-dependency-manager";

public const string MaxVersionGGExternalDependencyManager =
"https://github.com/google-unity/external-dependency-manager.git#1.2.181";
"https://github.com/google-unity/external-dependency-manager.git#1.2.182";

public const string PackageNameGGPlayReview = "com.google.play.review";

Expand Down
11 changes: 11 additions & 0 deletions VirtueSky/RemoteConfig/FirebaseRemoteConfigManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public class FirebaseRemoteConfigManager : MonoBehaviour
#endif

[Space, SerializeField] private BooleanVariable isFetchRemoteConfigCompleted;
[Space, SerializeField] private BooleanVariable firebaseDependencyAvailable;
[Space, SerializeField] private List<FirebaseRemoteConfigData> listRemoteConfigData;

private void Awake()
Expand All @@ -51,11 +52,21 @@ private void InitRemoteConfig()
isFetchRemoteConfigCompleted.Value = false;
}

if (firebaseDependencyAvailable != null)
{
firebaseDependencyAvailable.Value = false;
}

FirebaseApp.CheckAndFixDependenciesAsync().ContinueWithOnMainThread(task =>
{
dependencyStatus = task.Result;
if (dependencyStatus == DependencyStatus.Available)
{
var app = FirebaseApp.DefaultInstance;
if (firebaseDependencyAvailable != null)
{
firebaseDependencyAvailable.Value = true;
}
#if VIRTUESKY_FIREBASE_REMOTECONFIG
FetchDataAsync();
#endif
Expand Down
2 changes: 1 addition & 1 deletion VirtueSky/Utils/Editor/UnityPackage/Note_Package.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- Version Max Sdk: 6.6.1
- Version Max Sdk: 6.6.2
- Version Admob Sdk: v9.2.0
- Version IronSource (UnityLevelPlay) Skd: 8.1.0
- Version Google Game Play Service: v11.01
Binary file modified VirtueSky/Utils/Editor/UnityPackage/max-sdk.unitypackage
Binary file not shown.

0 comments on commit 41b5e31

Please sign in to comment.