File was renamed from frameworks/FirebaseCoreDiagnostics.framework/Headers/GULAppEnvironmentUtil.h |
| | |
| | | |
| | | #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, |
| | |
| | | + (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. |
| | |
| | | + (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 |