From 454098c2f508505fc55c60c577250b8610abaaf3 Mon Sep 17 00:00:00 2001
From: lpw <pengwei.li@gamehollywood.com>
Date: Tue, 26 Jan 2021 09:39:45 +0800
Subject: [PATCH] 3.9.2
---
frameworks/GoogleUtilities.framework/Headers/GULAppEnvironmentUtil.h | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/frameworks/FirebaseCoreDiagnostics.framework/Headers/GULAppEnvironmentUtil.h b/frameworks/GoogleUtilities.framework/Headers/GULAppEnvironmentUtil.h
similarity index 80%
rename from frameworks/FirebaseCoreDiagnostics.framework/Headers/GULAppEnvironmentUtil.h
rename to frameworks/GoogleUtilities.framework/Headers/GULAppEnvironmentUtil.h
index 2fb1622..d2bb935 100644
--- a/frameworks/FirebaseCoreDiagnostics.framework/Headers/GULAppEnvironmentUtil.h
+++ b/frameworks/GoogleUtilities.framework/Headers/GULAppEnvironmentUtil.h
@@ -16,6 +16,8 @@
#import <Foundation/Foundation.h>
+NS_ASSUME_NONNULL_BEGIN
+
@interface GULAppEnvironmentUtil : NSObject
/// Indicates whether the app is from Apple Store or not. Returns NO if the app is on simulator,
@@ -31,7 +33,7 @@
+ (BOOL)isSimulator;
/// The current device model. Returns an empty string if device model cannot be retrieved.
-+ (NSString *)deviceModel;
++ (nullable NSString *)deviceModel;
/// The current operating system version. Returns an empty string if the system version cannot be
/// retrieved.
@@ -44,4 +46,15 @@
+ (BOOL)isIOS7OrHigher DEPRECATED_MSG_ATTRIBUTE(
"Always `YES` because only iOS 8 and higher supported. The method will be removed.");
+/// @return YES if Swift runtime detected in the app.
++ (BOOL)hasSwiftRuntime;
+
+/// @return An Apple platform. Possible values "ios", "tvos", "macos", "watchos", "maccatalyst".
++ (NSString *)applePlatform;
+
+/// @return The way the library was added to the app, e.g. "swiftpm", "cocoapods", etc.
++ (NSString *)deploymentType;
+
@end
+
+NS_ASSUME_NONNULL_END
--
Gitblit v1.8.0