diff --git a/AltStore/Analytics/AnalyticsManager.swift b/AltStore/Analytics/AnalyticsManager.swift index c3d7575b..eafcb5dd 100644 --- a/AltStore/Analytics/AnalyticsManager.swift +++ b/AltStore/Analytics/AnalyticsManager.swift @@ -90,9 +90,9 @@ extension AnalyticsManager { func start() { - MSAppCenter.start(appCenterAppSecret, withServices:[ - MSAnalytics.self, - MSCrashes.self + AppCenter.start(withAppSecret: appCenterAppSecret, services: [ + Analytics.self, + Crashes.self ]) } @@ -102,6 +102,6 @@ extension AnalyticsManager properties[item.key.rawValue] = item.value } - MSAnalytics.trackEvent(event.name, withProperties: properties) + Analytics.trackEvent(event.name, withProperties: properties) } } diff --git a/Podfile b/Podfile index 821e2601..5f5f4683 100644 --- a/Podfile +++ b/Podfile @@ -7,7 +7,7 @@ target 'AltStore' do # Pods for AltStore pod 'Nuke', '~> 7.0' - pod 'AppCenter', '~> 3.1.0' + pod 'AppCenter', '~> 4.2.0' end diff --git a/Podfile.lock b/Podfile.lock index 71d870d4..0caa3d4c 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -1,11 +1,11 @@ PODS: - - AppCenter (3.1.1): - - AppCenter/Analytics (= 3.1.1) - - AppCenter/Crashes (= 3.1.1) - - AppCenter/Analytics (3.1.1): + - AppCenter (4.2.0): + - AppCenter/Analytics (= 4.2.0) + - AppCenter/Crashes (= 4.2.0) + - AppCenter/Analytics (4.2.0): - AppCenter/Core - - AppCenter/Core (3.1.1) - - AppCenter/Crashes (3.1.1): + - AppCenter/Core (4.2.0) + - AppCenter/Crashes (4.2.0): - AppCenter/Core - KeychainAccess (4.2.1) - Nuke (7.6.3) @@ -13,7 +13,7 @@ PODS: - STPrivilegedTask (1.0.7) DEPENDENCIES: - - AppCenter (~> 3.1.0) + - AppCenter (~> 4.2.0) - KeychainAccess (~> 4.2.0) - Nuke (~> 7.0) - Sparkle @@ -36,12 +36,12 @@ CHECKOUT OPTIONS: :git: https://github.com/rileytestut/STPrivilegedTask.git SPEC CHECKSUMS: - AppCenter: 513d32888854d67d8cfbd3a8db16aeb5fb2e2a75 + AppCenter: 87ef6eefd8ade4df59e88951288587429f3dd2a5 KeychainAccess: 9b07f665298d13c3a85881bd3171f6f49b8151c1 Nuke: 44130e95e09463f8773ae4b96b90de1eba6b3350 Sparkle: 270cd27377bf04e9c128af06e3a22d0f572d6ee3 STPrivilegedTask: 56c3397238a1ec07720fb877a044898373cd2c68 -PODFILE CHECKSUM: 6e3f9d2fc666262d43ff8079a3f9149b8f3376ee +PODFILE CHECKSUM: ab4f64a189ce4136fef92ee4057edd44e3266b69 -COCOAPODS: 1.10.0 +COCOAPODS: 1.10.1 diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/Info.plist new file mode 100644 index 00000000..8f4c0dba --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/Info.plist @@ -0,0 +1,99 @@ + + + + + AvailableLibraries + + + LibraryIdentifier + tvos-arm64_x86_64-simulator + LibraryPath + AppCenter.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + tvos + SupportedPlatformVariant + simulator + + + LibraryIdentifier + ios-arm64_i386_x86_64-simulator + LibraryPath + AppCenter.framework + SupportedArchitectures + + arm64 + i386 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + AppCenter.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + LibraryIdentifier + ios-arm64_arm64e_armv7_armv7s + LibraryPath + AppCenter.framework + SupportedArchitectures + + arm64 + arm64e + armv7 + armv7s + + SupportedPlatform + ios + + + LibraryIdentifier + macos-arm64_x86_64 + LibraryPath + AppCenter.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + macos + + + LibraryIdentifier + tvos-arm64 + LibraryPath + AppCenter.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + tvos + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/AppCenter b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/AppCenter similarity index 61% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/AppCenter rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/AppCenter index fed467d1..43efdb7b 100644 Binary files a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/AppCenter and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/AppCenter differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/AppCenter.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/AppCenter.h new file mode 100644 index 00000000..559521e5 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/AppCenter.h @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#else +#import "MSACAbstractLog.h" +#import "MSACAppCenter.h" +#import "MSACAppCenterErrors.h" +#import "MSACChannelGroupProtocol.h" +#import "MSACChannelProtocol.h" +#import "MSACConstants+Flags.h" +#import "MSACConstants.h" +#import "MSACCustomProperties.h" +#import "MSACDevice.h" +#import "MSACEnable.h" +#import "MSACLog.h" +#import "MSACLogWithProperties.h" +#import "MSACLogger.h" +#import "MSACService.h" +#import "MSACServiceAbstract.h" +#import "MSACWrapperLogger.h" +#import "MSACWrapperSdk.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Headers/MSAbstractLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACAbstractLog.h similarity index 54% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Headers/MSAbstractLog.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACAbstractLog.h index 76d02685..2d6db269 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Headers/MSAbstractLog.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACAbstractLog.h @@ -1,12 +1,13 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_ABSTRACT_LOG_H -#define MS_ABSTRACT_LOG_H +#ifndef MSAC_ABSTRACT_LOG_H +#define MSAC_ABSTRACT_LOG_H #import -@interface MSAbstractLog : NSObject +NS_SWIFT_NAME(AbstractLog) +@interface MSACAbstractLog : NSObject @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSAppCenter.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACAppCenter.h similarity index 63% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSAppCenter.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACAppCenter.h index c6ceb9ca..4e4f689e 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSAppCenter.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACAppCenter.h @@ -3,18 +3,26 @@ #import -#import "MSConstants.h" +#ifndef MSAC_APP_CENTER +#define MSAC_APP_CENTER -@class MSWrapperSdk; - -#if !TARGET_OS_TV -@class MSCustomProperties; +#if __has_include() +#import +#else +#import "MSACConstants.h" #endif -@interface MSAppCenter : NSObject +@class MSACWrapperSdk; + +#if !TARGET_OS_TV +@class MSACCustomProperties; +#endif + +NS_SWIFT_NAME(AppCenter) +@interface MSACAppCenter : NSObject /** - * Returns the singleton instance of MSAppCenter. + * Returns the singleton instance of MSACAppCenter. */ + (instancetype)sharedInstance; @@ -25,7 +33,7 @@ * * @discussion This may be called only once per application process lifetime. */ -+ (void)configureWithAppSecret:(NSString *)appSecret; ++ (void)configureWithAppSecret:(NSString *)appSecret NS_SWIFT_NAME(configure(withAppSecret:)); /** * Configure the SDK. @@ -42,7 +50,7 @@ * * @discussion This may be called only once per application process lifetime. */ -+ (void)start:(NSString *)appSecret withServices:(NSArray *)services; ++ (void)start:(NSString *)appSecret withServices:(NSArray *)services NS_SWIFT_NAME(start(withAppSecret:services:)); /** * Start the SDK with an array of services. @@ -51,7 +59,7 @@ * * @discussion This may be called only once per application process lifetime. */ -+ (void)startWithServices:(NSArray *)services; ++ (void)startWithServices:(NSArray *)services NS_SWIFT_NAME(start(services:)); /** * Start a service. @@ -68,76 +76,53 @@ * * @param services Array of services to start. */ -+ (void)startFromLibraryWithServices:(NSArray *)services; ++ (void)startFromLibraryWithServices:(NSArray *)services NS_SWIFT_NAME(startFromLibrary(services:)); /** - * Check whether the SDK has already been configured or not. - * - * @return YES if configured, NO otherwise. + * The flag indicates whether the SDK has already been configured or not. */ -+ (BOOL)isConfigured; +@property(class, atomic, readonly, getter=isConfigured) BOOL configured; /** - * Check whether app is running in App Center Test Cloud. - * - * @return true if running in App Center Test Cloud, false otherwise. + * The flag indicates whether app is running in App Center Test Cloud. */ -+ (BOOL)isRunningInAppCenterTestCloud; +@property(class, atomic, readonly, getter=isRunningInAppCenterTestCloud) BOOL runningInAppCenterTestCloud; /** - * Change the base URL (schema + authority + port only) used to communicate with the backend. + * The flag indicates whether or not the SDK was enabled as a whole * - * @param logUrl Base URL to use for backend communication. - */ -+ (void)setLogUrl:(NSString *)logUrl; - -/** - * Enable or disable the SDK as a whole. In addition to AppCenter resources, it will also enable or disable all registered services. * The state is persisted in the device's storage across application launches. - * - * @param isEnabled YES to enable, NO to disable. - * - * @see isEnabled */ -+ (void)setEnabled:(BOOL)isEnabled; +@property(class, nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); /** - * Check whether the SDK is enabled or not as a whole. + * Flag indicating whether SDK can send network requests. * - * @return YES if enabled, NO otherwise. - * - * @see setEnabled: + * The state is persisted in the device's storage across application launches. */ -+ (BOOL)isEnabled; +@property(class, nonatomic, getter=isNetworkRequestsAllowed, setter=setNetworkRequestsAllowed:) + BOOL networkRequestsAllowed NS_SWIFT_NAME(networkRequestsAllowed); /** - * Get log level. - * - * @return Log level. + * The SDK's log level. */ -+ (MSLogLevel)logLevel; +@property(class, nonatomic) MSACLogLevel logLevel; /** - * Set log level. - * - * @param logLevel The log level. + * Base URL to use for backend communication. */ -+ (void)setLogLevel:(MSLogLevel)logLevel; +@property(class, nonatomic, strong) NSString *logUrl; /** - * Set log level handler. - * - * @param logHandler Handler. + * Set log handler. */ -+ (void)setLogHandler:(MSLogHandler)logHandler; +@property(class, nonatomic) MSACLogHandler logHandler; /** * Set wrapper SDK information to use when building device properties. This is intended in case you are building a SDK that uses the App * Center SDK under the hood, e.g. our Xamarin SDK or ReactNative SDk. - * - * @param wrapperSdk Wrapper SDK information. */ -+ (void)setWrapperSdk:(MSWrapperSdk *)wrapperSdk; +@property(class, nonatomic, strong) MSACWrapperSdk *wrapperSdk; #if !TARGET_OS_TV /** @@ -145,14 +130,12 @@ * * @param customProperties Custom properties object. */ -+ (void)setCustomProperties:(MSCustomProperties *)customProperties; ++ (void)setCustomProperties:(MSACCustomProperties *)customProperties; #endif /** * Check whether the application delegate forwarder is enabled or not. * - * @return YES if enabled, NO otherwise. - * * @discussion The application delegate forwarder forwards messages that target your application delegate methods via swizzling to the SDK. * It simplifies the SDK integration but may not be suitable to any situations. For * instance it should be disabled if you or one of your third party SDK is doing message forwarding on the application delegate. Message @@ -160,29 +143,26 @@ * To disable the application delegate forwarder just add the `AppCenterAppDelegateForwarderEnabled` tag to your Info .plist file and set it * to `0`. Then you will have to forward any application delegate needed by the SDK manually. */ -+ (BOOL)isAppDelegateForwarderEnabled; +@property(class, readonly, nonatomic, getter=isAppDelegateForwarderEnabled) BOOL appDelegateForwarderEnabled; /** - * Get unique installation identifier. + * Unique installation identifier. * - * @return Unique installation identifier. */ -+ (NSUUID *)installId; +@property(class, readonly, nonatomic) NSUUID *installId; /** * Detect if a debugger is attached to the app process. This is only invoked once on app startup and can not detect * if the debugger is being attached during runtime! * - * @return BOOL if the debugger is attached. */ -+ (BOOL)isDebuggerAttached; +@property(class, readonly, nonatomic, getter=isDebuggerAttached) BOOL debuggerAttached; /** - * Get the current version of AppCenter SDK. + * Current version of AppCenter SDK. * - * @return The current version of AppCenter SDK. */ -+ (NSString *)sdkVersion; +@property(class, readonly, nonatomic) NSString *sdkVersion; /** * Set the maximum size of the internal storage. This method must be called before App Center is started. This method is only intended for @@ -202,22 +182,22 @@ /** * Set the user identifier. * - * @param userId User identifier. - * * @discussion Set the user identifier for logs sent for the default target token when the secret passed in @c - * MSAppCenter:start:withServices: contains "target={targetToken}". + * MSACAppCenter:start:withServices: contains "target={targetToken}". * * For App Center backend the user identifier maximum length is 256 characters. * * AppCenter must be configured or started before this API can be used. */ -+ (void)setUserId:(NSString *)userId; +@property(class, nonatomic, strong) NSString *userId; /** * Set country code to use when building device properties. * - * @param countryCode The two-letter ISO country code. @see https://www.iso.org/obp/ui/#search for more information. + * @see https://www.iso.org/obp/ui/#search for more information. */ -+ (void)setCountryCode:(NSString *)countryCode; +@property(class, nonatomic, strong) NSString *countryCode; @end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACAppCenterErrors.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACAppCenterErrors.h new file mode 100644 index 00000000..8e77d77c --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACAppCenterErrors.h @@ -0,0 +1,41 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_APP_CENTER_ERRORS_H +#define MSAC_APP_CENTER_ERRORS_H + +#import + +#define MSAC_APP_CENTER_BASE_DOMAIN @"com.Microsoft.AppCenter." + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - Domain + +static NSString *const kMSACACErrorDomain = MSAC_APP_CENTER_BASE_DOMAIN @"ErrorDomain"; + +#pragma mark - General + +// Error codes. +NS_ENUM(NSInteger){MSACACLogInvalidContainerErrorCode = 1, MSACACCanceledErrorCode = 2, MSACACDisabledErrorCode = 3}; + +// Error descriptions. +static NSString const *kMSACACLogInvalidContainerErrorDesc = @"Invalid log container."; +static NSString const *kMSACACCanceledErrorDesc = @"The operation was canceled."; +static NSString const *kMSACACDisabledErrorDesc = @"The service is disabled."; + +#pragma mark - Connection + +// Error codes. +NS_ENUM(NSInteger){MSACACConnectionPausedErrorCode = 100, MSACACConnectionHttpErrorCode = 101}; + +// Error descriptions. +static NSString const *kMSACACConnectionHttpErrorDesc = @"An HTTP error occured."; +static NSString const *kMSACACConnectionPausedErrorDesc = @"Canceled, connection paused with log deletion."; + +// Error user info keys. +static NSString const *kMSACACConnectionHttpCodeErrorKey = @"MSConnectionHttpCode"; + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACChannelGroupProtocol.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACChannelGroupProtocol.h new file mode 100644 index 00000000..2d621d85 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACChannelGroupProtocol.h @@ -0,0 +1,87 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CHANNEL_GROUP_PROTOCOL_H +#define MSAC_CHANNEL_GROUP_PROTOCOL_H + +#import + +#if __has_include() +#import +#else +#import "MSACChannelProtocol.h" +#endif + +NS_ASSUME_NONNULL_BEGIN + +@class MSACChannelUnitConfiguration; + +@protocol MSACIngestionProtocol; +@protocol MSACChannelUnitProtocol; + +/** + * `MSACChannelGroupProtocol` represents a kind of channel that contains constituent MSACChannelUnit objects. When an operation from the + * `MSACChannelProtocol` is performed on the group, that operation should be propagated to its constituent MSACChannelUnit objects. + */ +NS_SWIFT_NAME(ChannelGroupProtocol) +@protocol MSACChannelGroupProtocol + +/** + * Initialize a channel unit with the given configuration. + * + * @param configuration channel configuration. + * + * @return The added `MSACChannelUnitProtocol`. Use this object to enqueue logs. + */ +- (id)addChannelUnitWithConfiguration:(MSACChannelUnitConfiguration *)configuration + NS_SWIFT_NAME(addChannelUnit(withConfiguration:)); + +/** + * Initialize a channel unit with the given configuration. + * + * @param configuration channel configuration. + * @param ingestion The alternative ingestion object + * + * @return The added `MSACChannelUnitProtocol`. Use this object to enqueue logs. + */ +- (id)addChannelUnitWithConfiguration:(MSACChannelUnitConfiguration *)configuration + withIngestion:(nullable id)ingestion + NS_SWIFT_NAME(addChannelUnit(_:ingestion:)); + +/** + * Change the base URL (schema + authority + port only) used to communicate with the backend. + */ +@property(nonatomic, strong) NSString *_Nullable logUrl; + +/** + * Set the app secret. + */ +@property(nonatomic, strong) NSString *_Nullable appSecret; + +/** + * Set the maximum size of the internal storage. This method must be called before App Center is started. + * + * @discussion The default maximum database size is 10485760 bytes (10 MiB). + * + * @param sizeInBytes Maximum size of the internal storage in bytes. This will be rounded up to the nearest multiple of a SQLite page size + * (default is 4096 bytes). Values below 24576 bytes (24 KiB) will be ignored. + * @param completionHandler Callback that is invoked when the database size has been set. The `BOOL` parameter is `YES` if changing the size + * is successful, and `NO` otherwise. + */ +- (void)setMaxStorageSize:(long)sizeInBytes + completionHandler:(nullable void (^)(BOOL))completionHandler NS_SWIFT_NAME(setMaxStorageSize(_:completionHandler:)); + +/** + * Return a channel unit instance for the given groupId. + * + * @param groupId The group ID for a channel unit. + * + * @return A channel unit instance or `nil`. + */ +- (nullable id)channelUnitForGroupId:(NSString *)groupId; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSChannelProtocol.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACChannelProtocol.h similarity index 67% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSChannelProtocol.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACChannelProtocol.h index 4c50baab..09fcb7d0 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSChannelProtocol.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACChannelProtocol.h @@ -1,36 +1,41 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_CHANNEL_PROTOCOL_H -#define MS_CHANNEL_PROTOCOL_H +#ifndef MSAC_CHANNEL_PROTOCOL_H +#define MSAC_CHANNEL_PROTOCOL_H #import -#import "MSEnable.h" +#if __has_include() +#import +#else +#import "MSACEnable.h" +#endif NS_ASSUME_NONNULL_BEGIN -@protocol MSChannelDelegate; +@protocol MSACChannelDelegate; /** - * `MSChannelProtocol` contains the essential operations of a channel. Channels are broadly responsible for enqueuing logs to be sent to the - * backend and/or stored on disk. + * `MSACChannelProtocol` contains the essential operations of a channel. Channels are broadly responsible for enqueuing logs to be sent to + * the backend and/or stored on disk. */ -@protocol MSChannelProtocol +NS_SWIFT_NAME(ChannelProtocol) +@protocol MSACChannelProtocol /** * Add delegate. * * @param delegate delegate. */ -- (void)addDelegate:(id)delegate; +- (void)addDelegate:(id)delegate; /** * Remove delegate. * * @param delegate delegate. */ -- (void)removeDelegate:(id)delegate; +- (void)removeDelegate:(id)delegate; /** * Pause operations, logs will be stored but not sent. diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACConstants+Flags.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACConstants+Flags.h new file mode 100644 index 00000000..5408e550 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACConstants+Flags.h @@ -0,0 +1,18 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CONSTANTS_FLAGS_H +#define MSAC_CONSTANTS_FLAGS_H + +#import + +typedef NS_OPTIONS(NSUInteger, MSACFlags) { + MSACFlagsNone = (0 << 0), // => 00000000 + MSACFlagsNormal = (1 << 0), // => 00000001 + MSACFlagsCritical = (1 << 1), // => 00000010 + MSACFlagsPersistenceNormal DEPRECATED_MSG_ATTRIBUTE("please use MSACFlagsNormal") = MSACFlagsNormal, + MSACFlagsPersistenceCritical DEPRECATED_MSG_ATTRIBUTE("please use MSACFlagsCritical") = MSACFlagsCritical, + MSACFlagsDefault = MSACFlagsNormal +} NS_SWIFT_NAME(Flags); + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACConstants.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACConstants.h new file mode 100644 index 00000000..545e9ea7 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACConstants.h @@ -0,0 +1,170 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +/** + * Log Levels + */ +typedef NS_ENUM(NSUInteger, MSACLogLevel) { + + /** + * Logging will be very chatty + */ + MSACLogLevelVerbose = 2, + + /** + * Debug information will be logged + */ + MSACLogLevelDebug = 3, + + /** + * Information will be logged + */ + MSACLogLevelInfo = 4, + + /** + * Errors and warnings will be logged + */ + MSACLogLevelWarning = 5, + + /** + * Errors will be logged + */ + MSACLogLevelError = 6, + + /** + * Only critical errors will be logged + */ + MSACLogLevelAssert = 7, + + /** + * Logging is disabled + */ + MSACLogLevelNone = 99 +} NS_SWIFT_NAME(LogLevel); + +typedef NSString * (^MSACLogMessageProvider)(void)NS_SWIFT_NAME(LogMessageProvider); +typedef void (^MSACLogHandler)(MSACLogMessageProvider messageProvider, MSACLogLevel logLevel, NSString *tag, const char *file, + const char *function, uint line) NS_SWIFT_NAME(LogHandler); + +/** + * Channel priorities, check the kMSACPriorityCount if you add a new value. + * The order matters here! Values NEED to range from low priority to high priority. + */ +typedef NS_ENUM(NSInteger, MSACPriority) { MSACPriorityBackground, MSACPriorityDefault, MSACPriorityHigh } NS_SWIFT_NAME(Priority); +static short const kMSACPriorityCount = MSACPriorityHigh + 1; + +/** + * The priority by which the modules are initialized. + * MSACPriorityMax is reserved for only 1 module and this needs to be Crashes. + * Crashes needs to be initialized first to catch crashes in our other SDK Modules (which will hopefully never happen) and to avoid losing + * any log at crash time. + */ +typedef NS_ENUM(NSInteger, MSACInitializationPriority) { + MSACInitializationPriorityDefault = 500, + MSACInitializationPriorityHigh = 750, + MSACInitializationPriorityMax = 999 +} NS_SWIFT_NAME(InitializationPriority); + +/** + * Enum with the different HTTP status codes. + */ +typedef NS_ENUM(NSInteger, MSACHTTPCodesNo) { + + // Invalid + MSACHTTPCodesNo0XXInvalidUnknown = 0, + + // Informational + MSACHTTPCodesNo1XXInformationalUnknown = 1, + MSACHTTPCodesNo100Continue = 100, + MSACHTTPCodesNo101SwitchingProtocols = 101, + MSACHTTPCodesNo102Processing = 102, + + // Success + MSACHTTPCodesNo2XXSuccessUnknown = 2, + MSACHTTPCodesNo200OK = 200, + MSACHTTPCodesNo201Created = 201, + MSACHTTPCodesNo202Accepted = 202, + MSACHTTPCodesNo203NonAuthoritativeInformation = 203, + MSACHTTPCodesNo204NoContent = 204, + MSACHTTPCodesNo205ResetContent = 205, + MSACHTTPCodesNo206PartialContent = 206, + MSACHTTPCodesNo207MultiStatus = 207, + MSACHTTPCodesNo208AlreadyReported = 208, + MSACHTTPCodesNo209IMUsed = 209, + + // Redirection + MSACHTTPCodesNo3XXSuccessUnknown = 3, + MSACHTTPCodesNo300MultipleChoices = 300, + MSACHTTPCodesNo301MovedPermanently = 301, + MSACHTTPCodesNo302Found = 302, + MSACHTTPCodesNo303SeeOther = 303, + MSACHTTPCodesNo304NotModified = 304, + MSACHTTPCodesNo305UseProxy = 305, + MSACHTTPCodesNo306SwitchProxy = 306, + MSACHTTPCodesNo307TemporaryRedirect = 307, + MSACHTTPCodesNo308PermanentRedirect = 308, + + // Client error + MSACHTTPCodesNo4XXSuccessUnknown = 4, + MSACHTTPCodesNo400BadRequest = 400, + MSACHTTPCodesNo401Unauthorised = 401, + MSACHTTPCodesNo402PaymentRequired = 402, + MSACHTTPCodesNo403Forbidden = 403, + MSACHTTPCodesNo404NotFound = 404, + MSACHTTPCodesNo405MethodNotAllowed = 405, + MSACHTTPCodesNo406NotAcceptable = 406, + MSACHTTPCodesNo407ProxyAuthenticationRequired = 407, + MSACHTTPCodesNo408RequestTimeout = 408, + MSACHTTPCodesNo409Conflict = 409, + MSACHTTPCodesNo410Gone = 410, + MSACHTTPCodesNo411LengthRequired = 411, + MSACHTTPCodesNo412PreconditionFailed = 412, + MSACHTTPCodesNo413RequestEntityTooLarge = 413, + MSACHTTPCodesNo414RequestURITooLong = 414, + MSACHTTPCodesNo415UnsupportedMediaType = 415, + MSACHTTPCodesNo416RequestedRangeNotSatisfiable = 416, + MSACHTTPCodesNo417ExpectationFailed = 417, + MSACHTTPCodesNo418IamATeapot = 418, + MSACHTTPCodesNo419AuthenticationTimeout = 419, + MSACHTTPCodesNo420MethodFailureSpringFramework = 420, + MSACHTTPCodesNo420EnhanceYourCalmTwitter = 4200, + MSACHTTPCodesNo422UnprocessableEntity = 422, + MSACHTTPCodesNo423Locked = 423, + MSACHTTPCodesNo424FailedDependency = 424, + MSACHTTPCodesNo424MethodFailureWebDaw = 4240, + MSACHTTPCodesNo425UnorderedCollection = 425, + MSACHTTPCodesNo426UpgradeRequired = 426, + MSACHTTPCodesNo428PreconditionRequired = 428, + MSACHTTPCodesNo429TooManyRequests = 429, + MSACHTTPCodesNo431RequestHeaderFieldsTooLarge = 431, + MSACHTTPCodesNo444NoResponseNginx = 444, + MSACHTTPCodesNo449RetryWithMicrosoft = 449, + MSACHTTPCodesNo450BlockedByWindowsParentalControls = 450, + MSACHTTPCodesNo451RedirectMicrosoft = 451, + MSACHTTPCodesNo451UnavailableForLegalReasons = 4510, + MSACHTTPCodesNo494RequestHeaderTooLargeNginx = 494, + MSACHTTPCodesNo495CertErrorNginx = 495, + MSACHTTPCodesNo496NoCertNginx = 496, + MSACHTTPCodesNo497HTTPToHTTPSNginx = 497, + MSACHTTPCodesNo499ClientClosedRequestNginx = 499, + + // Server error + MSACHTTPCodesNo5XXSuccessUnknown = 5, + MSACHTTPCodesNo500InternalServerError = 500, + MSACHTTPCodesNo501NotImplemented = 501, + MSACHTTPCodesNo502BadGateway = 502, + MSACHTTPCodesNo503ServiceUnavailable = 503, + MSACHTTPCodesNo504GatewayTimeout = 504, + MSACHTTPCodesNo505HTTPVersionNotSupported = 505, + MSACHTTPCodesNo506VariantAlsoNegotiates = 506, + MSACHTTPCodesNo507InsufficientStorage = 507, + MSACHTTPCodesNo508LoopDetected = 508, + MSACHTTPCodesNo509BandwidthLimitExceeded = 509, + MSACHTTPCodesNo510NotExtended = 510, + MSACHTTPCodesNo511NetworkAuthenticationRequired = 511, + MSACHTTPCodesNo522ConnectionTimedOut = 522, + MSACHTTPCodesNo598NetworkReadTimeoutErrorUnknown = 598, + MSACHTTPCodesNo599NetworkConnectTimeoutErrorUnknown = 599 +} NS_SWIFT_NAME(HTTPCodesNo); diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSCustomProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACCustomProperties.h similarity index 78% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSCustomProperties.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACCustomProperties.h index 34b202e2..28f1cf77 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSCustomProperties.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACCustomProperties.h @@ -1,8 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_CUSTOM_PROPERTIES_H -#define MS_CUSTOM_PROPERTIES_H +#ifndef MSAC_CUSTOM_PROPERTIES_H +#define MSAC_CUSTOM_PROPERTIES_H #import @@ -10,7 +10,8 @@ * Custom properties builder. * Collects multiple properties to send in one log. */ -@interface MSCustomProperties : NSObject +NS_SWIFT_NAME(CustomProperties) +@interface MSACCustomProperties : NSObject /** * Set the specified property value with the specified key. @@ -21,7 +22,7 @@ * * @return This instance. */ -- (instancetype)setString:(NSString *)value forKey:(NSString *)key; +- (instancetype)setString:(NSString *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); /** * Set the specified property value with the specified key. @@ -32,7 +33,7 @@ * * @return This instance. */ -- (instancetype)setNumber:(NSNumber *)value forKey:(NSString *)key; +- (instancetype)setNumber:(NSNumber *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); /** * Set the specified property value with the specified key. @@ -43,7 +44,7 @@ * * @return This instance. */ -- (instancetype)setBool:(BOOL)value forKey:(NSString *)key; +- (instancetype)setBool:(BOOL)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); /** * Set the specified property value with the specified key. @@ -54,7 +55,7 @@ * * @return This instance. */ -- (instancetype)setDate:(NSDate *)value forKey:(NSString *)key; +- (instancetype)setDate:(NSDate *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); /** * Clear the property for the specified key. @@ -63,7 +64,7 @@ * * @return This instance. */ -- (instancetype)clearPropertyForKey:(NSString *)key; +- (instancetype)clearPropertyForKey:(NSString *)key NS_SWIFT_NAME(clearProperty(forKey:)); @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSDevice.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACDevice.h similarity index 90% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSDevice.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACDevice.h index bca52140..b8fd18d7 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSDevice.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACDevice.h @@ -1,14 +1,19 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_DEVICE_H -#define MS_DEVICE_H +#ifndef MSAC_DEVICE_H +#define MSAC_DEVICE_H #import -#import "MSWrapperSdk.h" +#if __has_include() +#import +#else +#import "MSACWrapperSdk.h" +#endif -@interface MSDevice : MSWrapperSdk +NS_SWIFT_NAME(Device) +@interface MSACDevice : MSACWrapperSdk /* * Name of the SDK. Consists of the name of the SDK and the platform, e.g. "appcenter.ios", "appcenter.android" diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSEnable.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACEnable.h similarity index 77% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSEnable.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACEnable.h index 11e2f605..3feff5b5 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSEnable.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACEnable.h @@ -1,15 +1,16 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_ENABLE_H -#define MS_ENABLE_H +#ifndef MSAC_ENABLE_H +#define MSAC_ENABLE_H #import /** * Protocol to define an instance that can be enabled/disabled. */ -@protocol MSEnable +NS_SWIFT_NAME(Enable) +@protocol MSACEnable @required @@ -19,7 +20,7 @@ * @param isEnabled A boolean value set to YES to enable the instance or NO to disable it. * @param deleteData A boolean value set to YES to delete data or NO to keep it. */ -- (void)setEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deleteData; +- (void)setEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deleteData NS_SWIFT_NAME(setEnabled(_:deleteDataOnDisabled:)); @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACLog.h similarity index 90% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSLog.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACLog.h index 07f1e574..d46b377f 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSLog.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACLog.h @@ -1,14 +1,15 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_LOG_H -#define MS_LOG_H +#ifndef MSAC_LOG_H +#define MSAC_LOG_H #import -@class MSDevice; +@class MSACDevice; -@protocol MSLog +NS_SWIFT_NAME(Log) +@protocol MSACLog /** * Log type. @@ -39,7 +40,7 @@ /** * Device properties associated to this log. */ -@property(nonatomic, strong) MSDevice *device; +@property(nonatomic, strong) MSACDevice *device; /** * Transient object tag. For example, a log can be tagged with a transmission target. We do this currently to prevent properties being diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSLogWithProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACLogWithProperties.h similarity index 50% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSLogWithProperties.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACLogWithProperties.h index 7a3b372d..12af6c40 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSLogWithProperties.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACLogWithProperties.h @@ -1,14 +1,19 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_LOG_WITH_PROPERTIES_H -#define MS_LOG_WITH_PROPERTIES_H +#ifndef MSAC_LOG_WITH_PROPERTIES_H +#define MSAC_LOG_WITH_PROPERTIES_H #import -#import "MSAbstractLog.h" +#if __has_include() +#import +#else +#import "MSACAbstractLog.h" +#endif -@interface MSLogWithProperties : MSAbstractLog +NS_SWIFT_NAME(LogWithProperties) +@interface MSACLogWithProperties : MSACAbstractLog /** * Additional key/value pair parameters. [optional] diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACLogger.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACLogger.h new file mode 100644 index 00000000..bb4b4136 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACLogger.h @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef MSAC_LOGGER +#define MSAC_LOGGER + +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif + +#define MSACLog(_level, _tag, _message) \ + [MSACLogger logMessage:_message level:_level tag:_tag file:__FILE__ function:__PRETTY_FUNCTION__ line:__LINE__] +#define MSACLogAssert(tag, format, ...) \ + MSACLog(MSACLogLevelAssert, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogError(tag, format, ...) \ + MSACLog(MSACLogLevelError, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogWarning(tag, format, ...) \ + MSACLog(MSACLogLevelWarning, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogInfo(tag, format, ...) \ + MSACLog(MSACLogLevelInfo, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogDebug(tag, format, ...) \ + MSACLog(MSACLogLevelDebug, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogVerbose(tag, format, ...) \ + MSACLog(MSACLogLevelVerbose, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) + +NS_SWIFT_NAME(Logger) +@interface MSACLogger : NSObject + ++ (void)logMessage:(MSACLogMessageProvider)messageProvider + level:(MSACLogLevel)loglevel + tag:(NSString *)tag + file:(const char *)file + function:(const char *)function + line:(uint)line; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACService.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACService.h new file mode 100644 index 00000000..b9fafff9 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACService.h @@ -0,0 +1,23 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_SERVICE_H +#define MSAC_SERVICE_H + +#import + +/** + * Protocol declaring service logic. + */ +NS_SWIFT_NAME(Service) +@protocol MSACService + +/** + * Indicates whether this service is enabled. + * The state is persisted in the device's storage across application launches. + */ +@property(class, nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSServiceAbstract.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACServiceAbstract.h similarity index 73% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSServiceAbstract.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACServiceAbstract.h index 3e5e8dec..ad7a2ef3 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSServiceAbstract.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACServiceAbstract.h @@ -1,20 +1,25 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_SERVICE_ABSTRACT_H -#define MS_SERVICE_ABSTRACT_H +#ifndef MSAC_SERVICE_ABSTRACT_H +#define MSAC_SERVICE_ABSTRACT_H #import -#import "MSService.h" +#if __has_include() +#import +#else +#import "MSACService.h" +#endif -@protocol MSChannelGroupProtocol; +@protocol MSACChannelGroupProtocol; /** * Abstraction of services common logic. * This class is intended to be subclassed only not instantiated directly. */ -@interface MSServiceAbstract : NSObject +NS_SWIFT_NAME(ServiceAbstract) +@interface MSACServiceAbstract : NSObject /** * The flag indicates whether the service is started from application or not. @@ -29,7 +34,7 @@ * @param token default transmission target token for this service. * @param fromApplication indicates whether the service started from an application or not. */ -- (void)startWithChannelGroup:(id)channelGroup +- (void)startWithChannelGroup:(id)channelGroup appSecret:(NSString *)appSecret transmissionTargetToken:(NSString *)token fromApplication:(BOOL)fromApplication; @@ -44,11 +49,9 @@ - (void)updateConfigurationWithAppSecret:(NSString *)appSecret transmissionTargetToken:(NSString *)token; /** - * Checks if the service needs the application secret. - * - * @return `YES` if the application secret is required, `NO` otherwise. + * The flag indicate whether the service needs the application secret or not. */ -- (BOOL)isAppSecretRequired; +@property(atomic, readonly) BOOL isAppSecretRequired; @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSWrapperLogger.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACWrapperLogger.h similarity index 50% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSWrapperLogger.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACWrapperLogger.h index 1e17ff13..79a14622 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSWrapperLogger.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACWrapperLogger.h @@ -3,14 +3,19 @@ #import -#import "MSConstants.h" +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif /** * This is a utility for producing App Center style log messages. It is only intended for use by App Center services and wrapper SDKs of App * Center. */ -@interface MSWrapperLogger : NSObject +NS_SWIFT_NAME(WrapperLogger) +@interface MSACWrapperLogger : NSObject -+ (void)MSWrapperLog:(MSLogMessageProvider)message tag:(NSString *)tag level:(MSLogLevel)level; ++ (void)MSACWrapperLog:(MSACLogMessageProvider)message tag:(NSString *)tag level:(MSACLogLevel)level; @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSWrapperSdk.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACWrapperSdk.h similarity index 94% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSWrapperSdk.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACWrapperSdk.h index 647ba7b0..20410721 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSWrapperSdk.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Headers/MSACWrapperSdk.h @@ -1,12 +1,13 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_WRAPPER_SDK_H -#define MS_WRAPPER_SDK_H +#ifndef MSAC_WRAPPER_SDK_H +#define MSAC_WRAPPER_SDK_H #import -@interface MSWrapperSdk : NSObject +NS_SWIFT_NAME(WrapperSdk) +@interface MSACWrapperSdk : NSObject /* * Version of the wrapper SDK. When the SDK is embedding another base SDK (for example Xamarin.Android wraps Android), the Xamarin specific diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Info.plist similarity index 56% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Info.plist rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Info.plist index 0ad62c1e..b0bfcdd5 100644 Binary files a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Info.plist and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Info.plist differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Modules/module.modulemap similarity index 100% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Modules/module.modulemap rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/Modules/module.modulemap diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/PrivateHeaders/MSChannelDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/PrivateHeaders/MSACChannelDelegate.h similarity index 62% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/PrivateHeaders/MSChannelDelegate.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/PrivateHeaders/MSACChannelDelegate.h index f1985b23..0702176e 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/PrivateHeaders/MSChannelDelegate.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenter.framework/PrivateHeaders/MSACChannelDelegate.h @@ -3,14 +3,16 @@ #import -#import "MSConstants+Flags.h" +#import "MSACConstants+Flags.h" -@protocol MSChannelUnitProtocol; -@protocol MSChannelGroupProtocol; -@protocol MSChannelProtocol; -@protocol MSLog; +@protocol MSACChannelUnitProtocol; +@protocol MSACChannelGroupProtocol; +@protocol MSACChannelProtocol; +@protocol MSACLog; -@protocol MSChannelDelegate +NS_ASSUME_NONNULL_BEGIN + +@protocol MSACChannelDelegate @optional @@ -20,14 +22,14 @@ * @param channelGroup The channel group. * @param channel The newly added channel. */ -- (void)channelGroup:(id)channelGroup didAddChannelUnit:(id)channel; +- (void)channelGroup:(id)channelGroup didAddChannelUnit:(id)channel; /** * A callback that is called when a log is just enqueued. Delegates may want to prepare the log a little more before further processing. * * @param log The log to prepare. */ -- (void)channel:(id)channel prepareLog:(id)log; +- (void)channel:(id)channel prepareLog:(id)log; /** * A callback that is called after a log is definitely prepared. @@ -36,7 +38,7 @@ * @param internalId An internal Id to keep track of logs. * @param flags Options for the log. */ -- (void)channel:(id)channel didPrepareLog:(id)log internalId:(NSString *)internalId flags:(MSFlags)flags; +- (void)channel:(id)channel didPrepareLog:(id)log internalId:(NSString *)internalId flags:(MSACFlags)flags; /** * A callback that is called after a log completed the enqueueing process whether it was successful or not. @@ -44,7 +46,7 @@ * @param log The log. * @param internalId An internal Id to keep track of logs. */ -- (void)channel:(id)channel didCompleteEnqueueingLog:(id)log internalId:(NSString *)internalId; +- (void)channel:(id)channel didCompleteEnqueueingLog:(id)log internalId:(NSString *)internalId; /** * Callback method that will be called before each log will be send to the server. @@ -52,7 +54,7 @@ * @param channel The channel object. * @param log The log to be sent. */ -- (void)channel:(id)channel willSendLog:(id)log; +- (void)channel:(id)channel willSendLog:(id)log; /** * Callback method that will be called in case the SDK was able to send a log. @@ -60,7 +62,7 @@ * @param channel The channel object. * @param log The log to be sent. */ -- (void)channel:(id)channel didSucceedSendingLog:(id)log; +- (void)channel:(id)channel didSucceedSendingLog:(id)log; /** * Callback method that will be called in case the SDK was unable to send a log. @@ -69,7 +71,7 @@ * @param log The log to be sent. * @param error The error that occured. */ -- (void)channel:(id)channel didFailSendingLog:(id)log withError:(NSError *)error; +- (void)channel:(id)channel didFailSendingLog:(id)log withError:(nullable NSError *)error; /** * A callback that is called when setEnabled has been invoked. @@ -78,7 +80,7 @@ * @param isEnabled The boolean that indicates enabled. * @param deletedData The boolean that indicates deleting data on disabled. */ -- (void)channel:(id)channel didSetEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deletedData; +- (void)channel:(id)channel didSetEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deletedData; /** * A callback that is called when pause has been invoked. @@ -86,7 +88,7 @@ * @param channel The channel. * @param identifyingObject The identifying object used to pause the channel. */ -- (void)channel:(id)channel didPauseWithIdentifyingObject:(id)identifyingObject; +- (void)channel:(id)channel didPauseWithIdentifyingObject:(id)identifyingObject; /** * A callback that is called when resume has been invoked. @@ -94,7 +96,7 @@ * @param channel The channel. * @param identifyingObject The identifying object used to resume the channel. */ -- (void)channel:(id)channel didResumeWithIdentifyingObject:(id)identifyingObject; +- (void)channel:(id)channel didResumeWithIdentifyingObject:(id)identifyingObject; /** * Callback method that will determine if a log should be filtered out from the usual processing pipeline. If any delegate returns true, the @@ -105,6 +107,8 @@ * * @return `true` if the log should be filtered out. */ -- (BOOL)channelUnit:(id)channelUnit shouldFilterLog:(id)log; +- (BOOL)channelUnit:(id)channelUnit shouldFilterLog:(id)log; @end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/AppCenter b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/AppCenter new file mode 100644 index 00000000..fe227a0b Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/AppCenter differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/AppCenter.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/AppCenter.h new file mode 100644 index 00000000..559521e5 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/AppCenter.h @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#else +#import "MSACAbstractLog.h" +#import "MSACAppCenter.h" +#import "MSACAppCenterErrors.h" +#import "MSACChannelGroupProtocol.h" +#import "MSACChannelProtocol.h" +#import "MSACConstants+Flags.h" +#import "MSACConstants.h" +#import "MSACCustomProperties.h" +#import "MSACDevice.h" +#import "MSACEnable.h" +#import "MSACLog.h" +#import "MSACLogWithProperties.h" +#import "MSACLogger.h" +#import "MSACService.h" +#import "MSACServiceAbstract.h" +#import "MSACWrapperLogger.h" +#import "MSACWrapperSdk.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSAbstractLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACAbstractLog.h similarity index 54% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSAbstractLog.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACAbstractLog.h index 76d02685..2d6db269 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSAbstractLog.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACAbstractLog.h @@ -1,12 +1,13 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_ABSTRACT_LOG_H -#define MS_ABSTRACT_LOG_H +#ifndef MSAC_ABSTRACT_LOG_H +#define MSAC_ABSTRACT_LOG_H #import -@interface MSAbstractLog : NSObject +NS_SWIFT_NAME(AbstractLog) +@interface MSACAbstractLog : NSObject @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACAppCenter.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACAppCenter.h new file mode 100644 index 00000000..4e4f689e --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACAppCenter.h @@ -0,0 +1,203 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef MSAC_APP_CENTER +#define MSAC_APP_CENTER + +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif + +@class MSACWrapperSdk; + +#if !TARGET_OS_TV +@class MSACCustomProperties; +#endif + +NS_SWIFT_NAME(AppCenter) +@interface MSACAppCenter : NSObject + +/** + * Returns the singleton instance of MSACAppCenter. + */ ++ (instancetype)sharedInstance; + +/** + * Configure the SDK with an application secret. + * + * @param appSecret A unique and secret key used to identify the application. + * + * @discussion This may be called only once per application process lifetime. + */ ++ (void)configureWithAppSecret:(NSString *)appSecret NS_SWIFT_NAME(configure(withAppSecret:)); + +/** + * Configure the SDK. + * + * @discussion This may be called only once per application process lifetime. + */ ++ (void)configure; + +/** + * Configure the SDK with an application secret and an array of services to start. + * + * @param appSecret A unique and secret key used to identify the application. + * @param services Array of services to start. + * + * @discussion This may be called only once per application process lifetime. + */ ++ (void)start:(NSString *)appSecret withServices:(NSArray *)services NS_SWIFT_NAME(start(withAppSecret:services:)); + +/** + * Start the SDK with an array of services. + * + * @param services Array of services to start. + * + * @discussion This may be called only once per application process lifetime. + */ ++ (void)startWithServices:(NSArray *)services NS_SWIFT_NAME(start(services:)); + +/** + * Start a service. + * + * @param service A service to start. + * + * @discussion This may be called only once per service per application process lifetime. + */ ++ (void)startService:(Class)service; + +/** + * Configure the SDK with an array of services to start from a library. This will not start the service at application level, it will enable + * the service only for the library. + * + * @param services Array of services to start. + */ ++ (void)startFromLibraryWithServices:(NSArray *)services NS_SWIFT_NAME(startFromLibrary(services:)); + +/** + * The flag indicates whether the SDK has already been configured or not. + */ +@property(class, atomic, readonly, getter=isConfigured) BOOL configured; + +/** + * The flag indicates whether app is running in App Center Test Cloud. + */ +@property(class, atomic, readonly, getter=isRunningInAppCenterTestCloud) BOOL runningInAppCenterTestCloud; + +/** + * The flag indicates whether or not the SDK was enabled as a whole + * + * The state is persisted in the device's storage across application launches. + */ +@property(class, nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); + +/** + * Flag indicating whether SDK can send network requests. + * + * The state is persisted in the device's storage across application launches. + */ +@property(class, nonatomic, getter=isNetworkRequestsAllowed, setter=setNetworkRequestsAllowed:) + BOOL networkRequestsAllowed NS_SWIFT_NAME(networkRequestsAllowed); + +/** + * The SDK's log level. + */ +@property(class, nonatomic) MSACLogLevel logLevel; + +/** + * Base URL to use for backend communication. + */ +@property(class, nonatomic, strong) NSString *logUrl; + +/** + * Set log handler. + */ +@property(class, nonatomic) MSACLogHandler logHandler; + +/** + * Set wrapper SDK information to use when building device properties. This is intended in case you are building a SDK that uses the App + * Center SDK under the hood, e.g. our Xamarin SDK or ReactNative SDk. + */ +@property(class, nonatomic, strong) MSACWrapperSdk *wrapperSdk; + +#if !TARGET_OS_TV +/** + * Set the custom properties. + * + * @param customProperties Custom properties object. + */ ++ (void)setCustomProperties:(MSACCustomProperties *)customProperties; +#endif + +/** + * Check whether the application delegate forwarder is enabled or not. + * + * @discussion The application delegate forwarder forwards messages that target your application delegate methods via swizzling to the SDK. + * It simplifies the SDK integration but may not be suitable to any situations. For + * instance it should be disabled if you or one of your third party SDK is doing message forwarding on the application delegate. Message + * forwarding usually implies the implementation of @see NSObject#forwardingTargetForSelector: or @see NSObject#forwardInvocation: methods. + * To disable the application delegate forwarder just add the `AppCenterAppDelegateForwarderEnabled` tag to your Info .plist file and set it + * to `0`. Then you will have to forward any application delegate needed by the SDK manually. + */ +@property(class, readonly, nonatomic, getter=isAppDelegateForwarderEnabled) BOOL appDelegateForwarderEnabled; + +/** + * Unique installation identifier. + * + */ +@property(class, readonly, nonatomic) NSUUID *installId; + +/** + * Detect if a debugger is attached to the app process. This is only invoked once on app startup and can not detect + * if the debugger is being attached during runtime! + * + */ +@property(class, readonly, nonatomic, getter=isDebuggerAttached) BOOL debuggerAttached; + +/** + * Current version of AppCenter SDK. + * + */ +@property(class, readonly, nonatomic) NSString *sdkVersion; + +/** + * Set the maximum size of the internal storage. This method must be called before App Center is started. This method is only intended for + * applications. + * + * @param sizeInBytes Maximum size of the internal storage in bytes. This will be rounded up to the nearest multiple of a SQLite page size + * (default is 4096 bytes). Values below 20,480 bytes (20 KiB) will be ignored. + * + * @param completionHandler Callback that is invoked when the database size has been set. The `BOOL` parameter is `YES` if changing the size + * is successful, and `NO` otherwise. This parameter can be null. + * + * @discussion This only sets the maximum size of the database, but App Center modules might store additional data. + * The value passed to this method is not persisted on disk. The default maximum database size is 10485760 bytes (10 MiB). + */ ++ (void)setMaxStorageSize:(long)sizeInBytes completionHandler:(void (^)(BOOL))completionHandler; + +/** + * Set the user identifier. + * + * @discussion Set the user identifier for logs sent for the default target token when the secret passed in @c + * MSACAppCenter:start:withServices: contains "target={targetToken}". + * + * For App Center backend the user identifier maximum length is 256 characters. + * + * AppCenter must be configured or started before this API can be used. + */ +@property(class, nonatomic, strong) NSString *userId; + +/** + * Set country code to use when building device properties. + * + * @see https://www.iso.org/obp/ui/#search for more information. + */ +@property(class, nonatomic, strong) NSString *countryCode; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACAppCenterErrors.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACAppCenterErrors.h new file mode 100644 index 00000000..8e77d77c --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACAppCenterErrors.h @@ -0,0 +1,41 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_APP_CENTER_ERRORS_H +#define MSAC_APP_CENTER_ERRORS_H + +#import + +#define MSAC_APP_CENTER_BASE_DOMAIN @"com.Microsoft.AppCenter." + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - Domain + +static NSString *const kMSACACErrorDomain = MSAC_APP_CENTER_BASE_DOMAIN @"ErrorDomain"; + +#pragma mark - General + +// Error codes. +NS_ENUM(NSInteger){MSACACLogInvalidContainerErrorCode = 1, MSACACCanceledErrorCode = 2, MSACACDisabledErrorCode = 3}; + +// Error descriptions. +static NSString const *kMSACACLogInvalidContainerErrorDesc = @"Invalid log container."; +static NSString const *kMSACACCanceledErrorDesc = @"The operation was canceled."; +static NSString const *kMSACACDisabledErrorDesc = @"The service is disabled."; + +#pragma mark - Connection + +// Error codes. +NS_ENUM(NSInteger){MSACACConnectionPausedErrorCode = 100, MSACACConnectionHttpErrorCode = 101}; + +// Error descriptions. +static NSString const *kMSACACConnectionHttpErrorDesc = @"An HTTP error occured."; +static NSString const *kMSACACConnectionPausedErrorDesc = @"Canceled, connection paused with log deletion."; + +// Error user info keys. +static NSString const *kMSACACConnectionHttpCodeErrorKey = @"MSConnectionHttpCode"; + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACChannelGroupProtocol.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACChannelGroupProtocol.h new file mode 100644 index 00000000..2d621d85 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACChannelGroupProtocol.h @@ -0,0 +1,87 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CHANNEL_GROUP_PROTOCOL_H +#define MSAC_CHANNEL_GROUP_PROTOCOL_H + +#import + +#if __has_include() +#import +#else +#import "MSACChannelProtocol.h" +#endif + +NS_ASSUME_NONNULL_BEGIN + +@class MSACChannelUnitConfiguration; + +@protocol MSACIngestionProtocol; +@protocol MSACChannelUnitProtocol; + +/** + * `MSACChannelGroupProtocol` represents a kind of channel that contains constituent MSACChannelUnit objects. When an operation from the + * `MSACChannelProtocol` is performed on the group, that operation should be propagated to its constituent MSACChannelUnit objects. + */ +NS_SWIFT_NAME(ChannelGroupProtocol) +@protocol MSACChannelGroupProtocol + +/** + * Initialize a channel unit with the given configuration. + * + * @param configuration channel configuration. + * + * @return The added `MSACChannelUnitProtocol`. Use this object to enqueue logs. + */ +- (id)addChannelUnitWithConfiguration:(MSACChannelUnitConfiguration *)configuration + NS_SWIFT_NAME(addChannelUnit(withConfiguration:)); + +/** + * Initialize a channel unit with the given configuration. + * + * @param configuration channel configuration. + * @param ingestion The alternative ingestion object + * + * @return The added `MSACChannelUnitProtocol`. Use this object to enqueue logs. + */ +- (id)addChannelUnitWithConfiguration:(MSACChannelUnitConfiguration *)configuration + withIngestion:(nullable id)ingestion + NS_SWIFT_NAME(addChannelUnit(_:ingestion:)); + +/** + * Change the base URL (schema + authority + port only) used to communicate with the backend. + */ +@property(nonatomic, strong) NSString *_Nullable logUrl; + +/** + * Set the app secret. + */ +@property(nonatomic, strong) NSString *_Nullable appSecret; + +/** + * Set the maximum size of the internal storage. This method must be called before App Center is started. + * + * @discussion The default maximum database size is 10485760 bytes (10 MiB). + * + * @param sizeInBytes Maximum size of the internal storage in bytes. This will be rounded up to the nearest multiple of a SQLite page size + * (default is 4096 bytes). Values below 24576 bytes (24 KiB) will be ignored. + * @param completionHandler Callback that is invoked when the database size has been set. The `BOOL` parameter is `YES` if changing the size + * is successful, and `NO` otherwise. + */ +- (void)setMaxStorageSize:(long)sizeInBytes + completionHandler:(nullable void (^)(BOOL))completionHandler NS_SWIFT_NAME(setMaxStorageSize(_:completionHandler:)); + +/** + * Return a channel unit instance for the given groupId. + * + * @param groupId The group ID for a channel unit. + * + * @return A channel unit instance or `nil`. + */ +- (nullable id)channelUnitForGroupId:(NSString *)groupId; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACChannelProtocol.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACChannelProtocol.h new file mode 100644 index 00000000..09fcb7d0 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACChannelProtocol.h @@ -0,0 +1,68 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CHANNEL_PROTOCOL_H +#define MSAC_CHANNEL_PROTOCOL_H + +#import + +#if __has_include() +#import +#else +#import "MSACEnable.h" +#endif + +NS_ASSUME_NONNULL_BEGIN + +@protocol MSACChannelDelegate; + +/** + * `MSACChannelProtocol` contains the essential operations of a channel. Channels are broadly responsible for enqueuing logs to be sent to + * the backend and/or stored on disk. + */ +NS_SWIFT_NAME(ChannelProtocol) +@protocol MSACChannelProtocol + +/** + * Add delegate. + * + * @param delegate delegate. + */ +- (void)addDelegate:(id)delegate; + +/** + * Remove delegate. + * + * @param delegate delegate. + */ +- (void)removeDelegate:(id)delegate; + +/** + * Pause operations, logs will be stored but not sent. + * + * @param identifyingObject Object used to identify the pause request. + * + * @discussion A paused channel doesn't forward logs to the ingestion. The identifying object used to pause the channel can be any unique + * object. The same identifying object must be used to call resume. For simplicity if the caller is the one owning the channel then @c self + * can be used as identifying object. + * + * @see resumeWithIdentifyingObject: + */ +- (void)pauseWithIdentifyingObject:(id)identifyingObject; + +/** + * Resume operations, logs can be sent again. + * + * @param identifyingObject Object used to passed to the pause method. + * + * @discussion The channel only resume when all the outstanding identifying objects have been resumed. + * + * @see pauseWithIdentifyingObject: + */ +- (void)resumeWithIdentifyingObject:(id)identifyingObject; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACConstants+Flags.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACConstants+Flags.h new file mode 100644 index 00000000..5408e550 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACConstants+Flags.h @@ -0,0 +1,18 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CONSTANTS_FLAGS_H +#define MSAC_CONSTANTS_FLAGS_H + +#import + +typedef NS_OPTIONS(NSUInteger, MSACFlags) { + MSACFlagsNone = (0 << 0), // => 00000000 + MSACFlagsNormal = (1 << 0), // => 00000001 + MSACFlagsCritical = (1 << 1), // => 00000010 + MSACFlagsPersistenceNormal DEPRECATED_MSG_ATTRIBUTE("please use MSACFlagsNormal") = MSACFlagsNormal, + MSACFlagsPersistenceCritical DEPRECATED_MSG_ATTRIBUTE("please use MSACFlagsCritical") = MSACFlagsCritical, + MSACFlagsDefault = MSACFlagsNormal +} NS_SWIFT_NAME(Flags); + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACConstants.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACConstants.h new file mode 100644 index 00000000..545e9ea7 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACConstants.h @@ -0,0 +1,170 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +/** + * Log Levels + */ +typedef NS_ENUM(NSUInteger, MSACLogLevel) { + + /** + * Logging will be very chatty + */ + MSACLogLevelVerbose = 2, + + /** + * Debug information will be logged + */ + MSACLogLevelDebug = 3, + + /** + * Information will be logged + */ + MSACLogLevelInfo = 4, + + /** + * Errors and warnings will be logged + */ + MSACLogLevelWarning = 5, + + /** + * Errors will be logged + */ + MSACLogLevelError = 6, + + /** + * Only critical errors will be logged + */ + MSACLogLevelAssert = 7, + + /** + * Logging is disabled + */ + MSACLogLevelNone = 99 +} NS_SWIFT_NAME(LogLevel); + +typedef NSString * (^MSACLogMessageProvider)(void)NS_SWIFT_NAME(LogMessageProvider); +typedef void (^MSACLogHandler)(MSACLogMessageProvider messageProvider, MSACLogLevel logLevel, NSString *tag, const char *file, + const char *function, uint line) NS_SWIFT_NAME(LogHandler); + +/** + * Channel priorities, check the kMSACPriorityCount if you add a new value. + * The order matters here! Values NEED to range from low priority to high priority. + */ +typedef NS_ENUM(NSInteger, MSACPriority) { MSACPriorityBackground, MSACPriorityDefault, MSACPriorityHigh } NS_SWIFT_NAME(Priority); +static short const kMSACPriorityCount = MSACPriorityHigh + 1; + +/** + * The priority by which the modules are initialized. + * MSACPriorityMax is reserved for only 1 module and this needs to be Crashes. + * Crashes needs to be initialized first to catch crashes in our other SDK Modules (which will hopefully never happen) and to avoid losing + * any log at crash time. + */ +typedef NS_ENUM(NSInteger, MSACInitializationPriority) { + MSACInitializationPriorityDefault = 500, + MSACInitializationPriorityHigh = 750, + MSACInitializationPriorityMax = 999 +} NS_SWIFT_NAME(InitializationPriority); + +/** + * Enum with the different HTTP status codes. + */ +typedef NS_ENUM(NSInteger, MSACHTTPCodesNo) { + + // Invalid + MSACHTTPCodesNo0XXInvalidUnknown = 0, + + // Informational + MSACHTTPCodesNo1XXInformationalUnknown = 1, + MSACHTTPCodesNo100Continue = 100, + MSACHTTPCodesNo101SwitchingProtocols = 101, + MSACHTTPCodesNo102Processing = 102, + + // Success + MSACHTTPCodesNo2XXSuccessUnknown = 2, + MSACHTTPCodesNo200OK = 200, + MSACHTTPCodesNo201Created = 201, + MSACHTTPCodesNo202Accepted = 202, + MSACHTTPCodesNo203NonAuthoritativeInformation = 203, + MSACHTTPCodesNo204NoContent = 204, + MSACHTTPCodesNo205ResetContent = 205, + MSACHTTPCodesNo206PartialContent = 206, + MSACHTTPCodesNo207MultiStatus = 207, + MSACHTTPCodesNo208AlreadyReported = 208, + MSACHTTPCodesNo209IMUsed = 209, + + // Redirection + MSACHTTPCodesNo3XXSuccessUnknown = 3, + MSACHTTPCodesNo300MultipleChoices = 300, + MSACHTTPCodesNo301MovedPermanently = 301, + MSACHTTPCodesNo302Found = 302, + MSACHTTPCodesNo303SeeOther = 303, + MSACHTTPCodesNo304NotModified = 304, + MSACHTTPCodesNo305UseProxy = 305, + MSACHTTPCodesNo306SwitchProxy = 306, + MSACHTTPCodesNo307TemporaryRedirect = 307, + MSACHTTPCodesNo308PermanentRedirect = 308, + + // Client error + MSACHTTPCodesNo4XXSuccessUnknown = 4, + MSACHTTPCodesNo400BadRequest = 400, + MSACHTTPCodesNo401Unauthorised = 401, + MSACHTTPCodesNo402PaymentRequired = 402, + MSACHTTPCodesNo403Forbidden = 403, + MSACHTTPCodesNo404NotFound = 404, + MSACHTTPCodesNo405MethodNotAllowed = 405, + MSACHTTPCodesNo406NotAcceptable = 406, + MSACHTTPCodesNo407ProxyAuthenticationRequired = 407, + MSACHTTPCodesNo408RequestTimeout = 408, + MSACHTTPCodesNo409Conflict = 409, + MSACHTTPCodesNo410Gone = 410, + MSACHTTPCodesNo411LengthRequired = 411, + MSACHTTPCodesNo412PreconditionFailed = 412, + MSACHTTPCodesNo413RequestEntityTooLarge = 413, + MSACHTTPCodesNo414RequestURITooLong = 414, + MSACHTTPCodesNo415UnsupportedMediaType = 415, + MSACHTTPCodesNo416RequestedRangeNotSatisfiable = 416, + MSACHTTPCodesNo417ExpectationFailed = 417, + MSACHTTPCodesNo418IamATeapot = 418, + MSACHTTPCodesNo419AuthenticationTimeout = 419, + MSACHTTPCodesNo420MethodFailureSpringFramework = 420, + MSACHTTPCodesNo420EnhanceYourCalmTwitter = 4200, + MSACHTTPCodesNo422UnprocessableEntity = 422, + MSACHTTPCodesNo423Locked = 423, + MSACHTTPCodesNo424FailedDependency = 424, + MSACHTTPCodesNo424MethodFailureWebDaw = 4240, + MSACHTTPCodesNo425UnorderedCollection = 425, + MSACHTTPCodesNo426UpgradeRequired = 426, + MSACHTTPCodesNo428PreconditionRequired = 428, + MSACHTTPCodesNo429TooManyRequests = 429, + MSACHTTPCodesNo431RequestHeaderFieldsTooLarge = 431, + MSACHTTPCodesNo444NoResponseNginx = 444, + MSACHTTPCodesNo449RetryWithMicrosoft = 449, + MSACHTTPCodesNo450BlockedByWindowsParentalControls = 450, + MSACHTTPCodesNo451RedirectMicrosoft = 451, + MSACHTTPCodesNo451UnavailableForLegalReasons = 4510, + MSACHTTPCodesNo494RequestHeaderTooLargeNginx = 494, + MSACHTTPCodesNo495CertErrorNginx = 495, + MSACHTTPCodesNo496NoCertNginx = 496, + MSACHTTPCodesNo497HTTPToHTTPSNginx = 497, + MSACHTTPCodesNo499ClientClosedRequestNginx = 499, + + // Server error + MSACHTTPCodesNo5XXSuccessUnknown = 5, + MSACHTTPCodesNo500InternalServerError = 500, + MSACHTTPCodesNo501NotImplemented = 501, + MSACHTTPCodesNo502BadGateway = 502, + MSACHTTPCodesNo503ServiceUnavailable = 503, + MSACHTTPCodesNo504GatewayTimeout = 504, + MSACHTTPCodesNo505HTTPVersionNotSupported = 505, + MSACHTTPCodesNo506VariantAlsoNegotiates = 506, + MSACHTTPCodesNo507InsufficientStorage = 507, + MSACHTTPCodesNo508LoopDetected = 508, + MSACHTTPCodesNo509BandwidthLimitExceeded = 509, + MSACHTTPCodesNo510NotExtended = 510, + MSACHTTPCodesNo511NetworkAuthenticationRequired = 511, + MSACHTTPCodesNo522ConnectionTimedOut = 522, + MSACHTTPCodesNo598NetworkReadTimeoutErrorUnknown = 598, + MSACHTTPCodesNo599NetworkConnectTimeoutErrorUnknown = 599 +} NS_SWIFT_NAME(HTTPCodesNo); diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACCustomProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACCustomProperties.h new file mode 100644 index 00000000..28f1cf77 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACCustomProperties.h @@ -0,0 +1,71 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CUSTOM_PROPERTIES_H +#define MSAC_CUSTOM_PROPERTIES_H + +#import + +/** + * Custom properties builder. + * Collects multiple properties to send in one log. + */ +NS_SWIFT_NAME(CustomProperties) +@interface MSACCustomProperties : NSObject + +/** + * Set the specified property value with the specified key. + * If the properties previously contained a property for the key, the old value is replaced. + * + * @param key Key with which the specified value is to be set. + * @param value Value to be set with the specified key. + * + * @return This instance. + */ +- (instancetype)setString:(NSString *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); + +/** + * Set the specified property value with the specified key. + * If the properties previously contained a property for the key, the old value is replaced. + * + * @param key Key with which the specified value is to be set. + * @param value Value to be set with the specified key. + * + * @return This instance. + */ +- (instancetype)setNumber:(NSNumber *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); + +/** + * Set the specified property value with the specified key. + * If the properties previously contained a property for the key, the old value is replaced. + * + * @param key Key with which the specified value is to be set. + * @param value Value to be set with the specified key. + * + * @return This instance. + */ +- (instancetype)setBool:(BOOL)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); + +/** + * Set the specified property value with the specified key. + * If the properties previously contained a property for the key, the old value is replaced. + * + * @param key Key with which the specified value is to be set. + * @param value Value to be set with the specified key. + * + * @return This instance. + */ +- (instancetype)setDate:(NSDate *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); + +/** + * Clear the property for the specified key. + * + * @param key Key whose mapping is to be cleared. + * + * @return This instance. + */ +- (instancetype)clearPropertyForKey:(NSString *)key NS_SWIFT_NAME(clearProperty(forKey:)); + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACDevice.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACDevice.h new file mode 100644 index 00000000..b8fd18d7 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACDevice.h @@ -0,0 +1,101 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_DEVICE_H +#define MSAC_DEVICE_H + +#import + +#if __has_include() +#import +#else +#import "MSACWrapperSdk.h" +#endif + +NS_SWIFT_NAME(Device) +@interface MSACDevice : MSACWrapperSdk + +/* + * Name of the SDK. Consists of the name of the SDK and the platform, e.g. "appcenter.ios", "appcenter.android" + */ +@property(nonatomic, copy, readonly) NSString *sdkName; + +/* + * Version of the SDK in semver format, e.g. "1.2.0" or "0.12.3-alpha.1". + */ +@property(nonatomic, copy, readonly) NSString *sdkVersion; + +/* + * Device model (example: iPad2,3). + */ +@property(nonatomic, copy, readonly) NSString *model; + +/* + * Device manufacturer (example: HTC). + */ +@property(nonatomic, copy, readonly) NSString *oemName; + +/* + * OS name (example: iOS). + */ +@property(nonatomic, copy, readonly) NSString *osName; + +/* + * OS version (example: 9.3.0). + */ +@property(nonatomic, copy, readonly) NSString *osVersion; + +/* + * OS build code (example: LMY47X). [optional] + */ +@property(nonatomic, copy, readonly) NSString *osBuild; + +/* + * API level when applicable like in Android (example: 15). [optional] + */ +@property(nonatomic, copy, readonly) NSNumber *osApiLevel; + +/* + * Language code (example: en_US). + */ +@property(nonatomic, copy, readonly) NSString *locale; + +/* + * The offset in minutes from UTC for the device time zone, including daylight savings time. + */ +@property(nonatomic, readonly, strong) NSNumber *timeZoneOffset; + +/* + * Screen size of the device in pixels (example: 640x480). + */ +@property(nonatomic, copy, readonly) NSString *screenSize; + +/* + * Application version name, e.g. 1.1.0 + */ +@property(nonatomic, copy, readonly) NSString *appVersion; + +/* + * Carrier name (for mobile devices). [optional] + */ +@property(nonatomic, copy, readonly) NSString *carrierName; + +/* + * Carrier country code (for mobile devices). [optional] + */ +@property(nonatomic, copy, readonly) NSString *carrierCountry; + +/* + * The app's build number, e.g. 42. + */ +@property(nonatomic, copy, readonly) NSString *appBuild; + +/* + * The bundle identifier, package identifier, or namespace, depending on what the individual plattforms use, .e.g com.microsoft.example. + * [optional] + */ +@property(nonatomic, copy, readonly) NSString *appNamespace; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACEnable.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACEnable.h new file mode 100644 index 00000000..3feff5b5 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACEnable.h @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_ENABLE_H +#define MSAC_ENABLE_H + +#import + +/** + * Protocol to define an instance that can be enabled/disabled. + */ +NS_SWIFT_NAME(Enable) +@protocol MSACEnable + +@required + +/** + * Enable/disable this instance and delete data on disabled state. + * + * @param isEnabled A boolean value set to YES to enable the instance or NO to disable it. + * @param deleteData A boolean value set to YES to delete data or NO to keep it. + */ +- (void)setEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deleteData NS_SWIFT_NAME(setEnabled(_:deleteDataOnDisabled:)); + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACLog.h new file mode 100644 index 00000000..d46b377f --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACLog.h @@ -0,0 +1,74 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_LOG_H +#define MSAC_LOG_H + +#import + +@class MSACDevice; + +NS_SWIFT_NAME(Log) +@protocol MSACLog + +/** + * Log type. + */ +@property(nonatomic, copy) NSString *type; + +/** + * Log timestamp. + */ +@property(nonatomic, strong) NSDate *timestamp; + +/** + * A session identifier is used to correlate logs together. A session is an abstract concept in the API and is not necessarily an analytics + * session, it can be used to only track crashes. + */ +@property(nonatomic, copy) NSString *sid; + +/** + * Optional distribution group ID value. + */ +@property(nonatomic, copy) NSString *distributionGroupId; + +/** + * Optional user identifier. + */ +@property(nonatomic, copy) NSString *userId; + +/** + * Device properties associated to this log. + */ +@property(nonatomic, strong) MSACDevice *device; + +/** + * Transient object tag. For example, a log can be tagged with a transmission target. We do this currently to prevent properties being + * applied retroactively to previous logs by comparing their tags. + */ +@property(nonatomic, strong) NSObject *tag; + +/** + * Checks if the object's values are valid. + * + * @return YES, if the object is valid. + */ +- (BOOL)isValid; + +/** + * Adds a transmission target token that this log should be sent to. + * + * @param token The transmission target token. + */ +- (void)addTransmissionTargetToken:(NSString *)token; + +/** + * Gets all transmission target tokens that this log should be sent to. + * + * @returns Collection of transmission target tokens that this log should be sent to. + */ +- (NSSet *)transmissionTargetTokens; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSLogWithProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACLogWithProperties.h similarity index 50% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSLogWithProperties.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACLogWithProperties.h index 7a3b372d..12af6c40 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSLogWithProperties.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACLogWithProperties.h @@ -1,14 +1,19 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_LOG_WITH_PROPERTIES_H -#define MS_LOG_WITH_PROPERTIES_H +#ifndef MSAC_LOG_WITH_PROPERTIES_H +#define MSAC_LOG_WITH_PROPERTIES_H #import -#import "MSAbstractLog.h" +#if __has_include() +#import +#else +#import "MSACAbstractLog.h" +#endif -@interface MSLogWithProperties : MSAbstractLog +NS_SWIFT_NAME(LogWithProperties) +@interface MSACLogWithProperties : MSACAbstractLog /** * Additional key/value pair parameters. [optional] diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACLogger.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACLogger.h new file mode 100644 index 00000000..bb4b4136 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACLogger.h @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef MSAC_LOGGER +#define MSAC_LOGGER + +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif + +#define MSACLog(_level, _tag, _message) \ + [MSACLogger logMessage:_message level:_level tag:_tag file:__FILE__ function:__PRETTY_FUNCTION__ line:__LINE__] +#define MSACLogAssert(tag, format, ...) \ + MSACLog(MSACLogLevelAssert, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogError(tag, format, ...) \ + MSACLog(MSACLogLevelError, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogWarning(tag, format, ...) \ + MSACLog(MSACLogLevelWarning, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogInfo(tag, format, ...) \ + MSACLog(MSACLogLevelInfo, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogDebug(tag, format, ...) \ + MSACLog(MSACLogLevelDebug, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogVerbose(tag, format, ...) \ + MSACLog(MSACLogLevelVerbose, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) + +NS_SWIFT_NAME(Logger) +@interface MSACLogger : NSObject + ++ (void)logMessage:(MSACLogMessageProvider)messageProvider + level:(MSACLogLevel)loglevel + tag:(NSString *)tag + file:(const char *)file + function:(const char *)function + line:(uint)line; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACService.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACService.h new file mode 100644 index 00000000..b9fafff9 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACService.h @@ -0,0 +1,23 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_SERVICE_H +#define MSAC_SERVICE_H + +#import + +/** + * Protocol declaring service logic. + */ +NS_SWIFT_NAME(Service) +@protocol MSACService + +/** + * Indicates whether this service is enabled. + * The state is persisted in the device's storage across application launches. + */ +@property(class, nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Headers/MSServiceAbstract.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACServiceAbstract.h similarity index 73% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Headers/MSServiceAbstract.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACServiceAbstract.h index 3e5e8dec..ad7a2ef3 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Headers/MSServiceAbstract.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACServiceAbstract.h @@ -1,20 +1,25 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_SERVICE_ABSTRACT_H -#define MS_SERVICE_ABSTRACT_H +#ifndef MSAC_SERVICE_ABSTRACT_H +#define MSAC_SERVICE_ABSTRACT_H #import -#import "MSService.h" +#if __has_include() +#import +#else +#import "MSACService.h" +#endif -@protocol MSChannelGroupProtocol; +@protocol MSACChannelGroupProtocol; /** * Abstraction of services common logic. * This class is intended to be subclassed only not instantiated directly. */ -@interface MSServiceAbstract : NSObject +NS_SWIFT_NAME(ServiceAbstract) +@interface MSACServiceAbstract : NSObject /** * The flag indicates whether the service is started from application or not. @@ -29,7 +34,7 @@ * @param token default transmission target token for this service. * @param fromApplication indicates whether the service started from an application or not. */ -- (void)startWithChannelGroup:(id)channelGroup +- (void)startWithChannelGroup:(id)channelGroup appSecret:(NSString *)appSecret transmissionTargetToken:(NSString *)token fromApplication:(BOOL)fromApplication; @@ -44,11 +49,9 @@ - (void)updateConfigurationWithAppSecret:(NSString *)appSecret transmissionTargetToken:(NSString *)token; /** - * Checks if the service needs the application secret. - * - * @return `YES` if the application secret is required, `NO` otherwise. + * The flag indicate whether the service needs the application secret or not. */ -- (BOOL)isAppSecretRequired; +@property(atomic, readonly) BOOL isAppSecretRequired; @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACWrapperLogger.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACWrapperLogger.h new file mode 100644 index 00000000..79a14622 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACWrapperLogger.h @@ -0,0 +1,21 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif + +/** + * This is a utility for producing App Center style log messages. It is only intended for use by App Center services and wrapper SDKs of App + * Center. + */ +NS_SWIFT_NAME(WrapperLogger) +@interface MSACWrapperLogger : NSObject + ++ (void)MSACWrapperLog:(MSACLogMessageProvider)message tag:(NSString *)tag level:(MSACLogLevel)level; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACWrapperSdk.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACWrapperSdk.h new file mode 100644 index 00000000..20410721 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Headers/MSACWrapperSdk.h @@ -0,0 +1,60 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_WRAPPER_SDK_H +#define MSAC_WRAPPER_SDK_H + +#import + +NS_SWIFT_NAME(WrapperSdk) +@interface MSACWrapperSdk : NSObject + +/* + * Version of the wrapper SDK. When the SDK is embedding another base SDK (for example Xamarin.Android wraps Android), the Xamarin specific + * version is populated into this field while sdkVersion refers to the original Android SDK. [optional] + */ +@property(nonatomic, copy, readonly) NSString *wrapperSdkVersion; + +/* + * Name of the wrapper SDK (examples: Xamarin, Cordova). [optional] + */ +@property(nonatomic, copy, readonly) NSString *wrapperSdkName; + +/* + * Version of the wrapper technology framework (Xamarin runtime version or ReactNative or Cordova etc...). [optional] + */ +@property(nonatomic, copy, readonly) NSString *wrapperRuntimeVersion; + +/* + * Label that is used to identify application code 'version' released via Live Update beacon running on device. + */ +@property(nonatomic, copy, readonly) NSString *liveUpdateReleaseLabel; + +/* + * Identifier of environment that current application release belongs to, deployment key then maps to environment like Production, Staging. + */ +@property(nonatomic, copy, readonly) NSString *liveUpdateDeploymentKey; + +/* + * Hash of all files (ReactNative or Cordova) deployed to device via LiveUpdate beacon. Helps identify the Release version on device or need + * to download updates in future + */ +@property(nonatomic, copy, readonly) NSString *liveUpdatePackageHash; + +- (instancetype)initWithWrapperSdkVersion:(NSString *)wrapperSdkVersion + wrapperSdkName:(NSString *)wrapperSdkName + wrapperRuntimeVersion:(NSString *)wrapperRuntimeVersion + liveUpdateReleaseLabel:(NSString *)liveUpdateReleaseLabel + liveUpdateDeploymentKey:(NSString *)liveUpdateDeploymentKey + liveUpdatePackageHash:(NSString *)liveUpdatePackageHash; + +/** + * Checks if the object's values are valid. + * + * @return YES, if the object is valid. + */ +- (BOOL)isValid; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Info.plist new file mode 100644 index 00000000..63065c6b Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Info.plist differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Modules/module.modulemap new file mode 100644 index 00000000..f15d734d --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/Modules/module.modulemap @@ -0,0 +1,13 @@ +framework module AppCenter { + umbrella header "AppCenter.h" + + export * + module * { export * } + + link framework "Foundation" + link framework "CoreTelephony" + link framework "SystemConfiguration" + link framework "UIKit" + link "sqlite3" + link "z" +} diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/PrivateHeaders/MSACChannelDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/PrivateHeaders/MSACChannelDelegate.h new file mode 100644 index 00000000..0702176e --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/PrivateHeaders/MSACChannelDelegate.h @@ -0,0 +1,114 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#import "MSACConstants+Flags.h" + +@protocol MSACChannelUnitProtocol; +@protocol MSACChannelGroupProtocol; +@protocol MSACChannelProtocol; +@protocol MSACLog; + +NS_ASSUME_NONNULL_BEGIN + +@protocol MSACChannelDelegate + +@optional + +/** + * A callback that is called when a channel unit is added to the channel group. + * + * @param channelGroup The channel group. + * @param channel The newly added channel. + */ +- (void)channelGroup:(id)channelGroup didAddChannelUnit:(id)channel; + +/** + * A callback that is called when a log is just enqueued. Delegates may want to prepare the log a little more before further processing. + * + * @param log The log to prepare. + */ +- (void)channel:(id)channel prepareLog:(id)log; + +/** + * A callback that is called after a log is definitely prepared. + * + * @param log The log. + * @param internalId An internal Id to keep track of logs. + * @param flags Options for the log. + */ +- (void)channel:(id)channel didPrepareLog:(id)log internalId:(NSString *)internalId flags:(MSACFlags)flags; + +/** + * A callback that is called after a log completed the enqueueing process whether it was successful or not. + * + * @param log The log. + * @param internalId An internal Id to keep track of logs. + */ +- (void)channel:(id)channel didCompleteEnqueueingLog:(id)log internalId:(NSString *)internalId; + +/** + * Callback method that will be called before each log will be send to the server. + * + * @param channel The channel object. + * @param log The log to be sent. + */ +- (void)channel:(id)channel willSendLog:(id)log; + +/** + * Callback method that will be called in case the SDK was able to send a log. + * + * @param channel The channel object. + * @param log The log to be sent. + */ +- (void)channel:(id)channel didSucceedSendingLog:(id)log; + +/** + * Callback method that will be called in case the SDK was unable to send a log. + * + * @param channel The channel object. + * @param log The log to be sent. + * @param error The error that occured. + */ +- (void)channel:(id)channel didFailSendingLog:(id)log withError:(nullable NSError *)error; + +/** + * A callback that is called when setEnabled has been invoked. + * + * @param channel The channel. + * @param isEnabled The boolean that indicates enabled. + * @param deletedData The boolean that indicates deleting data on disabled. + */ +- (void)channel:(id)channel didSetEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deletedData; + +/** + * A callback that is called when pause has been invoked. + * + * @param channel The channel. + * @param identifyingObject The identifying object used to pause the channel. + */ +- (void)channel:(id)channel didPauseWithIdentifyingObject:(id)identifyingObject; + +/** + * A callback that is called when resume has been invoked. + * + * @param channel The channel. + * @param identifyingObject The identifying object used to resume the channel. + */ +- (void)channel:(id)channel didResumeWithIdentifyingObject:(id)identifyingObject; + +/** + * Callback method that will determine if a log should be filtered out from the usual processing pipeline. If any delegate returns true, the + * log is filtered. + * + * @param channelUnit The channel unit that is going to send the log. + * @param log The log to be filtered or not. + * + * @return `true` if the log should be filtered out. + */ +- (BOOL)channelUnit:(id)channelUnit shouldFilterLog:(id)log; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeDirectory b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeDirectory new file mode 100644 index 00000000..a0a3b69f Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeDirectory differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeRequirements b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeRequirements new file mode 100644 index 00000000..dbf9d614 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeRequirements differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeRequirements-1 b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeRequirements-1 new file mode 100644 index 00000000..9b5f5537 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeRequirements-1 differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeResources b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeResources new file mode 100644 index 00000000..5e6e0e6c --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeResources @@ -0,0 +1,402 @@ + + + + + files + + Headers/AppCenter.h + + qaTNZSZUTXwLe2rrosDNCarRqAM= + + Headers/MSACAbstractLog.h + + +Ikfy/fTOpqwPZM3Fpii3cpsx8Y= + + Headers/MSACAppCenter.h + + 2cUgfgx3odOGivdk+n6FXq94KgU= + + Headers/MSACAppCenterErrors.h + + x7h4qpHD4GI3jrJ3F7n4UXAANsk= + + Headers/MSACChannelGroupProtocol.h + + jyWCHN4PSygLVy0IM5565DvDQAc= + + Headers/MSACChannelProtocol.h + + Y1rKi/TsirTR0MGBf1rIO/TTG0A= + + Headers/MSACConstants+Flags.h + + GK1gUSyIjWdv7KBP68wNxjxaH+E= + + Headers/MSACConstants.h + + d9HwKA0/VH3+pLRj1Pd49mqn2gI= + + Headers/MSACCustomProperties.h + + m7A9hEgL3d0gV4SyKmXJYRtwqoQ= + + Headers/MSACDevice.h + + suv4Wkt36Nkscy7jX2SSYzrkLRs= + + Headers/MSACEnable.h + + 3DnplEFkD1LImYNk+84TqcQvBho= + + Headers/MSACLog.h + + 1/7NIwYuYLGHIVMZps8b6/zOpJg= + + Headers/MSACLogWithProperties.h + + I4y13KVE36pyXv85mc5OWlCjplE= + + Headers/MSACLogger.h + + CaYHmB3+psy5/txfMvd2+bWGJkc= + + Headers/MSACService.h + + lz5atiMe+oTdu9e6g74KPC0CjOs= + + Headers/MSACServiceAbstract.h + + rBHatSAJK78PLgsMIpFqkby4tgA= + + Headers/MSACWrapperLogger.h + + qBVuNkF12BZYytRhCKwZ7zkiKhc= + + Headers/MSACWrapperSdk.h + + W9sdhEGnIGk/aFHS3gWwQ6FxUfI= + + Info.plist + + eLocy8MzO4Q0e5Dw+QDZTDOmWCI= + + Modules/module.modulemap + + go9b9XYQJIVcGlS/K5PS+8A+0dI= + + PrivateHeaders/MSACChannelDelegate.h + + Msff4BZ/b1IjaYeKTDBHtNtT7wI= + + + files2 + + Headers/AppCenter.h + + hash + + qaTNZSZUTXwLe2rrosDNCarRqAM= + + hash2 + + 2Wv2BhvzEcs7qHle8K3IXhWh7EVoAIrE2gOs4b0p39c= + + + Headers/MSACAbstractLog.h + + hash + + +Ikfy/fTOpqwPZM3Fpii3cpsx8Y= + + hash2 + + 7hsXFv3UkGsJLcc3eh2pMUrGbGYP2hCUC854z05SzNQ= + + + Headers/MSACAppCenter.h + + hash + + 2cUgfgx3odOGivdk+n6FXq94KgU= + + hash2 + + C10z0NrhN4J4qdWbypOdjlQ8QLlq4tvPMP21geOS4vI= + + + Headers/MSACAppCenterErrors.h + + hash + + x7h4qpHD4GI3jrJ3F7n4UXAANsk= + + hash2 + + OcNwIIu4yFxG62mZtiABP3/9DoN9tj1fL/7nSvF8u8s= + + + Headers/MSACChannelGroupProtocol.h + + hash + + jyWCHN4PSygLVy0IM5565DvDQAc= + + hash2 + + d36rCjxsURqDkFv+g5BwWNybz5Zksc9B91gqArFcJbk= + + + Headers/MSACChannelProtocol.h + + hash + + Y1rKi/TsirTR0MGBf1rIO/TTG0A= + + hash2 + + fI1fLkJvo9SXh2bAUWKIYlretRCOoGWJwlyvqMfQZNc= + + + Headers/MSACConstants+Flags.h + + hash + + GK1gUSyIjWdv7KBP68wNxjxaH+E= + + hash2 + + UDnw7GyNXzip13MvAvNKQQsWIUgU296uJHjPEkReCY8= + + + Headers/MSACConstants.h + + hash + + d9HwKA0/VH3+pLRj1Pd49mqn2gI= + + hash2 + + xx69UfYa0qw6aSDuVsUAqd/1+t90QCPkQUae+elZwZ0= + + + Headers/MSACCustomProperties.h + + hash + + m7A9hEgL3d0gV4SyKmXJYRtwqoQ= + + hash2 + + FveTXq+kqUdHHlSdLAoQisgT+95bzAuXTrTOQG/b/P8= + + + Headers/MSACDevice.h + + hash + + suv4Wkt36Nkscy7jX2SSYzrkLRs= + + hash2 + + i3TVX2C+DfcRKn2HTBaydWBYHjryX2Cy/eJJxjTFiT8= + + + Headers/MSACEnable.h + + hash + + 3DnplEFkD1LImYNk+84TqcQvBho= + + hash2 + + XrDKc7bXZaW8JW4NMItSBrHLR6a+LRG1JSLXZ0U0NsI= + + + Headers/MSACLog.h + + hash + + 1/7NIwYuYLGHIVMZps8b6/zOpJg= + + hash2 + + 3GF6xCTfpLDmOqKnacEOEDr5mkM/llKm0IoIEyISZKA= + + + Headers/MSACLogWithProperties.h + + hash + + I4y13KVE36pyXv85mc5OWlCjplE= + + hash2 + + WIrz7Xsi04AboAmZ5dA3d3t8D/8PomKLwsp7oorznVM= + + + Headers/MSACLogger.h + + hash + + CaYHmB3+psy5/txfMvd2+bWGJkc= + + hash2 + + GipSaz+D+Z5eWauQP+10U8xvbAnxPeIRD4HTvn0F5DQ= + + + Headers/MSACService.h + + hash + + lz5atiMe+oTdu9e6g74KPC0CjOs= + + hash2 + + aiO/PWAQDwhbPW1HDGqNM0kn4xYSwqPmdpmcTgpW/CE= + + + Headers/MSACServiceAbstract.h + + hash + + rBHatSAJK78PLgsMIpFqkby4tgA= + + hash2 + + vi9/mVDQylipTtHNfUe9r4GXjlc2bEnKFV8wmN/IXaE= + + + Headers/MSACWrapperLogger.h + + hash + + qBVuNkF12BZYytRhCKwZ7zkiKhc= + + hash2 + + h2VHxvALAogCMocFQMUjmOkhCm+qkJwpGTzxwdxTdwo= + + + Headers/MSACWrapperSdk.h + + hash + + W9sdhEGnIGk/aFHS3gWwQ6FxUfI= + + hash2 + + 5x+0epJnQN2wZKY2xjvsjAYrr6H1QGYIGz0ptux72dU= + + + Modules/module.modulemap + + hash + + go9b9XYQJIVcGlS/K5PS+8A+0dI= + + hash2 + + o0lkqm4+xeVosltUC3U+jCZnS35Tg8gUiUaKXbo0ZbQ= + + + PrivateHeaders/MSACChannelDelegate.h + + hash + + Msff4BZ/b1IjaYeKTDBHtNtT7wI= + + hash2 + + d1uS+ptvOX/o3CCB23FEJAtvcf7KIf/8ozlruAf1f0g= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeSignature b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_i386_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeSignature new file mode 100644 index 00000000..e69de29b diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/AppCenter b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/AppCenter new file mode 120000 index 00000000..c6e14dc8 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/AppCenter @@ -0,0 +1 @@ +Versions/Current/AppCenter \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Headers b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Headers new file mode 120000 index 00000000..a177d2a6 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Modules b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Modules new file mode 120000 index 00000000..5736f318 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/PrivateHeaders b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/PrivateHeaders new file mode 120000 index 00000000..d8e56452 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/PrivateHeaders @@ -0,0 +1 @@ +Versions/Current/PrivateHeaders \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Resources b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Resources new file mode 120000 index 00000000..953ee36f --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/AppCenter b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/AppCenter new file mode 100644 index 00000000..46c9a614 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/AppCenter differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/AppCenter.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/AppCenter.h new file mode 100644 index 00000000..559521e5 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/AppCenter.h @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#else +#import "MSACAbstractLog.h" +#import "MSACAppCenter.h" +#import "MSACAppCenterErrors.h" +#import "MSACChannelGroupProtocol.h" +#import "MSACChannelProtocol.h" +#import "MSACConstants+Flags.h" +#import "MSACConstants.h" +#import "MSACCustomProperties.h" +#import "MSACDevice.h" +#import "MSACEnable.h" +#import "MSACLog.h" +#import "MSACLogWithProperties.h" +#import "MSACLogger.h" +#import "MSACService.h" +#import "MSACServiceAbstract.h" +#import "MSACWrapperLogger.h" +#import "MSACWrapperSdk.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSAbstractLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACAbstractLog.h similarity index 54% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSAbstractLog.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACAbstractLog.h index 76d02685..2d6db269 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSAbstractLog.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACAbstractLog.h @@ -1,12 +1,13 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_ABSTRACT_LOG_H -#define MS_ABSTRACT_LOG_H +#ifndef MSAC_ABSTRACT_LOG_H +#define MSAC_ABSTRACT_LOG_H #import -@interface MSAbstractLog : NSObject +NS_SWIFT_NAME(AbstractLog) +@interface MSACAbstractLog : NSObject @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACAppCenter.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACAppCenter.h new file mode 100644 index 00000000..4e4f689e --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACAppCenter.h @@ -0,0 +1,203 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef MSAC_APP_CENTER +#define MSAC_APP_CENTER + +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif + +@class MSACWrapperSdk; + +#if !TARGET_OS_TV +@class MSACCustomProperties; +#endif + +NS_SWIFT_NAME(AppCenter) +@interface MSACAppCenter : NSObject + +/** + * Returns the singleton instance of MSACAppCenter. + */ ++ (instancetype)sharedInstance; + +/** + * Configure the SDK with an application secret. + * + * @param appSecret A unique and secret key used to identify the application. + * + * @discussion This may be called only once per application process lifetime. + */ ++ (void)configureWithAppSecret:(NSString *)appSecret NS_SWIFT_NAME(configure(withAppSecret:)); + +/** + * Configure the SDK. + * + * @discussion This may be called only once per application process lifetime. + */ ++ (void)configure; + +/** + * Configure the SDK with an application secret and an array of services to start. + * + * @param appSecret A unique and secret key used to identify the application. + * @param services Array of services to start. + * + * @discussion This may be called only once per application process lifetime. + */ ++ (void)start:(NSString *)appSecret withServices:(NSArray *)services NS_SWIFT_NAME(start(withAppSecret:services:)); + +/** + * Start the SDK with an array of services. + * + * @param services Array of services to start. + * + * @discussion This may be called only once per application process lifetime. + */ ++ (void)startWithServices:(NSArray *)services NS_SWIFT_NAME(start(services:)); + +/** + * Start a service. + * + * @param service A service to start. + * + * @discussion This may be called only once per service per application process lifetime. + */ ++ (void)startService:(Class)service; + +/** + * Configure the SDK with an array of services to start from a library. This will not start the service at application level, it will enable + * the service only for the library. + * + * @param services Array of services to start. + */ ++ (void)startFromLibraryWithServices:(NSArray *)services NS_SWIFT_NAME(startFromLibrary(services:)); + +/** + * The flag indicates whether the SDK has already been configured or not. + */ +@property(class, atomic, readonly, getter=isConfigured) BOOL configured; + +/** + * The flag indicates whether app is running in App Center Test Cloud. + */ +@property(class, atomic, readonly, getter=isRunningInAppCenterTestCloud) BOOL runningInAppCenterTestCloud; + +/** + * The flag indicates whether or not the SDK was enabled as a whole + * + * The state is persisted in the device's storage across application launches. + */ +@property(class, nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); + +/** + * Flag indicating whether SDK can send network requests. + * + * The state is persisted in the device's storage across application launches. + */ +@property(class, nonatomic, getter=isNetworkRequestsAllowed, setter=setNetworkRequestsAllowed:) + BOOL networkRequestsAllowed NS_SWIFT_NAME(networkRequestsAllowed); + +/** + * The SDK's log level. + */ +@property(class, nonatomic) MSACLogLevel logLevel; + +/** + * Base URL to use for backend communication. + */ +@property(class, nonatomic, strong) NSString *logUrl; + +/** + * Set log handler. + */ +@property(class, nonatomic) MSACLogHandler logHandler; + +/** + * Set wrapper SDK information to use when building device properties. This is intended in case you are building a SDK that uses the App + * Center SDK under the hood, e.g. our Xamarin SDK or ReactNative SDk. + */ +@property(class, nonatomic, strong) MSACWrapperSdk *wrapperSdk; + +#if !TARGET_OS_TV +/** + * Set the custom properties. + * + * @param customProperties Custom properties object. + */ ++ (void)setCustomProperties:(MSACCustomProperties *)customProperties; +#endif + +/** + * Check whether the application delegate forwarder is enabled or not. + * + * @discussion The application delegate forwarder forwards messages that target your application delegate methods via swizzling to the SDK. + * It simplifies the SDK integration but may not be suitable to any situations. For + * instance it should be disabled if you or one of your third party SDK is doing message forwarding on the application delegate. Message + * forwarding usually implies the implementation of @see NSObject#forwardingTargetForSelector: or @see NSObject#forwardInvocation: methods. + * To disable the application delegate forwarder just add the `AppCenterAppDelegateForwarderEnabled` tag to your Info .plist file and set it + * to `0`. Then you will have to forward any application delegate needed by the SDK manually. + */ +@property(class, readonly, nonatomic, getter=isAppDelegateForwarderEnabled) BOOL appDelegateForwarderEnabled; + +/** + * Unique installation identifier. + * + */ +@property(class, readonly, nonatomic) NSUUID *installId; + +/** + * Detect if a debugger is attached to the app process. This is only invoked once on app startup and can not detect + * if the debugger is being attached during runtime! + * + */ +@property(class, readonly, nonatomic, getter=isDebuggerAttached) BOOL debuggerAttached; + +/** + * Current version of AppCenter SDK. + * + */ +@property(class, readonly, nonatomic) NSString *sdkVersion; + +/** + * Set the maximum size of the internal storage. This method must be called before App Center is started. This method is only intended for + * applications. + * + * @param sizeInBytes Maximum size of the internal storage in bytes. This will be rounded up to the nearest multiple of a SQLite page size + * (default is 4096 bytes). Values below 20,480 bytes (20 KiB) will be ignored. + * + * @param completionHandler Callback that is invoked when the database size has been set. The `BOOL` parameter is `YES` if changing the size + * is successful, and `NO` otherwise. This parameter can be null. + * + * @discussion This only sets the maximum size of the database, but App Center modules might store additional data. + * The value passed to this method is not persisted on disk. The default maximum database size is 10485760 bytes (10 MiB). + */ ++ (void)setMaxStorageSize:(long)sizeInBytes completionHandler:(void (^)(BOOL))completionHandler; + +/** + * Set the user identifier. + * + * @discussion Set the user identifier for logs sent for the default target token when the secret passed in @c + * MSACAppCenter:start:withServices: contains "target={targetToken}". + * + * For App Center backend the user identifier maximum length is 256 characters. + * + * AppCenter must be configured or started before this API can be used. + */ +@property(class, nonatomic, strong) NSString *userId; + +/** + * Set country code to use when building device properties. + * + * @see https://www.iso.org/obp/ui/#search for more information. + */ +@property(class, nonatomic, strong) NSString *countryCode; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACAppCenterErrors.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACAppCenterErrors.h new file mode 100644 index 00000000..8e77d77c --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACAppCenterErrors.h @@ -0,0 +1,41 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_APP_CENTER_ERRORS_H +#define MSAC_APP_CENTER_ERRORS_H + +#import + +#define MSAC_APP_CENTER_BASE_DOMAIN @"com.Microsoft.AppCenter." + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - Domain + +static NSString *const kMSACACErrorDomain = MSAC_APP_CENTER_BASE_DOMAIN @"ErrorDomain"; + +#pragma mark - General + +// Error codes. +NS_ENUM(NSInteger){MSACACLogInvalidContainerErrorCode = 1, MSACACCanceledErrorCode = 2, MSACACDisabledErrorCode = 3}; + +// Error descriptions. +static NSString const *kMSACACLogInvalidContainerErrorDesc = @"Invalid log container."; +static NSString const *kMSACACCanceledErrorDesc = @"The operation was canceled."; +static NSString const *kMSACACDisabledErrorDesc = @"The service is disabled."; + +#pragma mark - Connection + +// Error codes. +NS_ENUM(NSInteger){MSACACConnectionPausedErrorCode = 100, MSACACConnectionHttpErrorCode = 101}; + +// Error descriptions. +static NSString const *kMSACACConnectionHttpErrorDesc = @"An HTTP error occured."; +static NSString const *kMSACACConnectionPausedErrorDesc = @"Canceled, connection paused with log deletion."; + +// Error user info keys. +static NSString const *kMSACACConnectionHttpCodeErrorKey = @"MSConnectionHttpCode"; + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACChannelGroupProtocol.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACChannelGroupProtocol.h new file mode 100644 index 00000000..2d621d85 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACChannelGroupProtocol.h @@ -0,0 +1,87 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CHANNEL_GROUP_PROTOCOL_H +#define MSAC_CHANNEL_GROUP_PROTOCOL_H + +#import + +#if __has_include() +#import +#else +#import "MSACChannelProtocol.h" +#endif + +NS_ASSUME_NONNULL_BEGIN + +@class MSACChannelUnitConfiguration; + +@protocol MSACIngestionProtocol; +@protocol MSACChannelUnitProtocol; + +/** + * `MSACChannelGroupProtocol` represents a kind of channel that contains constituent MSACChannelUnit objects. When an operation from the + * `MSACChannelProtocol` is performed on the group, that operation should be propagated to its constituent MSACChannelUnit objects. + */ +NS_SWIFT_NAME(ChannelGroupProtocol) +@protocol MSACChannelGroupProtocol + +/** + * Initialize a channel unit with the given configuration. + * + * @param configuration channel configuration. + * + * @return The added `MSACChannelUnitProtocol`. Use this object to enqueue logs. + */ +- (id)addChannelUnitWithConfiguration:(MSACChannelUnitConfiguration *)configuration + NS_SWIFT_NAME(addChannelUnit(withConfiguration:)); + +/** + * Initialize a channel unit with the given configuration. + * + * @param configuration channel configuration. + * @param ingestion The alternative ingestion object + * + * @return The added `MSACChannelUnitProtocol`. Use this object to enqueue logs. + */ +- (id)addChannelUnitWithConfiguration:(MSACChannelUnitConfiguration *)configuration + withIngestion:(nullable id)ingestion + NS_SWIFT_NAME(addChannelUnit(_:ingestion:)); + +/** + * Change the base URL (schema + authority + port only) used to communicate with the backend. + */ +@property(nonatomic, strong) NSString *_Nullable logUrl; + +/** + * Set the app secret. + */ +@property(nonatomic, strong) NSString *_Nullable appSecret; + +/** + * Set the maximum size of the internal storage. This method must be called before App Center is started. + * + * @discussion The default maximum database size is 10485760 bytes (10 MiB). + * + * @param sizeInBytes Maximum size of the internal storage in bytes. This will be rounded up to the nearest multiple of a SQLite page size + * (default is 4096 bytes). Values below 24576 bytes (24 KiB) will be ignored. + * @param completionHandler Callback that is invoked when the database size has been set. The `BOOL` parameter is `YES` if changing the size + * is successful, and `NO` otherwise. + */ +- (void)setMaxStorageSize:(long)sizeInBytes + completionHandler:(nullable void (^)(BOOL))completionHandler NS_SWIFT_NAME(setMaxStorageSize(_:completionHandler:)); + +/** + * Return a channel unit instance for the given groupId. + * + * @param groupId The group ID for a channel unit. + * + * @return A channel unit instance or `nil`. + */ +- (nullable id)channelUnitForGroupId:(NSString *)groupId; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACChannelProtocol.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACChannelProtocol.h new file mode 100644 index 00000000..09fcb7d0 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACChannelProtocol.h @@ -0,0 +1,68 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CHANNEL_PROTOCOL_H +#define MSAC_CHANNEL_PROTOCOL_H + +#import + +#if __has_include() +#import +#else +#import "MSACEnable.h" +#endif + +NS_ASSUME_NONNULL_BEGIN + +@protocol MSACChannelDelegate; + +/** + * `MSACChannelProtocol` contains the essential operations of a channel. Channels are broadly responsible for enqueuing logs to be sent to + * the backend and/or stored on disk. + */ +NS_SWIFT_NAME(ChannelProtocol) +@protocol MSACChannelProtocol + +/** + * Add delegate. + * + * @param delegate delegate. + */ +- (void)addDelegate:(id)delegate; + +/** + * Remove delegate. + * + * @param delegate delegate. + */ +- (void)removeDelegate:(id)delegate; + +/** + * Pause operations, logs will be stored but not sent. + * + * @param identifyingObject Object used to identify the pause request. + * + * @discussion A paused channel doesn't forward logs to the ingestion. The identifying object used to pause the channel can be any unique + * object. The same identifying object must be used to call resume. For simplicity if the caller is the one owning the channel then @c self + * can be used as identifying object. + * + * @see resumeWithIdentifyingObject: + */ +- (void)pauseWithIdentifyingObject:(id)identifyingObject; + +/** + * Resume operations, logs can be sent again. + * + * @param identifyingObject Object used to passed to the pause method. + * + * @discussion The channel only resume when all the outstanding identifying objects have been resumed. + * + * @see pauseWithIdentifyingObject: + */ +- (void)resumeWithIdentifyingObject:(id)identifyingObject; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACConstants+Flags.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACConstants+Flags.h new file mode 100644 index 00000000..5408e550 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACConstants+Flags.h @@ -0,0 +1,18 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CONSTANTS_FLAGS_H +#define MSAC_CONSTANTS_FLAGS_H + +#import + +typedef NS_OPTIONS(NSUInteger, MSACFlags) { + MSACFlagsNone = (0 << 0), // => 00000000 + MSACFlagsNormal = (1 << 0), // => 00000001 + MSACFlagsCritical = (1 << 1), // => 00000010 + MSACFlagsPersistenceNormal DEPRECATED_MSG_ATTRIBUTE("please use MSACFlagsNormal") = MSACFlagsNormal, + MSACFlagsPersistenceCritical DEPRECATED_MSG_ATTRIBUTE("please use MSACFlagsCritical") = MSACFlagsCritical, + MSACFlagsDefault = MSACFlagsNormal +} NS_SWIFT_NAME(Flags); + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACConstants.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACConstants.h new file mode 100644 index 00000000..545e9ea7 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACConstants.h @@ -0,0 +1,170 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +/** + * Log Levels + */ +typedef NS_ENUM(NSUInteger, MSACLogLevel) { + + /** + * Logging will be very chatty + */ + MSACLogLevelVerbose = 2, + + /** + * Debug information will be logged + */ + MSACLogLevelDebug = 3, + + /** + * Information will be logged + */ + MSACLogLevelInfo = 4, + + /** + * Errors and warnings will be logged + */ + MSACLogLevelWarning = 5, + + /** + * Errors will be logged + */ + MSACLogLevelError = 6, + + /** + * Only critical errors will be logged + */ + MSACLogLevelAssert = 7, + + /** + * Logging is disabled + */ + MSACLogLevelNone = 99 +} NS_SWIFT_NAME(LogLevel); + +typedef NSString * (^MSACLogMessageProvider)(void)NS_SWIFT_NAME(LogMessageProvider); +typedef void (^MSACLogHandler)(MSACLogMessageProvider messageProvider, MSACLogLevel logLevel, NSString *tag, const char *file, + const char *function, uint line) NS_SWIFT_NAME(LogHandler); + +/** + * Channel priorities, check the kMSACPriorityCount if you add a new value. + * The order matters here! Values NEED to range from low priority to high priority. + */ +typedef NS_ENUM(NSInteger, MSACPriority) { MSACPriorityBackground, MSACPriorityDefault, MSACPriorityHigh } NS_SWIFT_NAME(Priority); +static short const kMSACPriorityCount = MSACPriorityHigh + 1; + +/** + * The priority by which the modules are initialized. + * MSACPriorityMax is reserved for only 1 module and this needs to be Crashes. + * Crashes needs to be initialized first to catch crashes in our other SDK Modules (which will hopefully never happen) and to avoid losing + * any log at crash time. + */ +typedef NS_ENUM(NSInteger, MSACInitializationPriority) { + MSACInitializationPriorityDefault = 500, + MSACInitializationPriorityHigh = 750, + MSACInitializationPriorityMax = 999 +} NS_SWIFT_NAME(InitializationPriority); + +/** + * Enum with the different HTTP status codes. + */ +typedef NS_ENUM(NSInteger, MSACHTTPCodesNo) { + + // Invalid + MSACHTTPCodesNo0XXInvalidUnknown = 0, + + // Informational + MSACHTTPCodesNo1XXInformationalUnknown = 1, + MSACHTTPCodesNo100Continue = 100, + MSACHTTPCodesNo101SwitchingProtocols = 101, + MSACHTTPCodesNo102Processing = 102, + + // Success + MSACHTTPCodesNo2XXSuccessUnknown = 2, + MSACHTTPCodesNo200OK = 200, + MSACHTTPCodesNo201Created = 201, + MSACHTTPCodesNo202Accepted = 202, + MSACHTTPCodesNo203NonAuthoritativeInformation = 203, + MSACHTTPCodesNo204NoContent = 204, + MSACHTTPCodesNo205ResetContent = 205, + MSACHTTPCodesNo206PartialContent = 206, + MSACHTTPCodesNo207MultiStatus = 207, + MSACHTTPCodesNo208AlreadyReported = 208, + MSACHTTPCodesNo209IMUsed = 209, + + // Redirection + MSACHTTPCodesNo3XXSuccessUnknown = 3, + MSACHTTPCodesNo300MultipleChoices = 300, + MSACHTTPCodesNo301MovedPermanently = 301, + MSACHTTPCodesNo302Found = 302, + MSACHTTPCodesNo303SeeOther = 303, + MSACHTTPCodesNo304NotModified = 304, + MSACHTTPCodesNo305UseProxy = 305, + MSACHTTPCodesNo306SwitchProxy = 306, + MSACHTTPCodesNo307TemporaryRedirect = 307, + MSACHTTPCodesNo308PermanentRedirect = 308, + + // Client error + MSACHTTPCodesNo4XXSuccessUnknown = 4, + MSACHTTPCodesNo400BadRequest = 400, + MSACHTTPCodesNo401Unauthorised = 401, + MSACHTTPCodesNo402PaymentRequired = 402, + MSACHTTPCodesNo403Forbidden = 403, + MSACHTTPCodesNo404NotFound = 404, + MSACHTTPCodesNo405MethodNotAllowed = 405, + MSACHTTPCodesNo406NotAcceptable = 406, + MSACHTTPCodesNo407ProxyAuthenticationRequired = 407, + MSACHTTPCodesNo408RequestTimeout = 408, + MSACHTTPCodesNo409Conflict = 409, + MSACHTTPCodesNo410Gone = 410, + MSACHTTPCodesNo411LengthRequired = 411, + MSACHTTPCodesNo412PreconditionFailed = 412, + MSACHTTPCodesNo413RequestEntityTooLarge = 413, + MSACHTTPCodesNo414RequestURITooLong = 414, + MSACHTTPCodesNo415UnsupportedMediaType = 415, + MSACHTTPCodesNo416RequestedRangeNotSatisfiable = 416, + MSACHTTPCodesNo417ExpectationFailed = 417, + MSACHTTPCodesNo418IamATeapot = 418, + MSACHTTPCodesNo419AuthenticationTimeout = 419, + MSACHTTPCodesNo420MethodFailureSpringFramework = 420, + MSACHTTPCodesNo420EnhanceYourCalmTwitter = 4200, + MSACHTTPCodesNo422UnprocessableEntity = 422, + MSACHTTPCodesNo423Locked = 423, + MSACHTTPCodesNo424FailedDependency = 424, + MSACHTTPCodesNo424MethodFailureWebDaw = 4240, + MSACHTTPCodesNo425UnorderedCollection = 425, + MSACHTTPCodesNo426UpgradeRequired = 426, + MSACHTTPCodesNo428PreconditionRequired = 428, + MSACHTTPCodesNo429TooManyRequests = 429, + MSACHTTPCodesNo431RequestHeaderFieldsTooLarge = 431, + MSACHTTPCodesNo444NoResponseNginx = 444, + MSACHTTPCodesNo449RetryWithMicrosoft = 449, + MSACHTTPCodesNo450BlockedByWindowsParentalControls = 450, + MSACHTTPCodesNo451RedirectMicrosoft = 451, + MSACHTTPCodesNo451UnavailableForLegalReasons = 4510, + MSACHTTPCodesNo494RequestHeaderTooLargeNginx = 494, + MSACHTTPCodesNo495CertErrorNginx = 495, + MSACHTTPCodesNo496NoCertNginx = 496, + MSACHTTPCodesNo497HTTPToHTTPSNginx = 497, + MSACHTTPCodesNo499ClientClosedRequestNginx = 499, + + // Server error + MSACHTTPCodesNo5XXSuccessUnknown = 5, + MSACHTTPCodesNo500InternalServerError = 500, + MSACHTTPCodesNo501NotImplemented = 501, + MSACHTTPCodesNo502BadGateway = 502, + MSACHTTPCodesNo503ServiceUnavailable = 503, + MSACHTTPCodesNo504GatewayTimeout = 504, + MSACHTTPCodesNo505HTTPVersionNotSupported = 505, + MSACHTTPCodesNo506VariantAlsoNegotiates = 506, + MSACHTTPCodesNo507InsufficientStorage = 507, + MSACHTTPCodesNo508LoopDetected = 508, + MSACHTTPCodesNo509BandwidthLimitExceeded = 509, + MSACHTTPCodesNo510NotExtended = 510, + MSACHTTPCodesNo511NetworkAuthenticationRequired = 511, + MSACHTTPCodesNo522ConnectionTimedOut = 522, + MSACHTTPCodesNo598NetworkReadTimeoutErrorUnknown = 598, + MSACHTTPCodesNo599NetworkConnectTimeoutErrorUnknown = 599 +} NS_SWIFT_NAME(HTTPCodesNo); diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACCustomProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACCustomProperties.h new file mode 100644 index 00000000..28f1cf77 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACCustomProperties.h @@ -0,0 +1,71 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CUSTOM_PROPERTIES_H +#define MSAC_CUSTOM_PROPERTIES_H + +#import + +/** + * Custom properties builder. + * Collects multiple properties to send in one log. + */ +NS_SWIFT_NAME(CustomProperties) +@interface MSACCustomProperties : NSObject + +/** + * Set the specified property value with the specified key. + * If the properties previously contained a property for the key, the old value is replaced. + * + * @param key Key with which the specified value is to be set. + * @param value Value to be set with the specified key. + * + * @return This instance. + */ +- (instancetype)setString:(NSString *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); + +/** + * Set the specified property value with the specified key. + * If the properties previously contained a property for the key, the old value is replaced. + * + * @param key Key with which the specified value is to be set. + * @param value Value to be set with the specified key. + * + * @return This instance. + */ +- (instancetype)setNumber:(NSNumber *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); + +/** + * Set the specified property value with the specified key. + * If the properties previously contained a property for the key, the old value is replaced. + * + * @param key Key with which the specified value is to be set. + * @param value Value to be set with the specified key. + * + * @return This instance. + */ +- (instancetype)setBool:(BOOL)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); + +/** + * Set the specified property value with the specified key. + * If the properties previously contained a property for the key, the old value is replaced. + * + * @param key Key with which the specified value is to be set. + * @param value Value to be set with the specified key. + * + * @return This instance. + */ +- (instancetype)setDate:(NSDate *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); + +/** + * Clear the property for the specified key. + * + * @param key Key whose mapping is to be cleared. + * + * @return This instance. + */ +- (instancetype)clearPropertyForKey:(NSString *)key NS_SWIFT_NAME(clearProperty(forKey:)); + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACDevice.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACDevice.h new file mode 100644 index 00000000..b8fd18d7 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACDevice.h @@ -0,0 +1,101 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_DEVICE_H +#define MSAC_DEVICE_H + +#import + +#if __has_include() +#import +#else +#import "MSACWrapperSdk.h" +#endif + +NS_SWIFT_NAME(Device) +@interface MSACDevice : MSACWrapperSdk + +/* + * Name of the SDK. Consists of the name of the SDK and the platform, e.g. "appcenter.ios", "appcenter.android" + */ +@property(nonatomic, copy, readonly) NSString *sdkName; + +/* + * Version of the SDK in semver format, e.g. "1.2.0" or "0.12.3-alpha.1". + */ +@property(nonatomic, copy, readonly) NSString *sdkVersion; + +/* + * Device model (example: iPad2,3). + */ +@property(nonatomic, copy, readonly) NSString *model; + +/* + * Device manufacturer (example: HTC). + */ +@property(nonatomic, copy, readonly) NSString *oemName; + +/* + * OS name (example: iOS). + */ +@property(nonatomic, copy, readonly) NSString *osName; + +/* + * OS version (example: 9.3.0). + */ +@property(nonatomic, copy, readonly) NSString *osVersion; + +/* + * OS build code (example: LMY47X). [optional] + */ +@property(nonatomic, copy, readonly) NSString *osBuild; + +/* + * API level when applicable like in Android (example: 15). [optional] + */ +@property(nonatomic, copy, readonly) NSNumber *osApiLevel; + +/* + * Language code (example: en_US). + */ +@property(nonatomic, copy, readonly) NSString *locale; + +/* + * The offset in minutes from UTC for the device time zone, including daylight savings time. + */ +@property(nonatomic, readonly, strong) NSNumber *timeZoneOffset; + +/* + * Screen size of the device in pixels (example: 640x480). + */ +@property(nonatomic, copy, readonly) NSString *screenSize; + +/* + * Application version name, e.g. 1.1.0 + */ +@property(nonatomic, copy, readonly) NSString *appVersion; + +/* + * Carrier name (for mobile devices). [optional] + */ +@property(nonatomic, copy, readonly) NSString *carrierName; + +/* + * Carrier country code (for mobile devices). [optional] + */ +@property(nonatomic, copy, readonly) NSString *carrierCountry; + +/* + * The app's build number, e.g. 42. + */ +@property(nonatomic, copy, readonly) NSString *appBuild; + +/* + * The bundle identifier, package identifier, or namespace, depending on what the individual plattforms use, .e.g com.microsoft.example. + * [optional] + */ +@property(nonatomic, copy, readonly) NSString *appNamespace; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACEnable.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACEnable.h new file mode 100644 index 00000000..3feff5b5 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACEnable.h @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_ENABLE_H +#define MSAC_ENABLE_H + +#import + +/** + * Protocol to define an instance that can be enabled/disabled. + */ +NS_SWIFT_NAME(Enable) +@protocol MSACEnable + +@required + +/** + * Enable/disable this instance and delete data on disabled state. + * + * @param isEnabled A boolean value set to YES to enable the instance or NO to disable it. + * @param deleteData A boolean value set to YES to delete data or NO to keep it. + */ +- (void)setEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deleteData NS_SWIFT_NAME(setEnabled(_:deleteDataOnDisabled:)); + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACLog.h new file mode 100644 index 00000000..d46b377f --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACLog.h @@ -0,0 +1,74 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_LOG_H +#define MSAC_LOG_H + +#import + +@class MSACDevice; + +NS_SWIFT_NAME(Log) +@protocol MSACLog + +/** + * Log type. + */ +@property(nonatomic, copy) NSString *type; + +/** + * Log timestamp. + */ +@property(nonatomic, strong) NSDate *timestamp; + +/** + * A session identifier is used to correlate logs together. A session is an abstract concept in the API and is not necessarily an analytics + * session, it can be used to only track crashes. + */ +@property(nonatomic, copy) NSString *sid; + +/** + * Optional distribution group ID value. + */ +@property(nonatomic, copy) NSString *distributionGroupId; + +/** + * Optional user identifier. + */ +@property(nonatomic, copy) NSString *userId; + +/** + * Device properties associated to this log. + */ +@property(nonatomic, strong) MSACDevice *device; + +/** + * Transient object tag. For example, a log can be tagged with a transmission target. We do this currently to prevent properties being + * applied retroactively to previous logs by comparing their tags. + */ +@property(nonatomic, strong) NSObject *tag; + +/** + * Checks if the object's values are valid. + * + * @return YES, if the object is valid. + */ +- (BOOL)isValid; + +/** + * Adds a transmission target token that this log should be sent to. + * + * @param token The transmission target token. + */ +- (void)addTransmissionTargetToken:(NSString *)token; + +/** + * Gets all transmission target tokens that this log should be sent to. + * + * @returns Collection of transmission target tokens that this log should be sent to. + */ +- (NSSet *)transmissionTargetTokens; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACLogWithProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACLogWithProperties.h new file mode 100644 index 00000000..12af6c40 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACLogWithProperties.h @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_LOG_WITH_PROPERTIES_H +#define MSAC_LOG_WITH_PROPERTIES_H + +#import + +#if __has_include() +#import +#else +#import "MSACAbstractLog.h" +#endif + +NS_SWIFT_NAME(LogWithProperties) +@interface MSACLogWithProperties : MSACAbstractLog + +/** + * Additional key/value pair parameters. [optional] + */ +@property(nonatomic, strong) NSDictionary *properties; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACLogger.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACLogger.h new file mode 100644 index 00000000..bb4b4136 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACLogger.h @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef MSAC_LOGGER +#define MSAC_LOGGER + +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif + +#define MSACLog(_level, _tag, _message) \ + [MSACLogger logMessage:_message level:_level tag:_tag file:__FILE__ function:__PRETTY_FUNCTION__ line:__LINE__] +#define MSACLogAssert(tag, format, ...) \ + MSACLog(MSACLogLevelAssert, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogError(tag, format, ...) \ + MSACLog(MSACLogLevelError, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogWarning(tag, format, ...) \ + MSACLog(MSACLogLevelWarning, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogInfo(tag, format, ...) \ + MSACLog(MSACLogLevelInfo, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogDebug(tag, format, ...) \ + MSACLog(MSACLogLevelDebug, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogVerbose(tag, format, ...) \ + MSACLog(MSACLogLevelVerbose, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) + +NS_SWIFT_NAME(Logger) +@interface MSACLogger : NSObject + ++ (void)logMessage:(MSACLogMessageProvider)messageProvider + level:(MSACLogLevel)loglevel + tag:(NSString *)tag + file:(const char *)file + function:(const char *)function + line:(uint)line; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACService.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACService.h new file mode 100644 index 00000000..b9fafff9 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACService.h @@ -0,0 +1,23 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_SERVICE_H +#define MSAC_SERVICE_H + +#import + +/** + * Protocol declaring service logic. + */ +NS_SWIFT_NAME(Service) +@protocol MSACService + +/** + * Indicates whether this service is enabled. + * The state is persisted in the device's storage across application launches. + */ +@property(class, nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSServiceAbstract.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACServiceAbstract.h similarity index 73% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSServiceAbstract.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACServiceAbstract.h index 3e5e8dec..ad7a2ef3 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSServiceAbstract.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACServiceAbstract.h @@ -1,20 +1,25 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#ifndef MS_SERVICE_ABSTRACT_H -#define MS_SERVICE_ABSTRACT_H +#ifndef MSAC_SERVICE_ABSTRACT_H +#define MSAC_SERVICE_ABSTRACT_H #import -#import "MSService.h" +#if __has_include() +#import +#else +#import "MSACService.h" +#endif -@protocol MSChannelGroupProtocol; +@protocol MSACChannelGroupProtocol; /** * Abstraction of services common logic. * This class is intended to be subclassed only not instantiated directly. */ -@interface MSServiceAbstract : NSObject +NS_SWIFT_NAME(ServiceAbstract) +@interface MSACServiceAbstract : NSObject /** * The flag indicates whether the service is started from application or not. @@ -29,7 +34,7 @@ * @param token default transmission target token for this service. * @param fromApplication indicates whether the service started from an application or not. */ -- (void)startWithChannelGroup:(id)channelGroup +- (void)startWithChannelGroup:(id)channelGroup appSecret:(NSString *)appSecret transmissionTargetToken:(NSString *)token fromApplication:(BOOL)fromApplication; @@ -44,11 +49,9 @@ - (void)updateConfigurationWithAppSecret:(NSString *)appSecret transmissionTargetToken:(NSString *)token; /** - * Checks if the service needs the application secret. - * - * @return `YES` if the application secret is required, `NO` otherwise. + * The flag indicate whether the service needs the application secret or not. */ -- (BOOL)isAppSecretRequired; +@property(atomic, readonly) BOOL isAppSecretRequired; @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACWrapperLogger.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACWrapperLogger.h new file mode 100644 index 00000000..79a14622 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACWrapperLogger.h @@ -0,0 +1,21 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif + +/** + * This is a utility for producing App Center style log messages. It is only intended for use by App Center services and wrapper SDKs of App + * Center. + */ +NS_SWIFT_NAME(WrapperLogger) +@interface MSACWrapperLogger : NSObject + ++ (void)MSACWrapperLog:(MSACLogMessageProvider)message tag:(NSString *)tag level:(MSACLogLevel)level; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACWrapperSdk.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACWrapperSdk.h new file mode 100644 index 00000000..20410721 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Headers/MSACWrapperSdk.h @@ -0,0 +1,60 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_WRAPPER_SDK_H +#define MSAC_WRAPPER_SDK_H + +#import + +NS_SWIFT_NAME(WrapperSdk) +@interface MSACWrapperSdk : NSObject + +/* + * Version of the wrapper SDK. When the SDK is embedding another base SDK (for example Xamarin.Android wraps Android), the Xamarin specific + * version is populated into this field while sdkVersion refers to the original Android SDK. [optional] + */ +@property(nonatomic, copy, readonly) NSString *wrapperSdkVersion; + +/* + * Name of the wrapper SDK (examples: Xamarin, Cordova). [optional] + */ +@property(nonatomic, copy, readonly) NSString *wrapperSdkName; + +/* + * Version of the wrapper technology framework (Xamarin runtime version or ReactNative or Cordova etc...). [optional] + */ +@property(nonatomic, copy, readonly) NSString *wrapperRuntimeVersion; + +/* + * Label that is used to identify application code 'version' released via Live Update beacon running on device. + */ +@property(nonatomic, copy, readonly) NSString *liveUpdateReleaseLabel; + +/* + * Identifier of environment that current application release belongs to, deployment key then maps to environment like Production, Staging. + */ +@property(nonatomic, copy, readonly) NSString *liveUpdateDeploymentKey; + +/* + * Hash of all files (ReactNative or Cordova) deployed to device via LiveUpdate beacon. Helps identify the Release version on device or need + * to download updates in future + */ +@property(nonatomic, copy, readonly) NSString *liveUpdatePackageHash; + +- (instancetype)initWithWrapperSdkVersion:(NSString *)wrapperSdkVersion + wrapperSdkName:(NSString *)wrapperSdkName + wrapperRuntimeVersion:(NSString *)wrapperRuntimeVersion + liveUpdateReleaseLabel:(NSString *)liveUpdateReleaseLabel + liveUpdateDeploymentKey:(NSString *)liveUpdateDeploymentKey + liveUpdatePackageHash:(NSString *)liveUpdatePackageHash; + +/** + * Checks if the object's values are valid. + * + * @return YES, if the object is valid. + */ +- (BOOL)isValid; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000..f15d734d --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,13 @@ +framework module AppCenter { + umbrella header "AppCenter.h" + + export * + module * { export * } + + link framework "Foundation" + link framework "CoreTelephony" + link framework "SystemConfiguration" + link framework "UIKit" + link "sqlite3" + link "z" +} diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/PrivateHeaders/MSACChannelDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/PrivateHeaders/MSACChannelDelegate.h new file mode 100644 index 00000000..0702176e --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/PrivateHeaders/MSACChannelDelegate.h @@ -0,0 +1,114 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#import "MSACConstants+Flags.h" + +@protocol MSACChannelUnitProtocol; +@protocol MSACChannelGroupProtocol; +@protocol MSACChannelProtocol; +@protocol MSACLog; + +NS_ASSUME_NONNULL_BEGIN + +@protocol MSACChannelDelegate + +@optional + +/** + * A callback that is called when a channel unit is added to the channel group. + * + * @param channelGroup The channel group. + * @param channel The newly added channel. + */ +- (void)channelGroup:(id)channelGroup didAddChannelUnit:(id)channel; + +/** + * A callback that is called when a log is just enqueued. Delegates may want to prepare the log a little more before further processing. + * + * @param log The log to prepare. + */ +- (void)channel:(id)channel prepareLog:(id)log; + +/** + * A callback that is called after a log is definitely prepared. + * + * @param log The log. + * @param internalId An internal Id to keep track of logs. + * @param flags Options for the log. + */ +- (void)channel:(id)channel didPrepareLog:(id)log internalId:(NSString *)internalId flags:(MSACFlags)flags; + +/** + * A callback that is called after a log completed the enqueueing process whether it was successful or not. + * + * @param log The log. + * @param internalId An internal Id to keep track of logs. + */ +- (void)channel:(id)channel didCompleteEnqueueingLog:(id)log internalId:(NSString *)internalId; + +/** + * Callback method that will be called before each log will be send to the server. + * + * @param channel The channel object. + * @param log The log to be sent. + */ +- (void)channel:(id)channel willSendLog:(id)log; + +/** + * Callback method that will be called in case the SDK was able to send a log. + * + * @param channel The channel object. + * @param log The log to be sent. + */ +- (void)channel:(id)channel didSucceedSendingLog:(id)log; + +/** + * Callback method that will be called in case the SDK was unable to send a log. + * + * @param channel The channel object. + * @param log The log to be sent. + * @param error The error that occured. + */ +- (void)channel:(id)channel didFailSendingLog:(id)log withError:(nullable NSError *)error; + +/** + * A callback that is called when setEnabled has been invoked. + * + * @param channel The channel. + * @param isEnabled The boolean that indicates enabled. + * @param deletedData The boolean that indicates deleting data on disabled. + */ +- (void)channel:(id)channel didSetEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deletedData; + +/** + * A callback that is called when pause has been invoked. + * + * @param channel The channel. + * @param identifyingObject The identifying object used to pause the channel. + */ +- (void)channel:(id)channel didPauseWithIdentifyingObject:(id)identifyingObject; + +/** + * A callback that is called when resume has been invoked. + * + * @param channel The channel. + * @param identifyingObject The identifying object used to resume the channel. + */ +- (void)channel:(id)channel didResumeWithIdentifyingObject:(id)identifyingObject; + +/** + * Callback method that will determine if a log should be filtered out from the usual processing pipeline. If any delegate returns true, the + * log is filtered. + * + * @param channelUnit The channel unit that is going to send the log. + * @param log The log to be filtered or not. + * + * @return `true` if the log should be filtered out. + */ +- (BOOL)channelUnit:(id)channelUnit shouldFilterLog:(id)log; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Resources/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000..e28b9f8c --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,48 @@ + + + + + BuildMachineOSBuild + 19H1217 + CFBundleDevelopmentRegion + en + CFBundleExecutable + AppCenter + CFBundleIdentifier + com.microsoft.appcenter + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + AppCenter + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1 + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1.0 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 11C505 + DTPlatformVersion + GM + DTSDKBuild + 19B90 + DTSDKName + macosx10.15 + DTXcode + 1130 + DTXcodeBuild + 11C505 + LSMinimumSystemVersion + 10.15 + UIDeviceFamily + + 2 + + + diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/Current b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/Current new file mode 120000 index 00000000..8c7e5a66 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/ios-arm64_x86_64-maccatalyst/AppCenter.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/AppCenter b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/AppCenter new file mode 120000 index 00000000..c6e14dc8 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/AppCenter @@ -0,0 +1 @@ +Versions/Current/AppCenter \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Headers b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Headers new file mode 120000 index 00000000..a177d2a6 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Modules b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Modules new file mode 120000 index 00000000..5736f318 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/PrivateHeaders b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/PrivateHeaders new file mode 120000 index 00000000..d8e56452 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/PrivateHeaders @@ -0,0 +1 @@ +Versions/Current/PrivateHeaders \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Resources b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Resources new file mode 120000 index 00000000..953ee36f --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/AppCenter b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/AppCenter new file mode 100644 index 00000000..3d419e40 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/AppCenter differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/AppCenter.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/AppCenter.h new file mode 100644 index 00000000..559521e5 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/AppCenter.h @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#else +#import "MSACAbstractLog.h" +#import "MSACAppCenter.h" +#import "MSACAppCenterErrors.h" +#import "MSACChannelGroupProtocol.h" +#import "MSACChannelProtocol.h" +#import "MSACConstants+Flags.h" +#import "MSACConstants.h" +#import "MSACCustomProperties.h" +#import "MSACDevice.h" +#import "MSACEnable.h" +#import "MSACLog.h" +#import "MSACLogWithProperties.h" +#import "MSACLogger.h" +#import "MSACService.h" +#import "MSACServiceAbstract.h" +#import "MSACWrapperLogger.h" +#import "MSACWrapperSdk.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACAbstractLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACAbstractLog.h new file mode 100644 index 00000000..2d6db269 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACAbstractLog.h @@ -0,0 +1,14 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_ABSTRACT_LOG_H +#define MSAC_ABSTRACT_LOG_H + +#import + +NS_SWIFT_NAME(AbstractLog) +@interface MSACAbstractLog : NSObject + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACAppCenter.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACAppCenter.h new file mode 100644 index 00000000..4e4f689e --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACAppCenter.h @@ -0,0 +1,203 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef MSAC_APP_CENTER +#define MSAC_APP_CENTER + +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif + +@class MSACWrapperSdk; + +#if !TARGET_OS_TV +@class MSACCustomProperties; +#endif + +NS_SWIFT_NAME(AppCenter) +@interface MSACAppCenter : NSObject + +/** + * Returns the singleton instance of MSACAppCenter. + */ ++ (instancetype)sharedInstance; + +/** + * Configure the SDK with an application secret. + * + * @param appSecret A unique and secret key used to identify the application. + * + * @discussion This may be called only once per application process lifetime. + */ ++ (void)configureWithAppSecret:(NSString *)appSecret NS_SWIFT_NAME(configure(withAppSecret:)); + +/** + * Configure the SDK. + * + * @discussion This may be called only once per application process lifetime. + */ ++ (void)configure; + +/** + * Configure the SDK with an application secret and an array of services to start. + * + * @param appSecret A unique and secret key used to identify the application. + * @param services Array of services to start. + * + * @discussion This may be called only once per application process lifetime. + */ ++ (void)start:(NSString *)appSecret withServices:(NSArray *)services NS_SWIFT_NAME(start(withAppSecret:services:)); + +/** + * Start the SDK with an array of services. + * + * @param services Array of services to start. + * + * @discussion This may be called only once per application process lifetime. + */ ++ (void)startWithServices:(NSArray *)services NS_SWIFT_NAME(start(services:)); + +/** + * Start a service. + * + * @param service A service to start. + * + * @discussion This may be called only once per service per application process lifetime. + */ ++ (void)startService:(Class)service; + +/** + * Configure the SDK with an array of services to start from a library. This will not start the service at application level, it will enable + * the service only for the library. + * + * @param services Array of services to start. + */ ++ (void)startFromLibraryWithServices:(NSArray *)services NS_SWIFT_NAME(startFromLibrary(services:)); + +/** + * The flag indicates whether the SDK has already been configured or not. + */ +@property(class, atomic, readonly, getter=isConfigured) BOOL configured; + +/** + * The flag indicates whether app is running in App Center Test Cloud. + */ +@property(class, atomic, readonly, getter=isRunningInAppCenterTestCloud) BOOL runningInAppCenterTestCloud; + +/** + * The flag indicates whether or not the SDK was enabled as a whole + * + * The state is persisted in the device's storage across application launches. + */ +@property(class, nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); + +/** + * Flag indicating whether SDK can send network requests. + * + * The state is persisted in the device's storage across application launches. + */ +@property(class, nonatomic, getter=isNetworkRequestsAllowed, setter=setNetworkRequestsAllowed:) + BOOL networkRequestsAllowed NS_SWIFT_NAME(networkRequestsAllowed); + +/** + * The SDK's log level. + */ +@property(class, nonatomic) MSACLogLevel logLevel; + +/** + * Base URL to use for backend communication. + */ +@property(class, nonatomic, strong) NSString *logUrl; + +/** + * Set log handler. + */ +@property(class, nonatomic) MSACLogHandler logHandler; + +/** + * Set wrapper SDK information to use when building device properties. This is intended in case you are building a SDK that uses the App + * Center SDK under the hood, e.g. our Xamarin SDK or ReactNative SDk. + */ +@property(class, nonatomic, strong) MSACWrapperSdk *wrapperSdk; + +#if !TARGET_OS_TV +/** + * Set the custom properties. + * + * @param customProperties Custom properties object. + */ ++ (void)setCustomProperties:(MSACCustomProperties *)customProperties; +#endif + +/** + * Check whether the application delegate forwarder is enabled or not. + * + * @discussion The application delegate forwarder forwards messages that target your application delegate methods via swizzling to the SDK. + * It simplifies the SDK integration but may not be suitable to any situations. For + * instance it should be disabled if you or one of your third party SDK is doing message forwarding on the application delegate. Message + * forwarding usually implies the implementation of @see NSObject#forwardingTargetForSelector: or @see NSObject#forwardInvocation: methods. + * To disable the application delegate forwarder just add the `AppCenterAppDelegateForwarderEnabled` tag to your Info .plist file and set it + * to `0`. Then you will have to forward any application delegate needed by the SDK manually. + */ +@property(class, readonly, nonatomic, getter=isAppDelegateForwarderEnabled) BOOL appDelegateForwarderEnabled; + +/** + * Unique installation identifier. + * + */ +@property(class, readonly, nonatomic) NSUUID *installId; + +/** + * Detect if a debugger is attached to the app process. This is only invoked once on app startup and can not detect + * if the debugger is being attached during runtime! + * + */ +@property(class, readonly, nonatomic, getter=isDebuggerAttached) BOOL debuggerAttached; + +/** + * Current version of AppCenter SDK. + * + */ +@property(class, readonly, nonatomic) NSString *sdkVersion; + +/** + * Set the maximum size of the internal storage. This method must be called before App Center is started. This method is only intended for + * applications. + * + * @param sizeInBytes Maximum size of the internal storage in bytes. This will be rounded up to the nearest multiple of a SQLite page size + * (default is 4096 bytes). Values below 20,480 bytes (20 KiB) will be ignored. + * + * @param completionHandler Callback that is invoked when the database size has been set. The `BOOL` parameter is `YES` if changing the size + * is successful, and `NO` otherwise. This parameter can be null. + * + * @discussion This only sets the maximum size of the database, but App Center modules might store additional data. + * The value passed to this method is not persisted on disk. The default maximum database size is 10485760 bytes (10 MiB). + */ ++ (void)setMaxStorageSize:(long)sizeInBytes completionHandler:(void (^)(BOOL))completionHandler; + +/** + * Set the user identifier. + * + * @discussion Set the user identifier for logs sent for the default target token when the secret passed in @c + * MSACAppCenter:start:withServices: contains "target={targetToken}". + * + * For App Center backend the user identifier maximum length is 256 characters. + * + * AppCenter must be configured or started before this API can be used. + */ +@property(class, nonatomic, strong) NSString *userId; + +/** + * Set country code to use when building device properties. + * + * @see https://www.iso.org/obp/ui/#search for more information. + */ +@property(class, nonatomic, strong) NSString *countryCode; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACAppCenterErrors.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACAppCenterErrors.h new file mode 100644 index 00000000..8e77d77c --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACAppCenterErrors.h @@ -0,0 +1,41 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_APP_CENTER_ERRORS_H +#define MSAC_APP_CENTER_ERRORS_H + +#import + +#define MSAC_APP_CENTER_BASE_DOMAIN @"com.Microsoft.AppCenter." + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - Domain + +static NSString *const kMSACACErrorDomain = MSAC_APP_CENTER_BASE_DOMAIN @"ErrorDomain"; + +#pragma mark - General + +// Error codes. +NS_ENUM(NSInteger){MSACACLogInvalidContainerErrorCode = 1, MSACACCanceledErrorCode = 2, MSACACDisabledErrorCode = 3}; + +// Error descriptions. +static NSString const *kMSACACLogInvalidContainerErrorDesc = @"Invalid log container."; +static NSString const *kMSACACCanceledErrorDesc = @"The operation was canceled."; +static NSString const *kMSACACDisabledErrorDesc = @"The service is disabled."; + +#pragma mark - Connection + +// Error codes. +NS_ENUM(NSInteger){MSACACConnectionPausedErrorCode = 100, MSACACConnectionHttpErrorCode = 101}; + +// Error descriptions. +static NSString const *kMSACACConnectionHttpErrorDesc = @"An HTTP error occured."; +static NSString const *kMSACACConnectionPausedErrorDesc = @"Canceled, connection paused with log deletion."; + +// Error user info keys. +static NSString const *kMSACACConnectionHttpCodeErrorKey = @"MSConnectionHttpCode"; + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACChannelGroupProtocol.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACChannelGroupProtocol.h new file mode 100644 index 00000000..2d621d85 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACChannelGroupProtocol.h @@ -0,0 +1,87 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CHANNEL_GROUP_PROTOCOL_H +#define MSAC_CHANNEL_GROUP_PROTOCOL_H + +#import + +#if __has_include() +#import +#else +#import "MSACChannelProtocol.h" +#endif + +NS_ASSUME_NONNULL_BEGIN + +@class MSACChannelUnitConfiguration; + +@protocol MSACIngestionProtocol; +@protocol MSACChannelUnitProtocol; + +/** + * `MSACChannelGroupProtocol` represents a kind of channel that contains constituent MSACChannelUnit objects. When an operation from the + * `MSACChannelProtocol` is performed on the group, that operation should be propagated to its constituent MSACChannelUnit objects. + */ +NS_SWIFT_NAME(ChannelGroupProtocol) +@protocol MSACChannelGroupProtocol + +/** + * Initialize a channel unit with the given configuration. + * + * @param configuration channel configuration. + * + * @return The added `MSACChannelUnitProtocol`. Use this object to enqueue logs. + */ +- (id)addChannelUnitWithConfiguration:(MSACChannelUnitConfiguration *)configuration + NS_SWIFT_NAME(addChannelUnit(withConfiguration:)); + +/** + * Initialize a channel unit with the given configuration. + * + * @param configuration channel configuration. + * @param ingestion The alternative ingestion object + * + * @return The added `MSACChannelUnitProtocol`. Use this object to enqueue logs. + */ +- (id)addChannelUnitWithConfiguration:(MSACChannelUnitConfiguration *)configuration + withIngestion:(nullable id)ingestion + NS_SWIFT_NAME(addChannelUnit(_:ingestion:)); + +/** + * Change the base URL (schema + authority + port only) used to communicate with the backend. + */ +@property(nonatomic, strong) NSString *_Nullable logUrl; + +/** + * Set the app secret. + */ +@property(nonatomic, strong) NSString *_Nullable appSecret; + +/** + * Set the maximum size of the internal storage. This method must be called before App Center is started. + * + * @discussion The default maximum database size is 10485760 bytes (10 MiB). + * + * @param sizeInBytes Maximum size of the internal storage in bytes. This will be rounded up to the nearest multiple of a SQLite page size + * (default is 4096 bytes). Values below 24576 bytes (24 KiB) will be ignored. + * @param completionHandler Callback that is invoked when the database size has been set. The `BOOL` parameter is `YES` if changing the size + * is successful, and `NO` otherwise. + */ +- (void)setMaxStorageSize:(long)sizeInBytes + completionHandler:(nullable void (^)(BOOL))completionHandler NS_SWIFT_NAME(setMaxStorageSize(_:completionHandler:)); + +/** + * Return a channel unit instance for the given groupId. + * + * @param groupId The group ID for a channel unit. + * + * @return A channel unit instance or `nil`. + */ +- (nullable id)channelUnitForGroupId:(NSString *)groupId; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACChannelProtocol.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACChannelProtocol.h new file mode 100644 index 00000000..09fcb7d0 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACChannelProtocol.h @@ -0,0 +1,68 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CHANNEL_PROTOCOL_H +#define MSAC_CHANNEL_PROTOCOL_H + +#import + +#if __has_include() +#import +#else +#import "MSACEnable.h" +#endif + +NS_ASSUME_NONNULL_BEGIN + +@protocol MSACChannelDelegate; + +/** + * `MSACChannelProtocol` contains the essential operations of a channel. Channels are broadly responsible for enqueuing logs to be sent to + * the backend and/or stored on disk. + */ +NS_SWIFT_NAME(ChannelProtocol) +@protocol MSACChannelProtocol + +/** + * Add delegate. + * + * @param delegate delegate. + */ +- (void)addDelegate:(id)delegate; + +/** + * Remove delegate. + * + * @param delegate delegate. + */ +- (void)removeDelegate:(id)delegate; + +/** + * Pause operations, logs will be stored but not sent. + * + * @param identifyingObject Object used to identify the pause request. + * + * @discussion A paused channel doesn't forward logs to the ingestion. The identifying object used to pause the channel can be any unique + * object. The same identifying object must be used to call resume. For simplicity if the caller is the one owning the channel then @c self + * can be used as identifying object. + * + * @see resumeWithIdentifyingObject: + */ +- (void)pauseWithIdentifyingObject:(id)identifyingObject; + +/** + * Resume operations, logs can be sent again. + * + * @param identifyingObject Object used to passed to the pause method. + * + * @discussion The channel only resume when all the outstanding identifying objects have been resumed. + * + * @see pauseWithIdentifyingObject: + */ +- (void)resumeWithIdentifyingObject:(id)identifyingObject; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACConstants+Flags.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACConstants+Flags.h new file mode 100644 index 00000000..5408e550 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACConstants+Flags.h @@ -0,0 +1,18 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CONSTANTS_FLAGS_H +#define MSAC_CONSTANTS_FLAGS_H + +#import + +typedef NS_OPTIONS(NSUInteger, MSACFlags) { + MSACFlagsNone = (0 << 0), // => 00000000 + MSACFlagsNormal = (1 << 0), // => 00000001 + MSACFlagsCritical = (1 << 1), // => 00000010 + MSACFlagsPersistenceNormal DEPRECATED_MSG_ATTRIBUTE("please use MSACFlagsNormal") = MSACFlagsNormal, + MSACFlagsPersistenceCritical DEPRECATED_MSG_ATTRIBUTE("please use MSACFlagsCritical") = MSACFlagsCritical, + MSACFlagsDefault = MSACFlagsNormal +} NS_SWIFT_NAME(Flags); + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACConstants.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACConstants.h new file mode 100644 index 00000000..545e9ea7 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACConstants.h @@ -0,0 +1,170 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +/** + * Log Levels + */ +typedef NS_ENUM(NSUInteger, MSACLogLevel) { + + /** + * Logging will be very chatty + */ + MSACLogLevelVerbose = 2, + + /** + * Debug information will be logged + */ + MSACLogLevelDebug = 3, + + /** + * Information will be logged + */ + MSACLogLevelInfo = 4, + + /** + * Errors and warnings will be logged + */ + MSACLogLevelWarning = 5, + + /** + * Errors will be logged + */ + MSACLogLevelError = 6, + + /** + * Only critical errors will be logged + */ + MSACLogLevelAssert = 7, + + /** + * Logging is disabled + */ + MSACLogLevelNone = 99 +} NS_SWIFT_NAME(LogLevel); + +typedef NSString * (^MSACLogMessageProvider)(void)NS_SWIFT_NAME(LogMessageProvider); +typedef void (^MSACLogHandler)(MSACLogMessageProvider messageProvider, MSACLogLevel logLevel, NSString *tag, const char *file, + const char *function, uint line) NS_SWIFT_NAME(LogHandler); + +/** + * Channel priorities, check the kMSACPriorityCount if you add a new value. + * The order matters here! Values NEED to range from low priority to high priority. + */ +typedef NS_ENUM(NSInteger, MSACPriority) { MSACPriorityBackground, MSACPriorityDefault, MSACPriorityHigh } NS_SWIFT_NAME(Priority); +static short const kMSACPriorityCount = MSACPriorityHigh + 1; + +/** + * The priority by which the modules are initialized. + * MSACPriorityMax is reserved for only 1 module and this needs to be Crashes. + * Crashes needs to be initialized first to catch crashes in our other SDK Modules (which will hopefully never happen) and to avoid losing + * any log at crash time. + */ +typedef NS_ENUM(NSInteger, MSACInitializationPriority) { + MSACInitializationPriorityDefault = 500, + MSACInitializationPriorityHigh = 750, + MSACInitializationPriorityMax = 999 +} NS_SWIFT_NAME(InitializationPriority); + +/** + * Enum with the different HTTP status codes. + */ +typedef NS_ENUM(NSInteger, MSACHTTPCodesNo) { + + // Invalid + MSACHTTPCodesNo0XXInvalidUnknown = 0, + + // Informational + MSACHTTPCodesNo1XXInformationalUnknown = 1, + MSACHTTPCodesNo100Continue = 100, + MSACHTTPCodesNo101SwitchingProtocols = 101, + MSACHTTPCodesNo102Processing = 102, + + // Success + MSACHTTPCodesNo2XXSuccessUnknown = 2, + MSACHTTPCodesNo200OK = 200, + MSACHTTPCodesNo201Created = 201, + MSACHTTPCodesNo202Accepted = 202, + MSACHTTPCodesNo203NonAuthoritativeInformation = 203, + MSACHTTPCodesNo204NoContent = 204, + MSACHTTPCodesNo205ResetContent = 205, + MSACHTTPCodesNo206PartialContent = 206, + MSACHTTPCodesNo207MultiStatus = 207, + MSACHTTPCodesNo208AlreadyReported = 208, + MSACHTTPCodesNo209IMUsed = 209, + + // Redirection + MSACHTTPCodesNo3XXSuccessUnknown = 3, + MSACHTTPCodesNo300MultipleChoices = 300, + MSACHTTPCodesNo301MovedPermanently = 301, + MSACHTTPCodesNo302Found = 302, + MSACHTTPCodesNo303SeeOther = 303, + MSACHTTPCodesNo304NotModified = 304, + MSACHTTPCodesNo305UseProxy = 305, + MSACHTTPCodesNo306SwitchProxy = 306, + MSACHTTPCodesNo307TemporaryRedirect = 307, + MSACHTTPCodesNo308PermanentRedirect = 308, + + // Client error + MSACHTTPCodesNo4XXSuccessUnknown = 4, + MSACHTTPCodesNo400BadRequest = 400, + MSACHTTPCodesNo401Unauthorised = 401, + MSACHTTPCodesNo402PaymentRequired = 402, + MSACHTTPCodesNo403Forbidden = 403, + MSACHTTPCodesNo404NotFound = 404, + MSACHTTPCodesNo405MethodNotAllowed = 405, + MSACHTTPCodesNo406NotAcceptable = 406, + MSACHTTPCodesNo407ProxyAuthenticationRequired = 407, + MSACHTTPCodesNo408RequestTimeout = 408, + MSACHTTPCodesNo409Conflict = 409, + MSACHTTPCodesNo410Gone = 410, + MSACHTTPCodesNo411LengthRequired = 411, + MSACHTTPCodesNo412PreconditionFailed = 412, + MSACHTTPCodesNo413RequestEntityTooLarge = 413, + MSACHTTPCodesNo414RequestURITooLong = 414, + MSACHTTPCodesNo415UnsupportedMediaType = 415, + MSACHTTPCodesNo416RequestedRangeNotSatisfiable = 416, + MSACHTTPCodesNo417ExpectationFailed = 417, + MSACHTTPCodesNo418IamATeapot = 418, + MSACHTTPCodesNo419AuthenticationTimeout = 419, + MSACHTTPCodesNo420MethodFailureSpringFramework = 420, + MSACHTTPCodesNo420EnhanceYourCalmTwitter = 4200, + MSACHTTPCodesNo422UnprocessableEntity = 422, + MSACHTTPCodesNo423Locked = 423, + MSACHTTPCodesNo424FailedDependency = 424, + MSACHTTPCodesNo424MethodFailureWebDaw = 4240, + MSACHTTPCodesNo425UnorderedCollection = 425, + MSACHTTPCodesNo426UpgradeRequired = 426, + MSACHTTPCodesNo428PreconditionRequired = 428, + MSACHTTPCodesNo429TooManyRequests = 429, + MSACHTTPCodesNo431RequestHeaderFieldsTooLarge = 431, + MSACHTTPCodesNo444NoResponseNginx = 444, + MSACHTTPCodesNo449RetryWithMicrosoft = 449, + MSACHTTPCodesNo450BlockedByWindowsParentalControls = 450, + MSACHTTPCodesNo451RedirectMicrosoft = 451, + MSACHTTPCodesNo451UnavailableForLegalReasons = 4510, + MSACHTTPCodesNo494RequestHeaderTooLargeNginx = 494, + MSACHTTPCodesNo495CertErrorNginx = 495, + MSACHTTPCodesNo496NoCertNginx = 496, + MSACHTTPCodesNo497HTTPToHTTPSNginx = 497, + MSACHTTPCodesNo499ClientClosedRequestNginx = 499, + + // Server error + MSACHTTPCodesNo5XXSuccessUnknown = 5, + MSACHTTPCodesNo500InternalServerError = 500, + MSACHTTPCodesNo501NotImplemented = 501, + MSACHTTPCodesNo502BadGateway = 502, + MSACHTTPCodesNo503ServiceUnavailable = 503, + MSACHTTPCodesNo504GatewayTimeout = 504, + MSACHTTPCodesNo505HTTPVersionNotSupported = 505, + MSACHTTPCodesNo506VariantAlsoNegotiates = 506, + MSACHTTPCodesNo507InsufficientStorage = 507, + MSACHTTPCodesNo508LoopDetected = 508, + MSACHTTPCodesNo509BandwidthLimitExceeded = 509, + MSACHTTPCodesNo510NotExtended = 510, + MSACHTTPCodesNo511NetworkAuthenticationRequired = 511, + MSACHTTPCodesNo522ConnectionTimedOut = 522, + MSACHTTPCodesNo598NetworkReadTimeoutErrorUnknown = 598, + MSACHTTPCodesNo599NetworkConnectTimeoutErrorUnknown = 599 +} NS_SWIFT_NAME(HTTPCodesNo); diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACCustomProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACCustomProperties.h new file mode 100644 index 00000000..28f1cf77 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACCustomProperties.h @@ -0,0 +1,71 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CUSTOM_PROPERTIES_H +#define MSAC_CUSTOM_PROPERTIES_H + +#import + +/** + * Custom properties builder. + * Collects multiple properties to send in one log. + */ +NS_SWIFT_NAME(CustomProperties) +@interface MSACCustomProperties : NSObject + +/** + * Set the specified property value with the specified key. + * If the properties previously contained a property for the key, the old value is replaced. + * + * @param key Key with which the specified value is to be set. + * @param value Value to be set with the specified key. + * + * @return This instance. + */ +- (instancetype)setString:(NSString *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); + +/** + * Set the specified property value with the specified key. + * If the properties previously contained a property for the key, the old value is replaced. + * + * @param key Key with which the specified value is to be set. + * @param value Value to be set with the specified key. + * + * @return This instance. + */ +- (instancetype)setNumber:(NSNumber *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); + +/** + * Set the specified property value with the specified key. + * If the properties previously contained a property for the key, the old value is replaced. + * + * @param key Key with which the specified value is to be set. + * @param value Value to be set with the specified key. + * + * @return This instance. + */ +- (instancetype)setBool:(BOOL)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); + +/** + * Set the specified property value with the specified key. + * If the properties previously contained a property for the key, the old value is replaced. + * + * @param key Key with which the specified value is to be set. + * @param value Value to be set with the specified key. + * + * @return This instance. + */ +- (instancetype)setDate:(NSDate *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); + +/** + * Clear the property for the specified key. + * + * @param key Key whose mapping is to be cleared. + * + * @return This instance. + */ +- (instancetype)clearPropertyForKey:(NSString *)key NS_SWIFT_NAME(clearProperty(forKey:)); + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACDevice.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACDevice.h new file mode 100644 index 00000000..b8fd18d7 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACDevice.h @@ -0,0 +1,101 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_DEVICE_H +#define MSAC_DEVICE_H + +#import + +#if __has_include() +#import +#else +#import "MSACWrapperSdk.h" +#endif + +NS_SWIFT_NAME(Device) +@interface MSACDevice : MSACWrapperSdk + +/* + * Name of the SDK. Consists of the name of the SDK and the platform, e.g. "appcenter.ios", "appcenter.android" + */ +@property(nonatomic, copy, readonly) NSString *sdkName; + +/* + * Version of the SDK in semver format, e.g. "1.2.0" or "0.12.3-alpha.1". + */ +@property(nonatomic, copy, readonly) NSString *sdkVersion; + +/* + * Device model (example: iPad2,3). + */ +@property(nonatomic, copy, readonly) NSString *model; + +/* + * Device manufacturer (example: HTC). + */ +@property(nonatomic, copy, readonly) NSString *oemName; + +/* + * OS name (example: iOS). + */ +@property(nonatomic, copy, readonly) NSString *osName; + +/* + * OS version (example: 9.3.0). + */ +@property(nonatomic, copy, readonly) NSString *osVersion; + +/* + * OS build code (example: LMY47X). [optional] + */ +@property(nonatomic, copy, readonly) NSString *osBuild; + +/* + * API level when applicable like in Android (example: 15). [optional] + */ +@property(nonatomic, copy, readonly) NSNumber *osApiLevel; + +/* + * Language code (example: en_US). + */ +@property(nonatomic, copy, readonly) NSString *locale; + +/* + * The offset in minutes from UTC for the device time zone, including daylight savings time. + */ +@property(nonatomic, readonly, strong) NSNumber *timeZoneOffset; + +/* + * Screen size of the device in pixels (example: 640x480). + */ +@property(nonatomic, copy, readonly) NSString *screenSize; + +/* + * Application version name, e.g. 1.1.0 + */ +@property(nonatomic, copy, readonly) NSString *appVersion; + +/* + * Carrier name (for mobile devices). [optional] + */ +@property(nonatomic, copy, readonly) NSString *carrierName; + +/* + * Carrier country code (for mobile devices). [optional] + */ +@property(nonatomic, copy, readonly) NSString *carrierCountry; + +/* + * The app's build number, e.g. 42. + */ +@property(nonatomic, copy, readonly) NSString *appBuild; + +/* + * The bundle identifier, package identifier, or namespace, depending on what the individual plattforms use, .e.g com.microsoft.example. + * [optional] + */ +@property(nonatomic, copy, readonly) NSString *appNamespace; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACEnable.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACEnable.h new file mode 100644 index 00000000..3feff5b5 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACEnable.h @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_ENABLE_H +#define MSAC_ENABLE_H + +#import + +/** + * Protocol to define an instance that can be enabled/disabled. + */ +NS_SWIFT_NAME(Enable) +@protocol MSACEnable + +@required + +/** + * Enable/disable this instance and delete data on disabled state. + * + * @param isEnabled A boolean value set to YES to enable the instance or NO to disable it. + * @param deleteData A boolean value set to YES to delete data or NO to keep it. + */ +- (void)setEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deleteData NS_SWIFT_NAME(setEnabled(_:deleteDataOnDisabled:)); + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACLog.h new file mode 100644 index 00000000..d46b377f --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACLog.h @@ -0,0 +1,74 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_LOG_H +#define MSAC_LOG_H + +#import + +@class MSACDevice; + +NS_SWIFT_NAME(Log) +@protocol MSACLog + +/** + * Log type. + */ +@property(nonatomic, copy) NSString *type; + +/** + * Log timestamp. + */ +@property(nonatomic, strong) NSDate *timestamp; + +/** + * A session identifier is used to correlate logs together. A session is an abstract concept in the API and is not necessarily an analytics + * session, it can be used to only track crashes. + */ +@property(nonatomic, copy) NSString *sid; + +/** + * Optional distribution group ID value. + */ +@property(nonatomic, copy) NSString *distributionGroupId; + +/** + * Optional user identifier. + */ +@property(nonatomic, copy) NSString *userId; + +/** + * Device properties associated to this log. + */ +@property(nonatomic, strong) MSACDevice *device; + +/** + * Transient object tag. For example, a log can be tagged with a transmission target. We do this currently to prevent properties being + * applied retroactively to previous logs by comparing their tags. + */ +@property(nonatomic, strong) NSObject *tag; + +/** + * Checks if the object's values are valid. + * + * @return YES, if the object is valid. + */ +- (BOOL)isValid; + +/** + * Adds a transmission target token that this log should be sent to. + * + * @param token The transmission target token. + */ +- (void)addTransmissionTargetToken:(NSString *)token; + +/** + * Gets all transmission target tokens that this log should be sent to. + * + * @returns Collection of transmission target tokens that this log should be sent to. + */ +- (NSSet *)transmissionTargetTokens; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACLogWithProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACLogWithProperties.h new file mode 100644 index 00000000..12af6c40 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACLogWithProperties.h @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_LOG_WITH_PROPERTIES_H +#define MSAC_LOG_WITH_PROPERTIES_H + +#import + +#if __has_include() +#import +#else +#import "MSACAbstractLog.h" +#endif + +NS_SWIFT_NAME(LogWithProperties) +@interface MSACLogWithProperties : MSACAbstractLog + +/** + * Additional key/value pair parameters. [optional] + */ +@property(nonatomic, strong) NSDictionary *properties; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACLogger.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACLogger.h new file mode 100644 index 00000000..bb4b4136 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACLogger.h @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef MSAC_LOGGER +#define MSAC_LOGGER + +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif + +#define MSACLog(_level, _tag, _message) \ + [MSACLogger logMessage:_message level:_level tag:_tag file:__FILE__ function:__PRETTY_FUNCTION__ line:__LINE__] +#define MSACLogAssert(tag, format, ...) \ + MSACLog(MSACLogLevelAssert, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogError(tag, format, ...) \ + MSACLog(MSACLogLevelError, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogWarning(tag, format, ...) \ + MSACLog(MSACLogLevelWarning, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogInfo(tag, format, ...) \ + MSACLog(MSACLogLevelInfo, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogDebug(tag, format, ...) \ + MSACLog(MSACLogLevelDebug, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogVerbose(tag, format, ...) \ + MSACLog(MSACLogLevelVerbose, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) + +NS_SWIFT_NAME(Logger) +@interface MSACLogger : NSObject + ++ (void)logMessage:(MSACLogMessageProvider)messageProvider + level:(MSACLogLevel)loglevel + tag:(NSString *)tag + file:(const char *)file + function:(const char *)function + line:(uint)line; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACService.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACService.h new file mode 100644 index 00000000..b9fafff9 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACService.h @@ -0,0 +1,23 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_SERVICE_H +#define MSAC_SERVICE_H + +#import + +/** + * Protocol declaring service logic. + */ +NS_SWIFT_NAME(Service) +@protocol MSACService + +/** + * Indicates whether this service is enabled. + * The state is persisted in the device's storage across application launches. + */ +@property(class, nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACServiceAbstract.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACServiceAbstract.h new file mode 100644 index 00000000..ad7a2ef3 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACServiceAbstract.h @@ -0,0 +1,58 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_SERVICE_ABSTRACT_H +#define MSAC_SERVICE_ABSTRACT_H + +#import + +#if __has_include() +#import +#else +#import "MSACService.h" +#endif + +@protocol MSACChannelGroupProtocol; + +/** + * Abstraction of services common logic. + * This class is intended to be subclassed only not instantiated directly. + */ +NS_SWIFT_NAME(ServiceAbstract) +@interface MSACServiceAbstract : NSObject + +/** + * The flag indicates whether the service is started from application or not. + */ +@property(nonatomic, assign) BOOL startedFromApplication; + +/** + * Start this service with a channel group. Also sets the flag that indicates that a service has been started. + * + * @param channelGroup channel group used to persist and send logs. + * @param appSecret app secret for the SDK. + * @param token default transmission target token for this service. + * @param fromApplication indicates whether the service started from an application or not. + */ +- (void)startWithChannelGroup:(id)channelGroup + appSecret:(NSString *)appSecret + transmissionTargetToken:(NSString *)token + fromApplication:(BOOL)fromApplication; + +/** + * Update configuration when the service requires to start again. This method should only be called if the service is started from libraries + * and then is being started from an application. + * + * @param appSecret app secret for the SDK. + * @param token default transmission target token for this service. + */ +- (void)updateConfigurationWithAppSecret:(NSString *)appSecret transmissionTargetToken:(NSString *)token; + +/** + * The flag indicate whether the service needs the application secret or not. + */ +@property(atomic, readonly) BOOL isAppSecretRequired; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACWrapperLogger.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACWrapperLogger.h new file mode 100644 index 00000000..79a14622 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACWrapperLogger.h @@ -0,0 +1,21 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif + +/** + * This is a utility for producing App Center style log messages. It is only intended for use by App Center services and wrapper SDKs of App + * Center. + */ +NS_SWIFT_NAME(WrapperLogger) +@interface MSACWrapperLogger : NSObject + ++ (void)MSACWrapperLog:(MSACLogMessageProvider)message tag:(NSString *)tag level:(MSACLogLevel)level; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACWrapperSdk.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACWrapperSdk.h new file mode 100644 index 00000000..20410721 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Headers/MSACWrapperSdk.h @@ -0,0 +1,60 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_WRAPPER_SDK_H +#define MSAC_WRAPPER_SDK_H + +#import + +NS_SWIFT_NAME(WrapperSdk) +@interface MSACWrapperSdk : NSObject + +/* + * Version of the wrapper SDK. When the SDK is embedding another base SDK (for example Xamarin.Android wraps Android), the Xamarin specific + * version is populated into this field while sdkVersion refers to the original Android SDK. [optional] + */ +@property(nonatomic, copy, readonly) NSString *wrapperSdkVersion; + +/* + * Name of the wrapper SDK (examples: Xamarin, Cordova). [optional] + */ +@property(nonatomic, copy, readonly) NSString *wrapperSdkName; + +/* + * Version of the wrapper technology framework (Xamarin runtime version or ReactNative or Cordova etc...). [optional] + */ +@property(nonatomic, copy, readonly) NSString *wrapperRuntimeVersion; + +/* + * Label that is used to identify application code 'version' released via Live Update beacon running on device. + */ +@property(nonatomic, copy, readonly) NSString *liveUpdateReleaseLabel; + +/* + * Identifier of environment that current application release belongs to, deployment key then maps to environment like Production, Staging. + */ +@property(nonatomic, copy, readonly) NSString *liveUpdateDeploymentKey; + +/* + * Hash of all files (ReactNative or Cordova) deployed to device via LiveUpdate beacon. Helps identify the Release version on device or need + * to download updates in future + */ +@property(nonatomic, copy, readonly) NSString *liveUpdatePackageHash; + +- (instancetype)initWithWrapperSdkVersion:(NSString *)wrapperSdkVersion + wrapperSdkName:(NSString *)wrapperSdkName + wrapperRuntimeVersion:(NSString *)wrapperRuntimeVersion + liveUpdateReleaseLabel:(NSString *)liveUpdateReleaseLabel + liveUpdateDeploymentKey:(NSString *)liveUpdateDeploymentKey + liveUpdatePackageHash:(NSString *)liveUpdatePackageHash; + +/** + * Checks if the object's values are valid. + * + * @return YES, if the object is valid. + */ +- (BOOL)isValid; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000..32c35bdb --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,12 @@ +framework module AppCenter { + umbrella header "AppCenter.h" + + export * + module * { export * } + + link framework "Foundation" + link framework "SystemConfiguration" + link framework "AppKit" + link "sqlite3" + link "z" +} diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/PrivateHeaders/MSACChannelDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/PrivateHeaders/MSACChannelDelegate.h new file mode 100644 index 00000000..0702176e --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/PrivateHeaders/MSACChannelDelegate.h @@ -0,0 +1,114 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#import "MSACConstants+Flags.h" + +@protocol MSACChannelUnitProtocol; +@protocol MSACChannelGroupProtocol; +@protocol MSACChannelProtocol; +@protocol MSACLog; + +NS_ASSUME_NONNULL_BEGIN + +@protocol MSACChannelDelegate + +@optional + +/** + * A callback that is called when a channel unit is added to the channel group. + * + * @param channelGroup The channel group. + * @param channel The newly added channel. + */ +- (void)channelGroup:(id)channelGroup didAddChannelUnit:(id)channel; + +/** + * A callback that is called when a log is just enqueued. Delegates may want to prepare the log a little more before further processing. + * + * @param log The log to prepare. + */ +- (void)channel:(id)channel prepareLog:(id)log; + +/** + * A callback that is called after a log is definitely prepared. + * + * @param log The log. + * @param internalId An internal Id to keep track of logs. + * @param flags Options for the log. + */ +- (void)channel:(id)channel didPrepareLog:(id)log internalId:(NSString *)internalId flags:(MSACFlags)flags; + +/** + * A callback that is called after a log completed the enqueueing process whether it was successful or not. + * + * @param log The log. + * @param internalId An internal Id to keep track of logs. + */ +- (void)channel:(id)channel didCompleteEnqueueingLog:(id)log internalId:(NSString *)internalId; + +/** + * Callback method that will be called before each log will be send to the server. + * + * @param channel The channel object. + * @param log The log to be sent. + */ +- (void)channel:(id)channel willSendLog:(id)log; + +/** + * Callback method that will be called in case the SDK was able to send a log. + * + * @param channel The channel object. + * @param log The log to be sent. + */ +- (void)channel:(id)channel didSucceedSendingLog:(id)log; + +/** + * Callback method that will be called in case the SDK was unable to send a log. + * + * @param channel The channel object. + * @param log The log to be sent. + * @param error The error that occured. + */ +- (void)channel:(id)channel didFailSendingLog:(id)log withError:(nullable NSError *)error; + +/** + * A callback that is called when setEnabled has been invoked. + * + * @param channel The channel. + * @param isEnabled The boolean that indicates enabled. + * @param deletedData The boolean that indicates deleting data on disabled. + */ +- (void)channel:(id)channel didSetEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deletedData; + +/** + * A callback that is called when pause has been invoked. + * + * @param channel The channel. + * @param identifyingObject The identifying object used to pause the channel. + */ +- (void)channel:(id)channel didPauseWithIdentifyingObject:(id)identifyingObject; + +/** + * A callback that is called when resume has been invoked. + * + * @param channel The channel. + * @param identifyingObject The identifying object used to resume the channel. + */ +- (void)channel:(id)channel didResumeWithIdentifyingObject:(id)identifyingObject; + +/** + * Callback method that will determine if a log should be filtered out from the usual processing pipeline. If any delegate returns true, the + * log is filtered. + * + * @param channelUnit The channel unit that is going to send the log. + * @param log The log to be filtered or not. + * + * @return `true` if the log should be filtered out. + */ +- (BOOL)channelUnit:(id)channelUnit shouldFilterLog:(id)log; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Resources/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000..2757171d --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,44 @@ + + + + + BuildMachineOSBuild + 19H1217 + CFBundleDevelopmentRegion + en + CFBundleExecutable + AppCenter + CFBundleIdentifier + com.microsoft.appcenter + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + AppCenter + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1 + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1.0 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 11C505 + DTPlatformVersion + GM + DTSDKBuild + 19B90 + DTSDKName + macosx10.15 + DTXcode + 1130 + DTXcodeBuild + 11C505 + LSMinimumSystemVersion + 10.9 + + diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/Current b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/Current new file mode 120000 index 00000000..8c7e5a66 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/macos-arm64_x86_64/AppCenter.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/AppCenter b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/AppCenter new file mode 100644 index 00000000..33595548 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/AppCenter differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/AppCenter.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/AppCenter.h new file mode 100644 index 00000000..559521e5 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/AppCenter.h @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#else +#import "MSACAbstractLog.h" +#import "MSACAppCenter.h" +#import "MSACAppCenterErrors.h" +#import "MSACChannelGroupProtocol.h" +#import "MSACChannelProtocol.h" +#import "MSACConstants+Flags.h" +#import "MSACConstants.h" +#import "MSACCustomProperties.h" +#import "MSACDevice.h" +#import "MSACEnable.h" +#import "MSACLog.h" +#import "MSACLogWithProperties.h" +#import "MSACLogger.h" +#import "MSACService.h" +#import "MSACServiceAbstract.h" +#import "MSACWrapperLogger.h" +#import "MSACWrapperSdk.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACAbstractLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACAbstractLog.h new file mode 100644 index 00000000..2d6db269 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACAbstractLog.h @@ -0,0 +1,14 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_ABSTRACT_LOG_H +#define MSAC_ABSTRACT_LOG_H + +#import + +NS_SWIFT_NAME(AbstractLog) +@interface MSACAbstractLog : NSObject + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACAppCenter.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACAppCenter.h new file mode 100644 index 00000000..4e4f689e --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACAppCenter.h @@ -0,0 +1,203 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef MSAC_APP_CENTER +#define MSAC_APP_CENTER + +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif + +@class MSACWrapperSdk; + +#if !TARGET_OS_TV +@class MSACCustomProperties; +#endif + +NS_SWIFT_NAME(AppCenter) +@interface MSACAppCenter : NSObject + +/** + * Returns the singleton instance of MSACAppCenter. + */ ++ (instancetype)sharedInstance; + +/** + * Configure the SDK with an application secret. + * + * @param appSecret A unique and secret key used to identify the application. + * + * @discussion This may be called only once per application process lifetime. + */ ++ (void)configureWithAppSecret:(NSString *)appSecret NS_SWIFT_NAME(configure(withAppSecret:)); + +/** + * Configure the SDK. + * + * @discussion This may be called only once per application process lifetime. + */ ++ (void)configure; + +/** + * Configure the SDK with an application secret and an array of services to start. + * + * @param appSecret A unique and secret key used to identify the application. + * @param services Array of services to start. + * + * @discussion This may be called only once per application process lifetime. + */ ++ (void)start:(NSString *)appSecret withServices:(NSArray *)services NS_SWIFT_NAME(start(withAppSecret:services:)); + +/** + * Start the SDK with an array of services. + * + * @param services Array of services to start. + * + * @discussion This may be called only once per application process lifetime. + */ ++ (void)startWithServices:(NSArray *)services NS_SWIFT_NAME(start(services:)); + +/** + * Start a service. + * + * @param service A service to start. + * + * @discussion This may be called only once per service per application process lifetime. + */ ++ (void)startService:(Class)service; + +/** + * Configure the SDK with an array of services to start from a library. This will not start the service at application level, it will enable + * the service only for the library. + * + * @param services Array of services to start. + */ ++ (void)startFromLibraryWithServices:(NSArray *)services NS_SWIFT_NAME(startFromLibrary(services:)); + +/** + * The flag indicates whether the SDK has already been configured or not. + */ +@property(class, atomic, readonly, getter=isConfigured) BOOL configured; + +/** + * The flag indicates whether app is running in App Center Test Cloud. + */ +@property(class, atomic, readonly, getter=isRunningInAppCenterTestCloud) BOOL runningInAppCenterTestCloud; + +/** + * The flag indicates whether or not the SDK was enabled as a whole + * + * The state is persisted in the device's storage across application launches. + */ +@property(class, nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); + +/** + * Flag indicating whether SDK can send network requests. + * + * The state is persisted in the device's storage across application launches. + */ +@property(class, nonatomic, getter=isNetworkRequestsAllowed, setter=setNetworkRequestsAllowed:) + BOOL networkRequestsAllowed NS_SWIFT_NAME(networkRequestsAllowed); + +/** + * The SDK's log level. + */ +@property(class, nonatomic) MSACLogLevel logLevel; + +/** + * Base URL to use for backend communication. + */ +@property(class, nonatomic, strong) NSString *logUrl; + +/** + * Set log handler. + */ +@property(class, nonatomic) MSACLogHandler logHandler; + +/** + * Set wrapper SDK information to use when building device properties. This is intended in case you are building a SDK that uses the App + * Center SDK under the hood, e.g. our Xamarin SDK or ReactNative SDk. + */ +@property(class, nonatomic, strong) MSACWrapperSdk *wrapperSdk; + +#if !TARGET_OS_TV +/** + * Set the custom properties. + * + * @param customProperties Custom properties object. + */ ++ (void)setCustomProperties:(MSACCustomProperties *)customProperties; +#endif + +/** + * Check whether the application delegate forwarder is enabled or not. + * + * @discussion The application delegate forwarder forwards messages that target your application delegate methods via swizzling to the SDK. + * It simplifies the SDK integration but may not be suitable to any situations. For + * instance it should be disabled if you or one of your third party SDK is doing message forwarding on the application delegate. Message + * forwarding usually implies the implementation of @see NSObject#forwardingTargetForSelector: or @see NSObject#forwardInvocation: methods. + * To disable the application delegate forwarder just add the `AppCenterAppDelegateForwarderEnabled` tag to your Info .plist file and set it + * to `0`. Then you will have to forward any application delegate needed by the SDK manually. + */ +@property(class, readonly, nonatomic, getter=isAppDelegateForwarderEnabled) BOOL appDelegateForwarderEnabled; + +/** + * Unique installation identifier. + * + */ +@property(class, readonly, nonatomic) NSUUID *installId; + +/** + * Detect if a debugger is attached to the app process. This is only invoked once on app startup and can not detect + * if the debugger is being attached during runtime! + * + */ +@property(class, readonly, nonatomic, getter=isDebuggerAttached) BOOL debuggerAttached; + +/** + * Current version of AppCenter SDK. + * + */ +@property(class, readonly, nonatomic) NSString *sdkVersion; + +/** + * Set the maximum size of the internal storage. This method must be called before App Center is started. This method is only intended for + * applications. + * + * @param sizeInBytes Maximum size of the internal storage in bytes. This will be rounded up to the nearest multiple of a SQLite page size + * (default is 4096 bytes). Values below 20,480 bytes (20 KiB) will be ignored. + * + * @param completionHandler Callback that is invoked when the database size has been set. The `BOOL` parameter is `YES` if changing the size + * is successful, and `NO` otherwise. This parameter can be null. + * + * @discussion This only sets the maximum size of the database, but App Center modules might store additional data. + * The value passed to this method is not persisted on disk. The default maximum database size is 10485760 bytes (10 MiB). + */ ++ (void)setMaxStorageSize:(long)sizeInBytes completionHandler:(void (^)(BOOL))completionHandler; + +/** + * Set the user identifier. + * + * @discussion Set the user identifier for logs sent for the default target token when the secret passed in @c + * MSACAppCenter:start:withServices: contains "target={targetToken}". + * + * For App Center backend the user identifier maximum length is 256 characters. + * + * AppCenter must be configured or started before this API can be used. + */ +@property(class, nonatomic, strong) NSString *userId; + +/** + * Set country code to use when building device properties. + * + * @see https://www.iso.org/obp/ui/#search for more information. + */ +@property(class, nonatomic, strong) NSString *countryCode; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACAppCenterErrors.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACAppCenterErrors.h new file mode 100644 index 00000000..8e77d77c --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACAppCenterErrors.h @@ -0,0 +1,41 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_APP_CENTER_ERRORS_H +#define MSAC_APP_CENTER_ERRORS_H + +#import + +#define MSAC_APP_CENTER_BASE_DOMAIN @"com.Microsoft.AppCenter." + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - Domain + +static NSString *const kMSACACErrorDomain = MSAC_APP_CENTER_BASE_DOMAIN @"ErrorDomain"; + +#pragma mark - General + +// Error codes. +NS_ENUM(NSInteger){MSACACLogInvalidContainerErrorCode = 1, MSACACCanceledErrorCode = 2, MSACACDisabledErrorCode = 3}; + +// Error descriptions. +static NSString const *kMSACACLogInvalidContainerErrorDesc = @"Invalid log container."; +static NSString const *kMSACACCanceledErrorDesc = @"The operation was canceled."; +static NSString const *kMSACACDisabledErrorDesc = @"The service is disabled."; + +#pragma mark - Connection + +// Error codes. +NS_ENUM(NSInteger){MSACACConnectionPausedErrorCode = 100, MSACACConnectionHttpErrorCode = 101}; + +// Error descriptions. +static NSString const *kMSACACConnectionHttpErrorDesc = @"An HTTP error occured."; +static NSString const *kMSACACConnectionPausedErrorDesc = @"Canceled, connection paused with log deletion."; + +// Error user info keys. +static NSString const *kMSACACConnectionHttpCodeErrorKey = @"MSConnectionHttpCode"; + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACChannelGroupProtocol.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACChannelGroupProtocol.h new file mode 100644 index 00000000..2d621d85 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACChannelGroupProtocol.h @@ -0,0 +1,87 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CHANNEL_GROUP_PROTOCOL_H +#define MSAC_CHANNEL_GROUP_PROTOCOL_H + +#import + +#if __has_include() +#import +#else +#import "MSACChannelProtocol.h" +#endif + +NS_ASSUME_NONNULL_BEGIN + +@class MSACChannelUnitConfiguration; + +@protocol MSACIngestionProtocol; +@protocol MSACChannelUnitProtocol; + +/** + * `MSACChannelGroupProtocol` represents a kind of channel that contains constituent MSACChannelUnit objects. When an operation from the + * `MSACChannelProtocol` is performed on the group, that operation should be propagated to its constituent MSACChannelUnit objects. + */ +NS_SWIFT_NAME(ChannelGroupProtocol) +@protocol MSACChannelGroupProtocol + +/** + * Initialize a channel unit with the given configuration. + * + * @param configuration channel configuration. + * + * @return The added `MSACChannelUnitProtocol`. Use this object to enqueue logs. + */ +- (id)addChannelUnitWithConfiguration:(MSACChannelUnitConfiguration *)configuration + NS_SWIFT_NAME(addChannelUnit(withConfiguration:)); + +/** + * Initialize a channel unit with the given configuration. + * + * @param configuration channel configuration. + * @param ingestion The alternative ingestion object + * + * @return The added `MSACChannelUnitProtocol`. Use this object to enqueue logs. + */ +- (id)addChannelUnitWithConfiguration:(MSACChannelUnitConfiguration *)configuration + withIngestion:(nullable id)ingestion + NS_SWIFT_NAME(addChannelUnit(_:ingestion:)); + +/** + * Change the base URL (schema + authority + port only) used to communicate with the backend. + */ +@property(nonatomic, strong) NSString *_Nullable logUrl; + +/** + * Set the app secret. + */ +@property(nonatomic, strong) NSString *_Nullable appSecret; + +/** + * Set the maximum size of the internal storage. This method must be called before App Center is started. + * + * @discussion The default maximum database size is 10485760 bytes (10 MiB). + * + * @param sizeInBytes Maximum size of the internal storage in bytes. This will be rounded up to the nearest multiple of a SQLite page size + * (default is 4096 bytes). Values below 24576 bytes (24 KiB) will be ignored. + * @param completionHandler Callback that is invoked when the database size has been set. The `BOOL` parameter is `YES` if changing the size + * is successful, and `NO` otherwise. + */ +- (void)setMaxStorageSize:(long)sizeInBytes + completionHandler:(nullable void (^)(BOOL))completionHandler NS_SWIFT_NAME(setMaxStorageSize(_:completionHandler:)); + +/** + * Return a channel unit instance for the given groupId. + * + * @param groupId The group ID for a channel unit. + * + * @return A channel unit instance or `nil`. + */ +- (nullable id)channelUnitForGroupId:(NSString *)groupId; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACChannelProtocol.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACChannelProtocol.h new file mode 100644 index 00000000..09fcb7d0 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACChannelProtocol.h @@ -0,0 +1,68 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CHANNEL_PROTOCOL_H +#define MSAC_CHANNEL_PROTOCOL_H + +#import + +#if __has_include() +#import +#else +#import "MSACEnable.h" +#endif + +NS_ASSUME_NONNULL_BEGIN + +@protocol MSACChannelDelegate; + +/** + * `MSACChannelProtocol` contains the essential operations of a channel. Channels are broadly responsible for enqueuing logs to be sent to + * the backend and/or stored on disk. + */ +NS_SWIFT_NAME(ChannelProtocol) +@protocol MSACChannelProtocol + +/** + * Add delegate. + * + * @param delegate delegate. + */ +- (void)addDelegate:(id)delegate; + +/** + * Remove delegate. + * + * @param delegate delegate. + */ +- (void)removeDelegate:(id)delegate; + +/** + * Pause operations, logs will be stored but not sent. + * + * @param identifyingObject Object used to identify the pause request. + * + * @discussion A paused channel doesn't forward logs to the ingestion. The identifying object used to pause the channel can be any unique + * object. The same identifying object must be used to call resume. For simplicity if the caller is the one owning the channel then @c self + * can be used as identifying object. + * + * @see resumeWithIdentifyingObject: + */ +- (void)pauseWithIdentifyingObject:(id)identifyingObject; + +/** + * Resume operations, logs can be sent again. + * + * @param identifyingObject Object used to passed to the pause method. + * + * @discussion The channel only resume when all the outstanding identifying objects have been resumed. + * + * @see pauseWithIdentifyingObject: + */ +- (void)resumeWithIdentifyingObject:(id)identifyingObject; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACConstants+Flags.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACConstants+Flags.h new file mode 100644 index 00000000..5408e550 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACConstants+Flags.h @@ -0,0 +1,18 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CONSTANTS_FLAGS_H +#define MSAC_CONSTANTS_FLAGS_H + +#import + +typedef NS_OPTIONS(NSUInteger, MSACFlags) { + MSACFlagsNone = (0 << 0), // => 00000000 + MSACFlagsNormal = (1 << 0), // => 00000001 + MSACFlagsCritical = (1 << 1), // => 00000010 + MSACFlagsPersistenceNormal DEPRECATED_MSG_ATTRIBUTE("please use MSACFlagsNormal") = MSACFlagsNormal, + MSACFlagsPersistenceCritical DEPRECATED_MSG_ATTRIBUTE("please use MSACFlagsCritical") = MSACFlagsCritical, + MSACFlagsDefault = MSACFlagsNormal +} NS_SWIFT_NAME(Flags); + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACConstants.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACConstants.h new file mode 100644 index 00000000..545e9ea7 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACConstants.h @@ -0,0 +1,170 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +/** + * Log Levels + */ +typedef NS_ENUM(NSUInteger, MSACLogLevel) { + + /** + * Logging will be very chatty + */ + MSACLogLevelVerbose = 2, + + /** + * Debug information will be logged + */ + MSACLogLevelDebug = 3, + + /** + * Information will be logged + */ + MSACLogLevelInfo = 4, + + /** + * Errors and warnings will be logged + */ + MSACLogLevelWarning = 5, + + /** + * Errors will be logged + */ + MSACLogLevelError = 6, + + /** + * Only critical errors will be logged + */ + MSACLogLevelAssert = 7, + + /** + * Logging is disabled + */ + MSACLogLevelNone = 99 +} NS_SWIFT_NAME(LogLevel); + +typedef NSString * (^MSACLogMessageProvider)(void)NS_SWIFT_NAME(LogMessageProvider); +typedef void (^MSACLogHandler)(MSACLogMessageProvider messageProvider, MSACLogLevel logLevel, NSString *tag, const char *file, + const char *function, uint line) NS_SWIFT_NAME(LogHandler); + +/** + * Channel priorities, check the kMSACPriorityCount if you add a new value. + * The order matters here! Values NEED to range from low priority to high priority. + */ +typedef NS_ENUM(NSInteger, MSACPriority) { MSACPriorityBackground, MSACPriorityDefault, MSACPriorityHigh } NS_SWIFT_NAME(Priority); +static short const kMSACPriorityCount = MSACPriorityHigh + 1; + +/** + * The priority by which the modules are initialized. + * MSACPriorityMax is reserved for only 1 module and this needs to be Crashes. + * Crashes needs to be initialized first to catch crashes in our other SDK Modules (which will hopefully never happen) and to avoid losing + * any log at crash time. + */ +typedef NS_ENUM(NSInteger, MSACInitializationPriority) { + MSACInitializationPriorityDefault = 500, + MSACInitializationPriorityHigh = 750, + MSACInitializationPriorityMax = 999 +} NS_SWIFT_NAME(InitializationPriority); + +/** + * Enum with the different HTTP status codes. + */ +typedef NS_ENUM(NSInteger, MSACHTTPCodesNo) { + + // Invalid + MSACHTTPCodesNo0XXInvalidUnknown = 0, + + // Informational + MSACHTTPCodesNo1XXInformationalUnknown = 1, + MSACHTTPCodesNo100Continue = 100, + MSACHTTPCodesNo101SwitchingProtocols = 101, + MSACHTTPCodesNo102Processing = 102, + + // Success + MSACHTTPCodesNo2XXSuccessUnknown = 2, + MSACHTTPCodesNo200OK = 200, + MSACHTTPCodesNo201Created = 201, + MSACHTTPCodesNo202Accepted = 202, + MSACHTTPCodesNo203NonAuthoritativeInformation = 203, + MSACHTTPCodesNo204NoContent = 204, + MSACHTTPCodesNo205ResetContent = 205, + MSACHTTPCodesNo206PartialContent = 206, + MSACHTTPCodesNo207MultiStatus = 207, + MSACHTTPCodesNo208AlreadyReported = 208, + MSACHTTPCodesNo209IMUsed = 209, + + // Redirection + MSACHTTPCodesNo3XXSuccessUnknown = 3, + MSACHTTPCodesNo300MultipleChoices = 300, + MSACHTTPCodesNo301MovedPermanently = 301, + MSACHTTPCodesNo302Found = 302, + MSACHTTPCodesNo303SeeOther = 303, + MSACHTTPCodesNo304NotModified = 304, + MSACHTTPCodesNo305UseProxy = 305, + MSACHTTPCodesNo306SwitchProxy = 306, + MSACHTTPCodesNo307TemporaryRedirect = 307, + MSACHTTPCodesNo308PermanentRedirect = 308, + + // Client error + MSACHTTPCodesNo4XXSuccessUnknown = 4, + MSACHTTPCodesNo400BadRequest = 400, + MSACHTTPCodesNo401Unauthorised = 401, + MSACHTTPCodesNo402PaymentRequired = 402, + MSACHTTPCodesNo403Forbidden = 403, + MSACHTTPCodesNo404NotFound = 404, + MSACHTTPCodesNo405MethodNotAllowed = 405, + MSACHTTPCodesNo406NotAcceptable = 406, + MSACHTTPCodesNo407ProxyAuthenticationRequired = 407, + MSACHTTPCodesNo408RequestTimeout = 408, + MSACHTTPCodesNo409Conflict = 409, + MSACHTTPCodesNo410Gone = 410, + MSACHTTPCodesNo411LengthRequired = 411, + MSACHTTPCodesNo412PreconditionFailed = 412, + MSACHTTPCodesNo413RequestEntityTooLarge = 413, + MSACHTTPCodesNo414RequestURITooLong = 414, + MSACHTTPCodesNo415UnsupportedMediaType = 415, + MSACHTTPCodesNo416RequestedRangeNotSatisfiable = 416, + MSACHTTPCodesNo417ExpectationFailed = 417, + MSACHTTPCodesNo418IamATeapot = 418, + MSACHTTPCodesNo419AuthenticationTimeout = 419, + MSACHTTPCodesNo420MethodFailureSpringFramework = 420, + MSACHTTPCodesNo420EnhanceYourCalmTwitter = 4200, + MSACHTTPCodesNo422UnprocessableEntity = 422, + MSACHTTPCodesNo423Locked = 423, + MSACHTTPCodesNo424FailedDependency = 424, + MSACHTTPCodesNo424MethodFailureWebDaw = 4240, + MSACHTTPCodesNo425UnorderedCollection = 425, + MSACHTTPCodesNo426UpgradeRequired = 426, + MSACHTTPCodesNo428PreconditionRequired = 428, + MSACHTTPCodesNo429TooManyRequests = 429, + MSACHTTPCodesNo431RequestHeaderFieldsTooLarge = 431, + MSACHTTPCodesNo444NoResponseNginx = 444, + MSACHTTPCodesNo449RetryWithMicrosoft = 449, + MSACHTTPCodesNo450BlockedByWindowsParentalControls = 450, + MSACHTTPCodesNo451RedirectMicrosoft = 451, + MSACHTTPCodesNo451UnavailableForLegalReasons = 4510, + MSACHTTPCodesNo494RequestHeaderTooLargeNginx = 494, + MSACHTTPCodesNo495CertErrorNginx = 495, + MSACHTTPCodesNo496NoCertNginx = 496, + MSACHTTPCodesNo497HTTPToHTTPSNginx = 497, + MSACHTTPCodesNo499ClientClosedRequestNginx = 499, + + // Server error + MSACHTTPCodesNo5XXSuccessUnknown = 5, + MSACHTTPCodesNo500InternalServerError = 500, + MSACHTTPCodesNo501NotImplemented = 501, + MSACHTTPCodesNo502BadGateway = 502, + MSACHTTPCodesNo503ServiceUnavailable = 503, + MSACHTTPCodesNo504GatewayTimeout = 504, + MSACHTTPCodesNo505HTTPVersionNotSupported = 505, + MSACHTTPCodesNo506VariantAlsoNegotiates = 506, + MSACHTTPCodesNo507InsufficientStorage = 507, + MSACHTTPCodesNo508LoopDetected = 508, + MSACHTTPCodesNo509BandwidthLimitExceeded = 509, + MSACHTTPCodesNo510NotExtended = 510, + MSACHTTPCodesNo511NetworkAuthenticationRequired = 511, + MSACHTTPCodesNo522ConnectionTimedOut = 522, + MSACHTTPCodesNo598NetworkReadTimeoutErrorUnknown = 598, + MSACHTTPCodesNo599NetworkConnectTimeoutErrorUnknown = 599 +} NS_SWIFT_NAME(HTTPCodesNo); diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACCustomProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACCustomProperties.h new file mode 100644 index 00000000..28f1cf77 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACCustomProperties.h @@ -0,0 +1,71 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CUSTOM_PROPERTIES_H +#define MSAC_CUSTOM_PROPERTIES_H + +#import + +/** + * Custom properties builder. + * Collects multiple properties to send in one log. + */ +NS_SWIFT_NAME(CustomProperties) +@interface MSACCustomProperties : NSObject + +/** + * Set the specified property value with the specified key. + * If the properties previously contained a property for the key, the old value is replaced. + * + * @param key Key with which the specified value is to be set. + * @param value Value to be set with the specified key. + * + * @return This instance. + */ +- (instancetype)setString:(NSString *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); + +/** + * Set the specified property value with the specified key. + * If the properties previously contained a property for the key, the old value is replaced. + * + * @param key Key with which the specified value is to be set. + * @param value Value to be set with the specified key. + * + * @return This instance. + */ +- (instancetype)setNumber:(NSNumber *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); + +/** + * Set the specified property value with the specified key. + * If the properties previously contained a property for the key, the old value is replaced. + * + * @param key Key with which the specified value is to be set. + * @param value Value to be set with the specified key. + * + * @return This instance. + */ +- (instancetype)setBool:(BOOL)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); + +/** + * Set the specified property value with the specified key. + * If the properties previously contained a property for the key, the old value is replaced. + * + * @param key Key with which the specified value is to be set. + * @param value Value to be set with the specified key. + * + * @return This instance. + */ +- (instancetype)setDate:(NSDate *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); + +/** + * Clear the property for the specified key. + * + * @param key Key whose mapping is to be cleared. + * + * @return This instance. + */ +- (instancetype)clearPropertyForKey:(NSString *)key NS_SWIFT_NAME(clearProperty(forKey:)); + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACDevice.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACDevice.h new file mode 100644 index 00000000..b8fd18d7 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACDevice.h @@ -0,0 +1,101 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_DEVICE_H +#define MSAC_DEVICE_H + +#import + +#if __has_include() +#import +#else +#import "MSACWrapperSdk.h" +#endif + +NS_SWIFT_NAME(Device) +@interface MSACDevice : MSACWrapperSdk + +/* + * Name of the SDK. Consists of the name of the SDK and the platform, e.g. "appcenter.ios", "appcenter.android" + */ +@property(nonatomic, copy, readonly) NSString *sdkName; + +/* + * Version of the SDK in semver format, e.g. "1.2.0" or "0.12.3-alpha.1". + */ +@property(nonatomic, copy, readonly) NSString *sdkVersion; + +/* + * Device model (example: iPad2,3). + */ +@property(nonatomic, copy, readonly) NSString *model; + +/* + * Device manufacturer (example: HTC). + */ +@property(nonatomic, copy, readonly) NSString *oemName; + +/* + * OS name (example: iOS). + */ +@property(nonatomic, copy, readonly) NSString *osName; + +/* + * OS version (example: 9.3.0). + */ +@property(nonatomic, copy, readonly) NSString *osVersion; + +/* + * OS build code (example: LMY47X). [optional] + */ +@property(nonatomic, copy, readonly) NSString *osBuild; + +/* + * API level when applicable like in Android (example: 15). [optional] + */ +@property(nonatomic, copy, readonly) NSNumber *osApiLevel; + +/* + * Language code (example: en_US). + */ +@property(nonatomic, copy, readonly) NSString *locale; + +/* + * The offset in minutes from UTC for the device time zone, including daylight savings time. + */ +@property(nonatomic, readonly, strong) NSNumber *timeZoneOffset; + +/* + * Screen size of the device in pixels (example: 640x480). + */ +@property(nonatomic, copy, readonly) NSString *screenSize; + +/* + * Application version name, e.g. 1.1.0 + */ +@property(nonatomic, copy, readonly) NSString *appVersion; + +/* + * Carrier name (for mobile devices). [optional] + */ +@property(nonatomic, copy, readonly) NSString *carrierName; + +/* + * Carrier country code (for mobile devices). [optional] + */ +@property(nonatomic, copy, readonly) NSString *carrierCountry; + +/* + * The app's build number, e.g. 42. + */ +@property(nonatomic, copy, readonly) NSString *appBuild; + +/* + * The bundle identifier, package identifier, or namespace, depending on what the individual plattforms use, .e.g com.microsoft.example. + * [optional] + */ +@property(nonatomic, copy, readonly) NSString *appNamespace; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACEnable.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACEnable.h new file mode 100644 index 00000000..3feff5b5 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACEnable.h @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_ENABLE_H +#define MSAC_ENABLE_H + +#import + +/** + * Protocol to define an instance that can be enabled/disabled. + */ +NS_SWIFT_NAME(Enable) +@protocol MSACEnable + +@required + +/** + * Enable/disable this instance and delete data on disabled state. + * + * @param isEnabled A boolean value set to YES to enable the instance or NO to disable it. + * @param deleteData A boolean value set to YES to delete data or NO to keep it. + */ +- (void)setEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deleteData NS_SWIFT_NAME(setEnabled(_:deleteDataOnDisabled:)); + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACLog.h new file mode 100644 index 00000000..d46b377f --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACLog.h @@ -0,0 +1,74 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_LOG_H +#define MSAC_LOG_H + +#import + +@class MSACDevice; + +NS_SWIFT_NAME(Log) +@protocol MSACLog + +/** + * Log type. + */ +@property(nonatomic, copy) NSString *type; + +/** + * Log timestamp. + */ +@property(nonatomic, strong) NSDate *timestamp; + +/** + * A session identifier is used to correlate logs together. A session is an abstract concept in the API and is not necessarily an analytics + * session, it can be used to only track crashes. + */ +@property(nonatomic, copy) NSString *sid; + +/** + * Optional distribution group ID value. + */ +@property(nonatomic, copy) NSString *distributionGroupId; + +/** + * Optional user identifier. + */ +@property(nonatomic, copy) NSString *userId; + +/** + * Device properties associated to this log. + */ +@property(nonatomic, strong) MSACDevice *device; + +/** + * Transient object tag. For example, a log can be tagged with a transmission target. We do this currently to prevent properties being + * applied retroactively to previous logs by comparing their tags. + */ +@property(nonatomic, strong) NSObject *tag; + +/** + * Checks if the object's values are valid. + * + * @return YES, if the object is valid. + */ +- (BOOL)isValid; + +/** + * Adds a transmission target token that this log should be sent to. + * + * @param token The transmission target token. + */ +- (void)addTransmissionTargetToken:(NSString *)token; + +/** + * Gets all transmission target tokens that this log should be sent to. + * + * @returns Collection of transmission target tokens that this log should be sent to. + */ +- (NSSet *)transmissionTargetTokens; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACLogWithProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACLogWithProperties.h new file mode 100644 index 00000000..12af6c40 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACLogWithProperties.h @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_LOG_WITH_PROPERTIES_H +#define MSAC_LOG_WITH_PROPERTIES_H + +#import + +#if __has_include() +#import +#else +#import "MSACAbstractLog.h" +#endif + +NS_SWIFT_NAME(LogWithProperties) +@interface MSACLogWithProperties : MSACAbstractLog + +/** + * Additional key/value pair parameters. [optional] + */ +@property(nonatomic, strong) NSDictionary *properties; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACLogger.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACLogger.h new file mode 100644 index 00000000..bb4b4136 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACLogger.h @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef MSAC_LOGGER +#define MSAC_LOGGER + +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif + +#define MSACLog(_level, _tag, _message) \ + [MSACLogger logMessage:_message level:_level tag:_tag file:__FILE__ function:__PRETTY_FUNCTION__ line:__LINE__] +#define MSACLogAssert(tag, format, ...) \ + MSACLog(MSACLogLevelAssert, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogError(tag, format, ...) \ + MSACLog(MSACLogLevelError, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogWarning(tag, format, ...) \ + MSACLog(MSACLogLevelWarning, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogInfo(tag, format, ...) \ + MSACLog(MSACLogLevelInfo, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogDebug(tag, format, ...) \ + MSACLog(MSACLogLevelDebug, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogVerbose(tag, format, ...) \ + MSACLog(MSACLogLevelVerbose, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) + +NS_SWIFT_NAME(Logger) +@interface MSACLogger : NSObject + ++ (void)logMessage:(MSACLogMessageProvider)messageProvider + level:(MSACLogLevel)loglevel + tag:(NSString *)tag + file:(const char *)file + function:(const char *)function + line:(uint)line; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACService.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACService.h new file mode 100644 index 00000000..b9fafff9 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACService.h @@ -0,0 +1,23 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_SERVICE_H +#define MSAC_SERVICE_H + +#import + +/** + * Protocol declaring service logic. + */ +NS_SWIFT_NAME(Service) +@protocol MSACService + +/** + * Indicates whether this service is enabled. + * The state is persisted in the device's storage across application launches. + */ +@property(class, nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACServiceAbstract.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACServiceAbstract.h new file mode 100644 index 00000000..ad7a2ef3 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACServiceAbstract.h @@ -0,0 +1,58 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_SERVICE_ABSTRACT_H +#define MSAC_SERVICE_ABSTRACT_H + +#import + +#if __has_include() +#import +#else +#import "MSACService.h" +#endif + +@protocol MSACChannelGroupProtocol; + +/** + * Abstraction of services common logic. + * This class is intended to be subclassed only not instantiated directly. + */ +NS_SWIFT_NAME(ServiceAbstract) +@interface MSACServiceAbstract : NSObject + +/** + * The flag indicates whether the service is started from application or not. + */ +@property(nonatomic, assign) BOOL startedFromApplication; + +/** + * Start this service with a channel group. Also sets the flag that indicates that a service has been started. + * + * @param channelGroup channel group used to persist and send logs. + * @param appSecret app secret for the SDK. + * @param token default transmission target token for this service. + * @param fromApplication indicates whether the service started from an application or not. + */ +- (void)startWithChannelGroup:(id)channelGroup + appSecret:(NSString *)appSecret + transmissionTargetToken:(NSString *)token + fromApplication:(BOOL)fromApplication; + +/** + * Update configuration when the service requires to start again. This method should only be called if the service is started from libraries + * and then is being started from an application. + * + * @param appSecret app secret for the SDK. + * @param token default transmission target token for this service. + */ +- (void)updateConfigurationWithAppSecret:(NSString *)appSecret transmissionTargetToken:(NSString *)token; + +/** + * The flag indicate whether the service needs the application secret or not. + */ +@property(atomic, readonly) BOOL isAppSecretRequired; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACWrapperLogger.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACWrapperLogger.h new file mode 100644 index 00000000..79a14622 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACWrapperLogger.h @@ -0,0 +1,21 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif + +/** + * This is a utility for producing App Center style log messages. It is only intended for use by App Center services and wrapper SDKs of App + * Center. + */ +NS_SWIFT_NAME(WrapperLogger) +@interface MSACWrapperLogger : NSObject + ++ (void)MSACWrapperLog:(MSACLogMessageProvider)message tag:(NSString *)tag level:(MSACLogLevel)level; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACWrapperSdk.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACWrapperSdk.h new file mode 100644 index 00000000..20410721 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Headers/MSACWrapperSdk.h @@ -0,0 +1,60 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_WRAPPER_SDK_H +#define MSAC_WRAPPER_SDK_H + +#import + +NS_SWIFT_NAME(WrapperSdk) +@interface MSACWrapperSdk : NSObject + +/* + * Version of the wrapper SDK. When the SDK is embedding another base SDK (for example Xamarin.Android wraps Android), the Xamarin specific + * version is populated into this field while sdkVersion refers to the original Android SDK. [optional] + */ +@property(nonatomic, copy, readonly) NSString *wrapperSdkVersion; + +/* + * Name of the wrapper SDK (examples: Xamarin, Cordova). [optional] + */ +@property(nonatomic, copy, readonly) NSString *wrapperSdkName; + +/* + * Version of the wrapper technology framework (Xamarin runtime version or ReactNative or Cordova etc...). [optional] + */ +@property(nonatomic, copy, readonly) NSString *wrapperRuntimeVersion; + +/* + * Label that is used to identify application code 'version' released via Live Update beacon running on device. + */ +@property(nonatomic, copy, readonly) NSString *liveUpdateReleaseLabel; + +/* + * Identifier of environment that current application release belongs to, deployment key then maps to environment like Production, Staging. + */ +@property(nonatomic, copy, readonly) NSString *liveUpdateDeploymentKey; + +/* + * Hash of all files (ReactNative or Cordova) deployed to device via LiveUpdate beacon. Helps identify the Release version on device or need + * to download updates in future + */ +@property(nonatomic, copy, readonly) NSString *liveUpdatePackageHash; + +- (instancetype)initWithWrapperSdkVersion:(NSString *)wrapperSdkVersion + wrapperSdkName:(NSString *)wrapperSdkName + wrapperRuntimeVersion:(NSString *)wrapperRuntimeVersion + liveUpdateReleaseLabel:(NSString *)liveUpdateReleaseLabel + liveUpdateDeploymentKey:(NSString *)liveUpdateDeploymentKey + liveUpdatePackageHash:(NSString *)liveUpdatePackageHash; + +/** + * Checks if the object's values are valid. + * + * @return YES, if the object is valid. + */ +- (BOOL)isValid; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Info.plist new file mode 100644 index 00000000..2b6d4b03 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Info.plist differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Modules/module.modulemap new file mode 100644 index 00000000..ec02d0fe --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/Modules/module.modulemap @@ -0,0 +1,12 @@ +framework module AppCenter { + umbrella header "AppCenter.h" + + export * + module * { export * } + + link framework "Foundation" + link framework "SystemConfiguration" + link framework "UIKit" + link "sqlite3" + link "z" +} diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/PrivateHeaders/MSACChannelDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/PrivateHeaders/MSACChannelDelegate.h new file mode 100644 index 00000000..0702176e --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64/AppCenter.framework/PrivateHeaders/MSACChannelDelegate.h @@ -0,0 +1,114 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#import "MSACConstants+Flags.h" + +@protocol MSACChannelUnitProtocol; +@protocol MSACChannelGroupProtocol; +@protocol MSACChannelProtocol; +@protocol MSACLog; + +NS_ASSUME_NONNULL_BEGIN + +@protocol MSACChannelDelegate + +@optional + +/** + * A callback that is called when a channel unit is added to the channel group. + * + * @param channelGroup The channel group. + * @param channel The newly added channel. + */ +- (void)channelGroup:(id)channelGroup didAddChannelUnit:(id)channel; + +/** + * A callback that is called when a log is just enqueued. Delegates may want to prepare the log a little more before further processing. + * + * @param log The log to prepare. + */ +- (void)channel:(id)channel prepareLog:(id)log; + +/** + * A callback that is called after a log is definitely prepared. + * + * @param log The log. + * @param internalId An internal Id to keep track of logs. + * @param flags Options for the log. + */ +- (void)channel:(id)channel didPrepareLog:(id)log internalId:(NSString *)internalId flags:(MSACFlags)flags; + +/** + * A callback that is called after a log completed the enqueueing process whether it was successful or not. + * + * @param log The log. + * @param internalId An internal Id to keep track of logs. + */ +- (void)channel:(id)channel didCompleteEnqueueingLog:(id)log internalId:(NSString *)internalId; + +/** + * Callback method that will be called before each log will be send to the server. + * + * @param channel The channel object. + * @param log The log to be sent. + */ +- (void)channel:(id)channel willSendLog:(id)log; + +/** + * Callback method that will be called in case the SDK was able to send a log. + * + * @param channel The channel object. + * @param log The log to be sent. + */ +- (void)channel:(id)channel didSucceedSendingLog:(id)log; + +/** + * Callback method that will be called in case the SDK was unable to send a log. + * + * @param channel The channel object. + * @param log The log to be sent. + * @param error The error that occured. + */ +- (void)channel:(id)channel didFailSendingLog:(id)log withError:(nullable NSError *)error; + +/** + * A callback that is called when setEnabled has been invoked. + * + * @param channel The channel. + * @param isEnabled The boolean that indicates enabled. + * @param deletedData The boolean that indicates deleting data on disabled. + */ +- (void)channel:(id)channel didSetEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deletedData; + +/** + * A callback that is called when pause has been invoked. + * + * @param channel The channel. + * @param identifyingObject The identifying object used to pause the channel. + */ +- (void)channel:(id)channel didPauseWithIdentifyingObject:(id)identifyingObject; + +/** + * A callback that is called when resume has been invoked. + * + * @param channel The channel. + * @param identifyingObject The identifying object used to resume the channel. + */ +- (void)channel:(id)channel didResumeWithIdentifyingObject:(id)identifyingObject; + +/** + * Callback method that will determine if a log should be filtered out from the usual processing pipeline. If any delegate returns true, the + * log is filtered. + * + * @param channelUnit The channel unit that is going to send the log. + * @param log The log to be filtered or not. + * + * @return `true` if the log should be filtered out. + */ +- (BOOL)channelUnit:(id)channelUnit shouldFilterLog:(id)log; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/AppCenter b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/AppCenter new file mode 100644 index 00000000..6c9bb548 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/AppCenter differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/AppCenter.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/AppCenter.h new file mode 100644 index 00000000..559521e5 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/AppCenter.h @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#else +#import "MSACAbstractLog.h" +#import "MSACAppCenter.h" +#import "MSACAppCenterErrors.h" +#import "MSACChannelGroupProtocol.h" +#import "MSACChannelProtocol.h" +#import "MSACConstants+Flags.h" +#import "MSACConstants.h" +#import "MSACCustomProperties.h" +#import "MSACDevice.h" +#import "MSACEnable.h" +#import "MSACLog.h" +#import "MSACLogWithProperties.h" +#import "MSACLogger.h" +#import "MSACService.h" +#import "MSACServiceAbstract.h" +#import "MSACWrapperLogger.h" +#import "MSACWrapperSdk.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACAbstractLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACAbstractLog.h new file mode 100644 index 00000000..2d6db269 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACAbstractLog.h @@ -0,0 +1,14 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_ABSTRACT_LOG_H +#define MSAC_ABSTRACT_LOG_H + +#import + +NS_SWIFT_NAME(AbstractLog) +@interface MSACAbstractLog : NSObject + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACAppCenter.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACAppCenter.h new file mode 100644 index 00000000..4e4f689e --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACAppCenter.h @@ -0,0 +1,203 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef MSAC_APP_CENTER +#define MSAC_APP_CENTER + +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif + +@class MSACWrapperSdk; + +#if !TARGET_OS_TV +@class MSACCustomProperties; +#endif + +NS_SWIFT_NAME(AppCenter) +@interface MSACAppCenter : NSObject + +/** + * Returns the singleton instance of MSACAppCenter. + */ ++ (instancetype)sharedInstance; + +/** + * Configure the SDK with an application secret. + * + * @param appSecret A unique and secret key used to identify the application. + * + * @discussion This may be called only once per application process lifetime. + */ ++ (void)configureWithAppSecret:(NSString *)appSecret NS_SWIFT_NAME(configure(withAppSecret:)); + +/** + * Configure the SDK. + * + * @discussion This may be called only once per application process lifetime. + */ ++ (void)configure; + +/** + * Configure the SDK with an application secret and an array of services to start. + * + * @param appSecret A unique and secret key used to identify the application. + * @param services Array of services to start. + * + * @discussion This may be called only once per application process lifetime. + */ ++ (void)start:(NSString *)appSecret withServices:(NSArray *)services NS_SWIFT_NAME(start(withAppSecret:services:)); + +/** + * Start the SDK with an array of services. + * + * @param services Array of services to start. + * + * @discussion This may be called only once per application process lifetime. + */ ++ (void)startWithServices:(NSArray *)services NS_SWIFT_NAME(start(services:)); + +/** + * Start a service. + * + * @param service A service to start. + * + * @discussion This may be called only once per service per application process lifetime. + */ ++ (void)startService:(Class)service; + +/** + * Configure the SDK with an array of services to start from a library. This will not start the service at application level, it will enable + * the service only for the library. + * + * @param services Array of services to start. + */ ++ (void)startFromLibraryWithServices:(NSArray *)services NS_SWIFT_NAME(startFromLibrary(services:)); + +/** + * The flag indicates whether the SDK has already been configured or not. + */ +@property(class, atomic, readonly, getter=isConfigured) BOOL configured; + +/** + * The flag indicates whether app is running in App Center Test Cloud. + */ +@property(class, atomic, readonly, getter=isRunningInAppCenterTestCloud) BOOL runningInAppCenterTestCloud; + +/** + * The flag indicates whether or not the SDK was enabled as a whole + * + * The state is persisted in the device's storage across application launches. + */ +@property(class, nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); + +/** + * Flag indicating whether SDK can send network requests. + * + * The state is persisted in the device's storage across application launches. + */ +@property(class, nonatomic, getter=isNetworkRequestsAllowed, setter=setNetworkRequestsAllowed:) + BOOL networkRequestsAllowed NS_SWIFT_NAME(networkRequestsAllowed); + +/** + * The SDK's log level. + */ +@property(class, nonatomic) MSACLogLevel logLevel; + +/** + * Base URL to use for backend communication. + */ +@property(class, nonatomic, strong) NSString *logUrl; + +/** + * Set log handler. + */ +@property(class, nonatomic) MSACLogHandler logHandler; + +/** + * Set wrapper SDK information to use when building device properties. This is intended in case you are building a SDK that uses the App + * Center SDK under the hood, e.g. our Xamarin SDK or ReactNative SDk. + */ +@property(class, nonatomic, strong) MSACWrapperSdk *wrapperSdk; + +#if !TARGET_OS_TV +/** + * Set the custom properties. + * + * @param customProperties Custom properties object. + */ ++ (void)setCustomProperties:(MSACCustomProperties *)customProperties; +#endif + +/** + * Check whether the application delegate forwarder is enabled or not. + * + * @discussion The application delegate forwarder forwards messages that target your application delegate methods via swizzling to the SDK. + * It simplifies the SDK integration but may not be suitable to any situations. For + * instance it should be disabled if you or one of your third party SDK is doing message forwarding on the application delegate. Message + * forwarding usually implies the implementation of @see NSObject#forwardingTargetForSelector: or @see NSObject#forwardInvocation: methods. + * To disable the application delegate forwarder just add the `AppCenterAppDelegateForwarderEnabled` tag to your Info .plist file and set it + * to `0`. Then you will have to forward any application delegate needed by the SDK manually. + */ +@property(class, readonly, nonatomic, getter=isAppDelegateForwarderEnabled) BOOL appDelegateForwarderEnabled; + +/** + * Unique installation identifier. + * + */ +@property(class, readonly, nonatomic) NSUUID *installId; + +/** + * Detect if a debugger is attached to the app process. This is only invoked once on app startup and can not detect + * if the debugger is being attached during runtime! + * + */ +@property(class, readonly, nonatomic, getter=isDebuggerAttached) BOOL debuggerAttached; + +/** + * Current version of AppCenter SDK. + * + */ +@property(class, readonly, nonatomic) NSString *sdkVersion; + +/** + * Set the maximum size of the internal storage. This method must be called before App Center is started. This method is only intended for + * applications. + * + * @param sizeInBytes Maximum size of the internal storage in bytes. This will be rounded up to the nearest multiple of a SQLite page size + * (default is 4096 bytes). Values below 20,480 bytes (20 KiB) will be ignored. + * + * @param completionHandler Callback that is invoked when the database size has been set. The `BOOL` parameter is `YES` if changing the size + * is successful, and `NO` otherwise. This parameter can be null. + * + * @discussion This only sets the maximum size of the database, but App Center modules might store additional data. + * The value passed to this method is not persisted on disk. The default maximum database size is 10485760 bytes (10 MiB). + */ ++ (void)setMaxStorageSize:(long)sizeInBytes completionHandler:(void (^)(BOOL))completionHandler; + +/** + * Set the user identifier. + * + * @discussion Set the user identifier for logs sent for the default target token when the secret passed in @c + * MSACAppCenter:start:withServices: contains "target={targetToken}". + * + * For App Center backend the user identifier maximum length is 256 characters. + * + * AppCenter must be configured or started before this API can be used. + */ +@property(class, nonatomic, strong) NSString *userId; + +/** + * Set country code to use when building device properties. + * + * @see https://www.iso.org/obp/ui/#search for more information. + */ +@property(class, nonatomic, strong) NSString *countryCode; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACAppCenterErrors.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACAppCenterErrors.h new file mode 100644 index 00000000..8e77d77c --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACAppCenterErrors.h @@ -0,0 +1,41 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_APP_CENTER_ERRORS_H +#define MSAC_APP_CENTER_ERRORS_H + +#import + +#define MSAC_APP_CENTER_BASE_DOMAIN @"com.Microsoft.AppCenter." + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - Domain + +static NSString *const kMSACACErrorDomain = MSAC_APP_CENTER_BASE_DOMAIN @"ErrorDomain"; + +#pragma mark - General + +// Error codes. +NS_ENUM(NSInteger){MSACACLogInvalidContainerErrorCode = 1, MSACACCanceledErrorCode = 2, MSACACDisabledErrorCode = 3}; + +// Error descriptions. +static NSString const *kMSACACLogInvalidContainerErrorDesc = @"Invalid log container."; +static NSString const *kMSACACCanceledErrorDesc = @"The operation was canceled."; +static NSString const *kMSACACDisabledErrorDesc = @"The service is disabled."; + +#pragma mark - Connection + +// Error codes. +NS_ENUM(NSInteger){MSACACConnectionPausedErrorCode = 100, MSACACConnectionHttpErrorCode = 101}; + +// Error descriptions. +static NSString const *kMSACACConnectionHttpErrorDesc = @"An HTTP error occured."; +static NSString const *kMSACACConnectionPausedErrorDesc = @"Canceled, connection paused with log deletion."; + +// Error user info keys. +static NSString const *kMSACACConnectionHttpCodeErrorKey = @"MSConnectionHttpCode"; + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACChannelGroupProtocol.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACChannelGroupProtocol.h new file mode 100644 index 00000000..2d621d85 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACChannelGroupProtocol.h @@ -0,0 +1,87 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CHANNEL_GROUP_PROTOCOL_H +#define MSAC_CHANNEL_GROUP_PROTOCOL_H + +#import + +#if __has_include() +#import +#else +#import "MSACChannelProtocol.h" +#endif + +NS_ASSUME_NONNULL_BEGIN + +@class MSACChannelUnitConfiguration; + +@protocol MSACIngestionProtocol; +@protocol MSACChannelUnitProtocol; + +/** + * `MSACChannelGroupProtocol` represents a kind of channel that contains constituent MSACChannelUnit objects. When an operation from the + * `MSACChannelProtocol` is performed on the group, that operation should be propagated to its constituent MSACChannelUnit objects. + */ +NS_SWIFT_NAME(ChannelGroupProtocol) +@protocol MSACChannelGroupProtocol + +/** + * Initialize a channel unit with the given configuration. + * + * @param configuration channel configuration. + * + * @return The added `MSACChannelUnitProtocol`. Use this object to enqueue logs. + */ +- (id)addChannelUnitWithConfiguration:(MSACChannelUnitConfiguration *)configuration + NS_SWIFT_NAME(addChannelUnit(withConfiguration:)); + +/** + * Initialize a channel unit with the given configuration. + * + * @param configuration channel configuration. + * @param ingestion The alternative ingestion object + * + * @return The added `MSACChannelUnitProtocol`. Use this object to enqueue logs. + */ +- (id)addChannelUnitWithConfiguration:(MSACChannelUnitConfiguration *)configuration + withIngestion:(nullable id)ingestion + NS_SWIFT_NAME(addChannelUnit(_:ingestion:)); + +/** + * Change the base URL (schema + authority + port only) used to communicate with the backend. + */ +@property(nonatomic, strong) NSString *_Nullable logUrl; + +/** + * Set the app secret. + */ +@property(nonatomic, strong) NSString *_Nullable appSecret; + +/** + * Set the maximum size of the internal storage. This method must be called before App Center is started. + * + * @discussion The default maximum database size is 10485760 bytes (10 MiB). + * + * @param sizeInBytes Maximum size of the internal storage in bytes. This will be rounded up to the nearest multiple of a SQLite page size + * (default is 4096 bytes). Values below 24576 bytes (24 KiB) will be ignored. + * @param completionHandler Callback that is invoked when the database size has been set. The `BOOL` parameter is `YES` if changing the size + * is successful, and `NO` otherwise. + */ +- (void)setMaxStorageSize:(long)sizeInBytes + completionHandler:(nullable void (^)(BOOL))completionHandler NS_SWIFT_NAME(setMaxStorageSize(_:completionHandler:)); + +/** + * Return a channel unit instance for the given groupId. + * + * @param groupId The group ID for a channel unit. + * + * @return A channel unit instance or `nil`. + */ +- (nullable id)channelUnitForGroupId:(NSString *)groupId; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACChannelProtocol.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACChannelProtocol.h new file mode 100644 index 00000000..09fcb7d0 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACChannelProtocol.h @@ -0,0 +1,68 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CHANNEL_PROTOCOL_H +#define MSAC_CHANNEL_PROTOCOL_H + +#import + +#if __has_include() +#import +#else +#import "MSACEnable.h" +#endif + +NS_ASSUME_NONNULL_BEGIN + +@protocol MSACChannelDelegate; + +/** + * `MSACChannelProtocol` contains the essential operations of a channel. Channels are broadly responsible for enqueuing logs to be sent to + * the backend and/or stored on disk. + */ +NS_SWIFT_NAME(ChannelProtocol) +@protocol MSACChannelProtocol + +/** + * Add delegate. + * + * @param delegate delegate. + */ +- (void)addDelegate:(id)delegate; + +/** + * Remove delegate. + * + * @param delegate delegate. + */ +- (void)removeDelegate:(id)delegate; + +/** + * Pause operations, logs will be stored but not sent. + * + * @param identifyingObject Object used to identify the pause request. + * + * @discussion A paused channel doesn't forward logs to the ingestion. The identifying object used to pause the channel can be any unique + * object. The same identifying object must be used to call resume. For simplicity if the caller is the one owning the channel then @c self + * can be used as identifying object. + * + * @see resumeWithIdentifyingObject: + */ +- (void)pauseWithIdentifyingObject:(id)identifyingObject; + +/** + * Resume operations, logs can be sent again. + * + * @param identifyingObject Object used to passed to the pause method. + * + * @discussion The channel only resume when all the outstanding identifying objects have been resumed. + * + * @see pauseWithIdentifyingObject: + */ +- (void)resumeWithIdentifyingObject:(id)identifyingObject; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACConstants+Flags.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACConstants+Flags.h new file mode 100644 index 00000000..5408e550 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACConstants+Flags.h @@ -0,0 +1,18 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CONSTANTS_FLAGS_H +#define MSAC_CONSTANTS_FLAGS_H + +#import + +typedef NS_OPTIONS(NSUInteger, MSACFlags) { + MSACFlagsNone = (0 << 0), // => 00000000 + MSACFlagsNormal = (1 << 0), // => 00000001 + MSACFlagsCritical = (1 << 1), // => 00000010 + MSACFlagsPersistenceNormal DEPRECATED_MSG_ATTRIBUTE("please use MSACFlagsNormal") = MSACFlagsNormal, + MSACFlagsPersistenceCritical DEPRECATED_MSG_ATTRIBUTE("please use MSACFlagsCritical") = MSACFlagsCritical, + MSACFlagsDefault = MSACFlagsNormal +} NS_SWIFT_NAME(Flags); + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACConstants.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACConstants.h new file mode 100644 index 00000000..545e9ea7 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACConstants.h @@ -0,0 +1,170 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +/** + * Log Levels + */ +typedef NS_ENUM(NSUInteger, MSACLogLevel) { + + /** + * Logging will be very chatty + */ + MSACLogLevelVerbose = 2, + + /** + * Debug information will be logged + */ + MSACLogLevelDebug = 3, + + /** + * Information will be logged + */ + MSACLogLevelInfo = 4, + + /** + * Errors and warnings will be logged + */ + MSACLogLevelWarning = 5, + + /** + * Errors will be logged + */ + MSACLogLevelError = 6, + + /** + * Only critical errors will be logged + */ + MSACLogLevelAssert = 7, + + /** + * Logging is disabled + */ + MSACLogLevelNone = 99 +} NS_SWIFT_NAME(LogLevel); + +typedef NSString * (^MSACLogMessageProvider)(void)NS_SWIFT_NAME(LogMessageProvider); +typedef void (^MSACLogHandler)(MSACLogMessageProvider messageProvider, MSACLogLevel logLevel, NSString *tag, const char *file, + const char *function, uint line) NS_SWIFT_NAME(LogHandler); + +/** + * Channel priorities, check the kMSACPriorityCount if you add a new value. + * The order matters here! Values NEED to range from low priority to high priority. + */ +typedef NS_ENUM(NSInteger, MSACPriority) { MSACPriorityBackground, MSACPriorityDefault, MSACPriorityHigh } NS_SWIFT_NAME(Priority); +static short const kMSACPriorityCount = MSACPriorityHigh + 1; + +/** + * The priority by which the modules are initialized. + * MSACPriorityMax is reserved for only 1 module and this needs to be Crashes. + * Crashes needs to be initialized first to catch crashes in our other SDK Modules (which will hopefully never happen) and to avoid losing + * any log at crash time. + */ +typedef NS_ENUM(NSInteger, MSACInitializationPriority) { + MSACInitializationPriorityDefault = 500, + MSACInitializationPriorityHigh = 750, + MSACInitializationPriorityMax = 999 +} NS_SWIFT_NAME(InitializationPriority); + +/** + * Enum with the different HTTP status codes. + */ +typedef NS_ENUM(NSInteger, MSACHTTPCodesNo) { + + // Invalid + MSACHTTPCodesNo0XXInvalidUnknown = 0, + + // Informational + MSACHTTPCodesNo1XXInformationalUnknown = 1, + MSACHTTPCodesNo100Continue = 100, + MSACHTTPCodesNo101SwitchingProtocols = 101, + MSACHTTPCodesNo102Processing = 102, + + // Success + MSACHTTPCodesNo2XXSuccessUnknown = 2, + MSACHTTPCodesNo200OK = 200, + MSACHTTPCodesNo201Created = 201, + MSACHTTPCodesNo202Accepted = 202, + MSACHTTPCodesNo203NonAuthoritativeInformation = 203, + MSACHTTPCodesNo204NoContent = 204, + MSACHTTPCodesNo205ResetContent = 205, + MSACHTTPCodesNo206PartialContent = 206, + MSACHTTPCodesNo207MultiStatus = 207, + MSACHTTPCodesNo208AlreadyReported = 208, + MSACHTTPCodesNo209IMUsed = 209, + + // Redirection + MSACHTTPCodesNo3XXSuccessUnknown = 3, + MSACHTTPCodesNo300MultipleChoices = 300, + MSACHTTPCodesNo301MovedPermanently = 301, + MSACHTTPCodesNo302Found = 302, + MSACHTTPCodesNo303SeeOther = 303, + MSACHTTPCodesNo304NotModified = 304, + MSACHTTPCodesNo305UseProxy = 305, + MSACHTTPCodesNo306SwitchProxy = 306, + MSACHTTPCodesNo307TemporaryRedirect = 307, + MSACHTTPCodesNo308PermanentRedirect = 308, + + // Client error + MSACHTTPCodesNo4XXSuccessUnknown = 4, + MSACHTTPCodesNo400BadRequest = 400, + MSACHTTPCodesNo401Unauthorised = 401, + MSACHTTPCodesNo402PaymentRequired = 402, + MSACHTTPCodesNo403Forbidden = 403, + MSACHTTPCodesNo404NotFound = 404, + MSACHTTPCodesNo405MethodNotAllowed = 405, + MSACHTTPCodesNo406NotAcceptable = 406, + MSACHTTPCodesNo407ProxyAuthenticationRequired = 407, + MSACHTTPCodesNo408RequestTimeout = 408, + MSACHTTPCodesNo409Conflict = 409, + MSACHTTPCodesNo410Gone = 410, + MSACHTTPCodesNo411LengthRequired = 411, + MSACHTTPCodesNo412PreconditionFailed = 412, + MSACHTTPCodesNo413RequestEntityTooLarge = 413, + MSACHTTPCodesNo414RequestURITooLong = 414, + MSACHTTPCodesNo415UnsupportedMediaType = 415, + MSACHTTPCodesNo416RequestedRangeNotSatisfiable = 416, + MSACHTTPCodesNo417ExpectationFailed = 417, + MSACHTTPCodesNo418IamATeapot = 418, + MSACHTTPCodesNo419AuthenticationTimeout = 419, + MSACHTTPCodesNo420MethodFailureSpringFramework = 420, + MSACHTTPCodesNo420EnhanceYourCalmTwitter = 4200, + MSACHTTPCodesNo422UnprocessableEntity = 422, + MSACHTTPCodesNo423Locked = 423, + MSACHTTPCodesNo424FailedDependency = 424, + MSACHTTPCodesNo424MethodFailureWebDaw = 4240, + MSACHTTPCodesNo425UnorderedCollection = 425, + MSACHTTPCodesNo426UpgradeRequired = 426, + MSACHTTPCodesNo428PreconditionRequired = 428, + MSACHTTPCodesNo429TooManyRequests = 429, + MSACHTTPCodesNo431RequestHeaderFieldsTooLarge = 431, + MSACHTTPCodesNo444NoResponseNginx = 444, + MSACHTTPCodesNo449RetryWithMicrosoft = 449, + MSACHTTPCodesNo450BlockedByWindowsParentalControls = 450, + MSACHTTPCodesNo451RedirectMicrosoft = 451, + MSACHTTPCodesNo451UnavailableForLegalReasons = 4510, + MSACHTTPCodesNo494RequestHeaderTooLargeNginx = 494, + MSACHTTPCodesNo495CertErrorNginx = 495, + MSACHTTPCodesNo496NoCertNginx = 496, + MSACHTTPCodesNo497HTTPToHTTPSNginx = 497, + MSACHTTPCodesNo499ClientClosedRequestNginx = 499, + + // Server error + MSACHTTPCodesNo5XXSuccessUnknown = 5, + MSACHTTPCodesNo500InternalServerError = 500, + MSACHTTPCodesNo501NotImplemented = 501, + MSACHTTPCodesNo502BadGateway = 502, + MSACHTTPCodesNo503ServiceUnavailable = 503, + MSACHTTPCodesNo504GatewayTimeout = 504, + MSACHTTPCodesNo505HTTPVersionNotSupported = 505, + MSACHTTPCodesNo506VariantAlsoNegotiates = 506, + MSACHTTPCodesNo507InsufficientStorage = 507, + MSACHTTPCodesNo508LoopDetected = 508, + MSACHTTPCodesNo509BandwidthLimitExceeded = 509, + MSACHTTPCodesNo510NotExtended = 510, + MSACHTTPCodesNo511NetworkAuthenticationRequired = 511, + MSACHTTPCodesNo522ConnectionTimedOut = 522, + MSACHTTPCodesNo598NetworkReadTimeoutErrorUnknown = 598, + MSACHTTPCodesNo599NetworkConnectTimeoutErrorUnknown = 599 +} NS_SWIFT_NAME(HTTPCodesNo); diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACCustomProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACCustomProperties.h new file mode 100644 index 00000000..28f1cf77 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACCustomProperties.h @@ -0,0 +1,71 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_CUSTOM_PROPERTIES_H +#define MSAC_CUSTOM_PROPERTIES_H + +#import + +/** + * Custom properties builder. + * Collects multiple properties to send in one log. + */ +NS_SWIFT_NAME(CustomProperties) +@interface MSACCustomProperties : NSObject + +/** + * Set the specified property value with the specified key. + * If the properties previously contained a property for the key, the old value is replaced. + * + * @param key Key with which the specified value is to be set. + * @param value Value to be set with the specified key. + * + * @return This instance. + */ +- (instancetype)setString:(NSString *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); + +/** + * Set the specified property value with the specified key. + * If the properties previously contained a property for the key, the old value is replaced. + * + * @param key Key with which the specified value is to be set. + * @param value Value to be set with the specified key. + * + * @return This instance. + */ +- (instancetype)setNumber:(NSNumber *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); + +/** + * Set the specified property value with the specified key. + * If the properties previously contained a property for the key, the old value is replaced. + * + * @param key Key with which the specified value is to be set. + * @param value Value to be set with the specified key. + * + * @return This instance. + */ +- (instancetype)setBool:(BOOL)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); + +/** + * Set the specified property value with the specified key. + * If the properties previously contained a property for the key, the old value is replaced. + * + * @param key Key with which the specified value is to be set. + * @param value Value to be set with the specified key. + * + * @return This instance. + */ +- (instancetype)setDate:(NSDate *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); + +/** + * Clear the property for the specified key. + * + * @param key Key whose mapping is to be cleared. + * + * @return This instance. + */ +- (instancetype)clearPropertyForKey:(NSString *)key NS_SWIFT_NAME(clearProperty(forKey:)); + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACDevice.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACDevice.h new file mode 100644 index 00000000..b8fd18d7 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACDevice.h @@ -0,0 +1,101 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_DEVICE_H +#define MSAC_DEVICE_H + +#import + +#if __has_include() +#import +#else +#import "MSACWrapperSdk.h" +#endif + +NS_SWIFT_NAME(Device) +@interface MSACDevice : MSACWrapperSdk + +/* + * Name of the SDK. Consists of the name of the SDK and the platform, e.g. "appcenter.ios", "appcenter.android" + */ +@property(nonatomic, copy, readonly) NSString *sdkName; + +/* + * Version of the SDK in semver format, e.g. "1.2.0" or "0.12.3-alpha.1". + */ +@property(nonatomic, copy, readonly) NSString *sdkVersion; + +/* + * Device model (example: iPad2,3). + */ +@property(nonatomic, copy, readonly) NSString *model; + +/* + * Device manufacturer (example: HTC). + */ +@property(nonatomic, copy, readonly) NSString *oemName; + +/* + * OS name (example: iOS). + */ +@property(nonatomic, copy, readonly) NSString *osName; + +/* + * OS version (example: 9.3.0). + */ +@property(nonatomic, copy, readonly) NSString *osVersion; + +/* + * OS build code (example: LMY47X). [optional] + */ +@property(nonatomic, copy, readonly) NSString *osBuild; + +/* + * API level when applicable like in Android (example: 15). [optional] + */ +@property(nonatomic, copy, readonly) NSNumber *osApiLevel; + +/* + * Language code (example: en_US). + */ +@property(nonatomic, copy, readonly) NSString *locale; + +/* + * The offset in minutes from UTC for the device time zone, including daylight savings time. + */ +@property(nonatomic, readonly, strong) NSNumber *timeZoneOffset; + +/* + * Screen size of the device in pixels (example: 640x480). + */ +@property(nonatomic, copy, readonly) NSString *screenSize; + +/* + * Application version name, e.g. 1.1.0 + */ +@property(nonatomic, copy, readonly) NSString *appVersion; + +/* + * Carrier name (for mobile devices). [optional] + */ +@property(nonatomic, copy, readonly) NSString *carrierName; + +/* + * Carrier country code (for mobile devices). [optional] + */ +@property(nonatomic, copy, readonly) NSString *carrierCountry; + +/* + * The app's build number, e.g. 42. + */ +@property(nonatomic, copy, readonly) NSString *appBuild; + +/* + * The bundle identifier, package identifier, or namespace, depending on what the individual plattforms use, .e.g com.microsoft.example. + * [optional] + */ +@property(nonatomic, copy, readonly) NSString *appNamespace; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACEnable.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACEnable.h new file mode 100644 index 00000000..3feff5b5 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACEnable.h @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_ENABLE_H +#define MSAC_ENABLE_H + +#import + +/** + * Protocol to define an instance that can be enabled/disabled. + */ +NS_SWIFT_NAME(Enable) +@protocol MSACEnable + +@required + +/** + * Enable/disable this instance and delete data on disabled state. + * + * @param isEnabled A boolean value set to YES to enable the instance or NO to disable it. + * @param deleteData A boolean value set to YES to delete data or NO to keep it. + */ +- (void)setEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deleteData NS_SWIFT_NAME(setEnabled(_:deleteDataOnDisabled:)); + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACLog.h new file mode 100644 index 00000000..d46b377f --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACLog.h @@ -0,0 +1,74 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_LOG_H +#define MSAC_LOG_H + +#import + +@class MSACDevice; + +NS_SWIFT_NAME(Log) +@protocol MSACLog + +/** + * Log type. + */ +@property(nonatomic, copy) NSString *type; + +/** + * Log timestamp. + */ +@property(nonatomic, strong) NSDate *timestamp; + +/** + * A session identifier is used to correlate logs together. A session is an abstract concept in the API and is not necessarily an analytics + * session, it can be used to only track crashes. + */ +@property(nonatomic, copy) NSString *sid; + +/** + * Optional distribution group ID value. + */ +@property(nonatomic, copy) NSString *distributionGroupId; + +/** + * Optional user identifier. + */ +@property(nonatomic, copy) NSString *userId; + +/** + * Device properties associated to this log. + */ +@property(nonatomic, strong) MSACDevice *device; + +/** + * Transient object tag. For example, a log can be tagged with a transmission target. We do this currently to prevent properties being + * applied retroactively to previous logs by comparing their tags. + */ +@property(nonatomic, strong) NSObject *tag; + +/** + * Checks if the object's values are valid. + * + * @return YES, if the object is valid. + */ +- (BOOL)isValid; + +/** + * Adds a transmission target token that this log should be sent to. + * + * @param token The transmission target token. + */ +- (void)addTransmissionTargetToken:(NSString *)token; + +/** + * Gets all transmission target tokens that this log should be sent to. + * + * @returns Collection of transmission target tokens that this log should be sent to. + */ +- (NSSet *)transmissionTargetTokens; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACLogWithProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACLogWithProperties.h new file mode 100644 index 00000000..12af6c40 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACLogWithProperties.h @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_LOG_WITH_PROPERTIES_H +#define MSAC_LOG_WITH_PROPERTIES_H + +#import + +#if __has_include() +#import +#else +#import "MSACAbstractLog.h" +#endif + +NS_SWIFT_NAME(LogWithProperties) +@interface MSACLogWithProperties : MSACAbstractLog + +/** + * Additional key/value pair parameters. [optional] + */ +@property(nonatomic, strong) NSDictionary *properties; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACLogger.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACLogger.h new file mode 100644 index 00000000..bb4b4136 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACLogger.h @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef MSAC_LOGGER +#define MSAC_LOGGER + +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif + +#define MSACLog(_level, _tag, _message) \ + [MSACLogger logMessage:_message level:_level tag:_tag file:__FILE__ function:__PRETTY_FUNCTION__ line:__LINE__] +#define MSACLogAssert(tag, format, ...) \ + MSACLog(MSACLogLevelAssert, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogError(tag, format, ...) \ + MSACLog(MSACLogLevelError, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogWarning(tag, format, ...) \ + MSACLog(MSACLogLevelWarning, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogInfo(tag, format, ...) \ + MSACLog(MSACLogLevelInfo, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogDebug(tag, format, ...) \ + MSACLog(MSACLogLevelDebug, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) +#define MSACLogVerbose(tag, format, ...) \ + MSACLog(MSACLogLevelVerbose, tag, (^{ \ + return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ + })) + +NS_SWIFT_NAME(Logger) +@interface MSACLogger : NSObject + ++ (void)logMessage:(MSACLogMessageProvider)messageProvider + level:(MSACLogLevel)loglevel + tag:(NSString *)tag + file:(const char *)file + function:(const char *)function + line:(uint)line; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACService.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACService.h new file mode 100644 index 00000000..b9fafff9 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACService.h @@ -0,0 +1,23 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_SERVICE_H +#define MSAC_SERVICE_H + +#import + +/** + * Protocol declaring service logic. + */ +NS_SWIFT_NAME(Service) +@protocol MSACService + +/** + * Indicates whether this service is enabled. + * The state is persisted in the device's storage across application launches. + */ +@property(class, nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACServiceAbstract.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACServiceAbstract.h new file mode 100644 index 00000000..ad7a2ef3 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACServiceAbstract.h @@ -0,0 +1,58 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_SERVICE_ABSTRACT_H +#define MSAC_SERVICE_ABSTRACT_H + +#import + +#if __has_include() +#import +#else +#import "MSACService.h" +#endif + +@protocol MSACChannelGroupProtocol; + +/** + * Abstraction of services common logic. + * This class is intended to be subclassed only not instantiated directly. + */ +NS_SWIFT_NAME(ServiceAbstract) +@interface MSACServiceAbstract : NSObject + +/** + * The flag indicates whether the service is started from application or not. + */ +@property(nonatomic, assign) BOOL startedFromApplication; + +/** + * Start this service with a channel group. Also sets the flag that indicates that a service has been started. + * + * @param channelGroup channel group used to persist and send logs. + * @param appSecret app secret for the SDK. + * @param token default transmission target token for this service. + * @param fromApplication indicates whether the service started from an application or not. + */ +- (void)startWithChannelGroup:(id)channelGroup + appSecret:(NSString *)appSecret + transmissionTargetToken:(NSString *)token + fromApplication:(BOOL)fromApplication; + +/** + * Update configuration when the service requires to start again. This method should only be called if the service is started from libraries + * and then is being started from an application. + * + * @param appSecret app secret for the SDK. + * @param token default transmission target token for this service. + */ +- (void)updateConfigurationWithAppSecret:(NSString *)appSecret transmissionTargetToken:(NSString *)token; + +/** + * The flag indicate whether the service needs the application secret or not. + */ +@property(atomic, readonly) BOOL isAppSecretRequired; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACWrapperLogger.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACWrapperLogger.h new file mode 100644 index 00000000..79a14622 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACWrapperLogger.h @@ -0,0 +1,21 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#else +#import "MSACConstants.h" +#endif + +/** + * This is a utility for producing App Center style log messages. It is only intended for use by App Center services and wrapper SDKs of App + * Center. + */ +NS_SWIFT_NAME(WrapperLogger) +@interface MSACWrapperLogger : NSObject + ++ (void)MSACWrapperLog:(MSACLogMessageProvider)message tag:(NSString *)tag level:(MSACLogLevel)level; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACWrapperSdk.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACWrapperSdk.h new file mode 100644 index 00000000..20410721 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Headers/MSACWrapperSdk.h @@ -0,0 +1,60 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_WRAPPER_SDK_H +#define MSAC_WRAPPER_SDK_H + +#import + +NS_SWIFT_NAME(WrapperSdk) +@interface MSACWrapperSdk : NSObject + +/* + * Version of the wrapper SDK. When the SDK is embedding another base SDK (for example Xamarin.Android wraps Android), the Xamarin specific + * version is populated into this field while sdkVersion refers to the original Android SDK. [optional] + */ +@property(nonatomic, copy, readonly) NSString *wrapperSdkVersion; + +/* + * Name of the wrapper SDK (examples: Xamarin, Cordova). [optional] + */ +@property(nonatomic, copy, readonly) NSString *wrapperSdkName; + +/* + * Version of the wrapper technology framework (Xamarin runtime version or ReactNative or Cordova etc...). [optional] + */ +@property(nonatomic, copy, readonly) NSString *wrapperRuntimeVersion; + +/* + * Label that is used to identify application code 'version' released via Live Update beacon running on device. + */ +@property(nonatomic, copy, readonly) NSString *liveUpdateReleaseLabel; + +/* + * Identifier of environment that current application release belongs to, deployment key then maps to environment like Production, Staging. + */ +@property(nonatomic, copy, readonly) NSString *liveUpdateDeploymentKey; + +/* + * Hash of all files (ReactNative or Cordova) deployed to device via LiveUpdate beacon. Helps identify the Release version on device or need + * to download updates in future + */ +@property(nonatomic, copy, readonly) NSString *liveUpdatePackageHash; + +- (instancetype)initWithWrapperSdkVersion:(NSString *)wrapperSdkVersion + wrapperSdkName:(NSString *)wrapperSdkName + wrapperRuntimeVersion:(NSString *)wrapperRuntimeVersion + liveUpdateReleaseLabel:(NSString *)liveUpdateReleaseLabel + liveUpdateDeploymentKey:(NSString *)liveUpdateDeploymentKey + liveUpdatePackageHash:(NSString *)liveUpdatePackageHash; + +/** + * Checks if the object's values are valid. + * + * @return YES, if the object is valid. + */ +- (BOOL)isValid; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Info.plist new file mode 100644 index 00000000..215feeea Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Info.plist differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Modules/module.modulemap new file mode 100644 index 00000000..ec02d0fe --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/Modules/module.modulemap @@ -0,0 +1,12 @@ +framework module AppCenter { + umbrella header "AppCenter.h" + + export * + module * { export * } + + link framework "Foundation" + link framework "SystemConfiguration" + link framework "UIKit" + link "sqlite3" + link "z" +} diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/PrivateHeaders/MSACChannelDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/PrivateHeaders/MSACChannelDelegate.h new file mode 100644 index 00000000..0702176e --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/PrivateHeaders/MSACChannelDelegate.h @@ -0,0 +1,114 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#import "MSACConstants+Flags.h" + +@protocol MSACChannelUnitProtocol; +@protocol MSACChannelGroupProtocol; +@protocol MSACChannelProtocol; +@protocol MSACLog; + +NS_ASSUME_NONNULL_BEGIN + +@protocol MSACChannelDelegate + +@optional + +/** + * A callback that is called when a channel unit is added to the channel group. + * + * @param channelGroup The channel group. + * @param channel The newly added channel. + */ +- (void)channelGroup:(id)channelGroup didAddChannelUnit:(id)channel; + +/** + * A callback that is called when a log is just enqueued. Delegates may want to prepare the log a little more before further processing. + * + * @param log The log to prepare. + */ +- (void)channel:(id)channel prepareLog:(id)log; + +/** + * A callback that is called after a log is definitely prepared. + * + * @param log The log. + * @param internalId An internal Id to keep track of logs. + * @param flags Options for the log. + */ +- (void)channel:(id)channel didPrepareLog:(id)log internalId:(NSString *)internalId flags:(MSACFlags)flags; + +/** + * A callback that is called after a log completed the enqueueing process whether it was successful or not. + * + * @param log The log. + * @param internalId An internal Id to keep track of logs. + */ +- (void)channel:(id)channel didCompleteEnqueueingLog:(id)log internalId:(NSString *)internalId; + +/** + * Callback method that will be called before each log will be send to the server. + * + * @param channel The channel object. + * @param log The log to be sent. + */ +- (void)channel:(id)channel willSendLog:(id)log; + +/** + * Callback method that will be called in case the SDK was able to send a log. + * + * @param channel The channel object. + * @param log The log to be sent. + */ +- (void)channel:(id)channel didSucceedSendingLog:(id)log; + +/** + * Callback method that will be called in case the SDK was unable to send a log. + * + * @param channel The channel object. + * @param log The log to be sent. + * @param error The error that occured. + */ +- (void)channel:(id)channel didFailSendingLog:(id)log withError:(nullable NSError *)error; + +/** + * A callback that is called when setEnabled has been invoked. + * + * @param channel The channel. + * @param isEnabled The boolean that indicates enabled. + * @param deletedData The boolean that indicates deleting data on disabled. + */ +- (void)channel:(id)channel didSetEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deletedData; + +/** + * A callback that is called when pause has been invoked. + * + * @param channel The channel. + * @param identifyingObject The identifying object used to pause the channel. + */ +- (void)channel:(id)channel didPauseWithIdentifyingObject:(id)identifyingObject; + +/** + * A callback that is called when resume has been invoked. + * + * @param channel The channel. + * @param identifyingObject The identifying object used to resume the channel. + */ +- (void)channel:(id)channel didResumeWithIdentifyingObject:(id)identifyingObject; + +/** + * Callback method that will determine if a log should be filtered out from the usual processing pipeline. If any delegate returns true, the + * log is filtered. + * + * @param channelUnit The channel unit that is going to send the log. + * @param log The log to be filtered or not. + * + * @return `true` if the log should be filtered out. + */ +- (BOOL)channelUnit:(id)channelUnit shouldFilterLog:(id)log; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeDirectory b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeDirectory new file mode 100644 index 00000000..a6480a0b Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeDirectory differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeRequirements b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeRequirements new file mode 100644 index 00000000..dbf9d614 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeRequirements differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeRequirements-1 b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeRequirements-1 new file mode 100644 index 00000000..743a1acd Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeRequirements-1 differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeResources b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeResources new file mode 100644 index 00000000..92fd18fe --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeResources @@ -0,0 +1,402 @@ + + + + + files + + Headers/AppCenter.h + + qaTNZSZUTXwLe2rrosDNCarRqAM= + + Headers/MSACAbstractLog.h + + +Ikfy/fTOpqwPZM3Fpii3cpsx8Y= + + Headers/MSACAppCenter.h + + 2cUgfgx3odOGivdk+n6FXq94KgU= + + Headers/MSACAppCenterErrors.h + + x7h4qpHD4GI3jrJ3F7n4UXAANsk= + + Headers/MSACChannelGroupProtocol.h + + jyWCHN4PSygLVy0IM5565DvDQAc= + + Headers/MSACChannelProtocol.h + + Y1rKi/TsirTR0MGBf1rIO/TTG0A= + + Headers/MSACConstants+Flags.h + + GK1gUSyIjWdv7KBP68wNxjxaH+E= + + Headers/MSACConstants.h + + d9HwKA0/VH3+pLRj1Pd49mqn2gI= + + Headers/MSACCustomProperties.h + + m7A9hEgL3d0gV4SyKmXJYRtwqoQ= + + Headers/MSACDevice.h + + suv4Wkt36Nkscy7jX2SSYzrkLRs= + + Headers/MSACEnable.h + + 3DnplEFkD1LImYNk+84TqcQvBho= + + Headers/MSACLog.h + + 1/7NIwYuYLGHIVMZps8b6/zOpJg= + + Headers/MSACLogWithProperties.h + + I4y13KVE36pyXv85mc5OWlCjplE= + + Headers/MSACLogger.h + + CaYHmB3+psy5/txfMvd2+bWGJkc= + + Headers/MSACService.h + + lz5atiMe+oTdu9e6g74KPC0CjOs= + + Headers/MSACServiceAbstract.h + + rBHatSAJK78PLgsMIpFqkby4tgA= + + Headers/MSACWrapperLogger.h + + qBVuNkF12BZYytRhCKwZ7zkiKhc= + + Headers/MSACWrapperSdk.h + + W9sdhEGnIGk/aFHS3gWwQ6FxUfI= + + Info.plist + + gtsETy1VtCs8kXAQJ03MxRx9ne0= + + Modules/module.modulemap + + t1baR2vqWVS9lklYdqufO1QCWTw= + + PrivateHeaders/MSACChannelDelegate.h + + Msff4BZ/b1IjaYeKTDBHtNtT7wI= + + + files2 + + Headers/AppCenter.h + + hash + + qaTNZSZUTXwLe2rrosDNCarRqAM= + + hash2 + + 2Wv2BhvzEcs7qHle8K3IXhWh7EVoAIrE2gOs4b0p39c= + + + Headers/MSACAbstractLog.h + + hash + + +Ikfy/fTOpqwPZM3Fpii3cpsx8Y= + + hash2 + + 7hsXFv3UkGsJLcc3eh2pMUrGbGYP2hCUC854z05SzNQ= + + + Headers/MSACAppCenter.h + + hash + + 2cUgfgx3odOGivdk+n6FXq94KgU= + + hash2 + + C10z0NrhN4J4qdWbypOdjlQ8QLlq4tvPMP21geOS4vI= + + + Headers/MSACAppCenterErrors.h + + hash + + x7h4qpHD4GI3jrJ3F7n4UXAANsk= + + hash2 + + OcNwIIu4yFxG62mZtiABP3/9DoN9tj1fL/7nSvF8u8s= + + + Headers/MSACChannelGroupProtocol.h + + hash + + jyWCHN4PSygLVy0IM5565DvDQAc= + + hash2 + + d36rCjxsURqDkFv+g5BwWNybz5Zksc9B91gqArFcJbk= + + + Headers/MSACChannelProtocol.h + + hash + + Y1rKi/TsirTR0MGBf1rIO/TTG0A= + + hash2 + + fI1fLkJvo9SXh2bAUWKIYlretRCOoGWJwlyvqMfQZNc= + + + Headers/MSACConstants+Flags.h + + hash + + GK1gUSyIjWdv7KBP68wNxjxaH+E= + + hash2 + + UDnw7GyNXzip13MvAvNKQQsWIUgU296uJHjPEkReCY8= + + + Headers/MSACConstants.h + + hash + + d9HwKA0/VH3+pLRj1Pd49mqn2gI= + + hash2 + + xx69UfYa0qw6aSDuVsUAqd/1+t90QCPkQUae+elZwZ0= + + + Headers/MSACCustomProperties.h + + hash + + m7A9hEgL3d0gV4SyKmXJYRtwqoQ= + + hash2 + + FveTXq+kqUdHHlSdLAoQisgT+95bzAuXTrTOQG/b/P8= + + + Headers/MSACDevice.h + + hash + + suv4Wkt36Nkscy7jX2SSYzrkLRs= + + hash2 + + i3TVX2C+DfcRKn2HTBaydWBYHjryX2Cy/eJJxjTFiT8= + + + Headers/MSACEnable.h + + hash + + 3DnplEFkD1LImYNk+84TqcQvBho= + + hash2 + + XrDKc7bXZaW8JW4NMItSBrHLR6a+LRG1JSLXZ0U0NsI= + + + Headers/MSACLog.h + + hash + + 1/7NIwYuYLGHIVMZps8b6/zOpJg= + + hash2 + + 3GF6xCTfpLDmOqKnacEOEDr5mkM/llKm0IoIEyISZKA= + + + Headers/MSACLogWithProperties.h + + hash + + I4y13KVE36pyXv85mc5OWlCjplE= + + hash2 + + WIrz7Xsi04AboAmZ5dA3d3t8D/8PomKLwsp7oorznVM= + + + Headers/MSACLogger.h + + hash + + CaYHmB3+psy5/txfMvd2+bWGJkc= + + hash2 + + GipSaz+D+Z5eWauQP+10U8xvbAnxPeIRD4HTvn0F5DQ= + + + Headers/MSACService.h + + hash + + lz5atiMe+oTdu9e6g74KPC0CjOs= + + hash2 + + aiO/PWAQDwhbPW1HDGqNM0kn4xYSwqPmdpmcTgpW/CE= + + + Headers/MSACServiceAbstract.h + + hash + + rBHatSAJK78PLgsMIpFqkby4tgA= + + hash2 + + vi9/mVDQylipTtHNfUe9r4GXjlc2bEnKFV8wmN/IXaE= + + + Headers/MSACWrapperLogger.h + + hash + + qBVuNkF12BZYytRhCKwZ7zkiKhc= + + hash2 + + h2VHxvALAogCMocFQMUjmOkhCm+qkJwpGTzxwdxTdwo= + + + Headers/MSACWrapperSdk.h + + hash + + W9sdhEGnIGk/aFHS3gWwQ6FxUfI= + + hash2 + + 5x+0epJnQN2wZKY2xjvsjAYrr6H1QGYIGz0ptux72dU= + + + Modules/module.modulemap + + hash + + t1baR2vqWVS9lklYdqufO1QCWTw= + + hash2 + + 5qLs8dZcOI6erIxzPWKKcuSoIAsqfM+tkwpxwTgmAZ4= + + + PrivateHeaders/MSACChannelDelegate.h + + hash + + Msff4BZ/b1IjaYeKTDBHtNtT7wI= + + hash2 + + d1uS+ptvOX/o3CCB23FEJAtvcf7KIf/8ozlruAf1f0g= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeSignature b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework/tvos-arm64_x86_64-simulator/AppCenter.framework/_CodeSignature/CodeSignature new file mode 100644 index 00000000..e69de29b diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/Info.plist new file mode 100644 index 00000000..f4532f55 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/Info.plist @@ -0,0 +1,99 @@ + + + + + AvailableLibraries + + + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + AppCenterAnalytics.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + LibraryIdentifier + ios-arm64_i386_x86_64-simulator + LibraryPath + AppCenterAnalytics.framework + SupportedArchitectures + + arm64 + i386 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + LibraryIdentifier + macos-arm64_x86_64 + LibraryPath + AppCenterAnalytics.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + macos + + + LibraryIdentifier + tvos-arm64_x86_64-simulator + LibraryPath + AppCenterAnalytics.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + tvos + SupportedPlatformVariant + simulator + + + LibraryIdentifier + ios-arm64_arm64e_armv7_armv7s + LibraryPath + AppCenterAnalytics.framework + SupportedArchitectures + + arm64 + arm64e + armv7 + armv7s + + SupportedPlatform + ios + + + LibraryIdentifier + tvos-arm64 + LibraryPath + AppCenterAnalytics.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + tvos + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/AppCenterAnalytics b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/AppCenterAnalytics new file mode 100644 index 00000000..4257f04d Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/AppCenterAnalytics differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h new file mode 100644 index 00000000..5ab691ff --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h @@ -0,0 +1,20 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#else +#import "MSACAnalytics.h" +#import "MSACAnalyticsAuthenticationProvider.h" +#import "MSACAnalyticsAuthenticationProviderDelegate.h" +#import "MSACAnalyticsTransmissionTarget.h" +#import "MSACEventLog.h" +#import "MSACEventProperties.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSAnalytics.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACAnalytics.h similarity index 80% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSAnalytics.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACAnalytics.h index 43b3b307..ccc516e9 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSAnalytics.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACAnalytics.h @@ -1,17 +1,30 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#import "MSAnalyticsTransmissionTarget.h" -#import "MSServiceAbstract.h" +#ifndef MSAC_ANALYTICS_H +#define MSAC_ANALYTICS_H -@class MSEventProperties; +#if __has_include() +#import +#else +#import "MSACServiceAbstract.h" +#endif + +#if __has_include() +#import +#else +#import "MSACAnalyticsTransmissionTarget.h" +#endif + +@class MSACEventProperties; NS_ASSUME_NONNULL_BEGIN /** * App Center analytics service. */ -@interface MSAnalytics : MSServiceAbstract +NS_SWIFT_NAME(Analytics) +@interface MSACAnalytics : MSACServiceAbstract /** * Track an event. @@ -60,9 +73,9 @@ NS_ASSUME_NONNULL_BEGIN * * @param eventName Event name. Cannot be `nil` or empty. * @param properties Dictionary of properties. Keys and values must not be `nil`. - * @param flags Optional flags. Events tracked with the MSFlagsCritical flag will take precedence over all other events in + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the - * MSFlagsCritical flag. + * MSACFlagsCritical flag. * * @discussion Additional validation rules apply depending on the configured secret. * @@ -85,7 +98,7 @@ NS_ASSUME_NONNULL_BEGIN * * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. */ -+ (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSFlags)flags; ++ (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSACFlags)flags; /** * Track a custom event with name and optional typed properties. @@ -124,16 +137,16 @@ NS_ASSUME_NONNULL_BEGIN * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. */ + (void)trackEvent:(NSString *)eventName - withTypedProperties:(nullable MSEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); + withTypedProperties:(nullable MSACEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); /** * Track a custom event with name and optional typed properties. * * @param eventName Event name. * @param properties Typed properties. - * @param flags Optional flags. Events tracked with the MSFlagsCritical flag will take precedence over all other events in + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the - * MSFlagsCritical flag. + * MSACFlagsCritical flag. * * @discussion The following validation rules are applied: * @@ -166,8 +179,8 @@ NS_ASSUME_NONNULL_BEGIN * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. */ + (void)trackEvent:(NSString *)eventName - withTypedProperties:(nullable MSEventProperties *)properties - flags:(MSFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); + withTypedProperties:(nullable MSACEventProperties *)properties + flags:(MSACFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); /** * Pause transmission of Analytics logs. While paused, Analytics logs are saved to disk. @@ -195,19 +208,19 @@ NS_ASSUME_NONNULL_BEGIN * NS_SWIFT_NAME(transmissionTarget(forToken:)) as this is a static method that * doesn't get translated like a setter in Swift. * - * @see MSAnalyticsTransmissionTarget for comparison. + * @see MSACAnalyticsTransmissionTarget for comparison. */ -+ (MSAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token; ++ (MSACAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token NS_SWIFT_NAME(transmissionTarget(forToken:)); /** - * Set the send time interval for non-critical logs. + * Send time interval for non-critical logs. * Must be between 3 seconds and 86400 seconds (1 day). * Must be called before Analytics service start. - * - * @param interval The flush interval for logs. */ -+ (void)setTransmissionInterval:(NSUInteger)interval; +@property(class, atomic) NSUInteger transmissionInterval; @end NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSAnalyticsAuthenticationProvider.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProvider.h similarity index 52% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSAnalyticsAuthenticationProvider.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProvider.h index 6b5089ed..b8d6ed9e 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSAnalyticsAuthenticationProvider.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProvider.h @@ -3,32 +3,37 @@ #import -#import "MSAnalyticsAuthenticationProviderDelegate.h" +#if __has_include() +#import +#else +#import "MSACAnalyticsAuthenticationProviderDelegate.h" +#endif /** * Different authentication types, e.g. MSA Compact, MSA Delegate, AAD,... . */ -typedef NS_ENUM(NSUInteger, MSAnalyticsAuthenticationType) { +typedef NS_ENUM(NSUInteger, MSACAnalyticsAuthenticationType) { /** * AuthenticationType MSA Compact. */ - MSAnalyticsAuthenticationTypeMsaCompact, + MSACAnalyticsAuthenticationTypeMsaCompact, /** * AuthenticationType MSA Delegate. */ - MSAnalyticsAuthenticationTypeMsaDelegate -}; + MSACAnalyticsAuthenticationTypeMsaDelegate +} NS_SWIFT_NAME(AnalyticsAuthenticationType); NS_ASSUME_NONNULL_BEGIN -@interface MSAnalyticsAuthenticationProvider : NSObject +NS_SWIFT_NAME(AnalyticsAuthenticationProvider) +@interface MSACAnalyticsAuthenticationProvider : NSObject /** * The type. */ -@property(nonatomic, readonly, assign) MSAnalyticsAuthenticationType type; +@property(nonatomic, readonly, assign) MSACAnalyticsAuthenticationType type; /** * The ticket key for this authentication provider. @@ -40,7 +45,7 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, readonly, copy) NSString *ticketKeyHash; -@property(nonatomic, readonly, weak) id delegate; +@property(nonatomic, readonly, weak) id delegate; /** * Create a new authentication provider. @@ -51,9 +56,9 @@ NS_ASSUME_NONNULL_BEGIN * * @return A new authentication provider. */ -- (instancetype)initWithAuthenticationType:(MSAnalyticsAuthenticationType)type +- (instancetype)initWithAuthenticationType:(MSACAnalyticsAuthenticationType)type ticketKey:(NSString *)ticketKey - delegate:(id)delegate; + delegate:(id)delegate; /** * Check expiration. diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProviderDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProviderDelegate.h new file mode 100644 index 00000000..9f7be7c6 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProviderDelegate.h @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +@class MSACAnalyticsAuthenticationProvider; + +/** + * Completion handler that returns the authentication token and the expiry date. + */ +typedef void (^MSACAnalyticsAuthenticationProviderCompletionBlock)(NSString *token, NSDate *expiryDate) + NS_SWIFT_NAME(AnalyticsAuthenticationProviderCompletionBlock); + +NS_SWIFT_NAME(AnalyticsAuthenticationProviderDelegate) +@protocol MSACAnalyticsAuthenticationProviderDelegate + +/** + * Required method that needs to be called from within your authentication flow to provide the authentication token and expiry date. + * + * @param authenticationProvider The authentication provider. + * @param completionHandler The completion handler. + */ +- (void)authenticationProvider:(MSACAnalyticsAuthenticationProvider *)authenticationProvider + acquireTokenWithCompletionHandler:(MSACAnalyticsAuthenticationProviderCompletionBlock)completionHandler; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSAnalyticsTransmissionTarget.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACAnalyticsTransmissionTarget.h similarity index 62% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSAnalyticsTransmissionTarget.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACAnalyticsTransmissionTarget.h index 2c0aa008..4b735bae 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSAnalyticsTransmissionTarget.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACAnalyticsTransmissionTarget.h @@ -3,22 +3,36 @@ #import -#import "MSAnalyticsAuthenticationProvider.h" -#import "MSConstants+Flags.h" -#import "MSPropertyConfigurator.h" +#ifndef ANALYTICS_TRANSMISSION_TARGET +#define ANALYTICS_TRANSMISSION_TARGET -@class MSEventProperties; +#if __has_include() +#import +#else +#import "MSACConstants+Flags.h" +#endif + +#if __has_include() +#import +#import +#else +#import "MSACAnalyticsAuthenticationProvider.h" +#import "MSACPropertyConfigurator.h" +#endif + +@class MSACEventProperties; NS_ASSUME_NONNULL_BEGIN -@interface MSAnalyticsTransmissionTarget : NSObject +NS_SWIFT_NAME(AnalyticsTransmissionTarget) +@interface MSACAnalyticsTransmissionTarget : NSObject /** * Property configurator. */ -@property(nonatomic, readonly, strong) MSPropertyConfigurator *propertyConfigurator; +@property(nonatomic, readonly, strong) MSACPropertyConfigurator *propertyConfigurator; -+ (void)addAuthenticationProvider:(MSAnalyticsAuthenticationProvider *)authenticationProvider ++ (void)addAuthenticationProvider:(MSACAnalyticsAuthenticationProvider *)authenticationProvider NS_SWIFT_NAME(addAuthenticationProvider(authenticationProvider:)); /** @@ -41,11 +55,11 @@ NS_ASSUME_NONNULL_BEGIN * * @param eventName event name. * @param properties dictionary of properties. - * @param flags Optional flags. Events tracked with the MSFlagsCritical flag will take precedence over all other events in + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the - * MSFlagsCritical flag. + * MSACFlagsCritical flag. */ -- (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSFlags)flags; +- (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSACFlags)flags; /** * Track a custom event with name and optional typed properties. @@ -70,16 +84,16 @@ NS_ASSUME_NONNULL_BEGIN * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. */ - (void)trackEvent:(NSString *)eventName - withTypedProperties:(nullable MSEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); + withTypedProperties:(nullable MSACEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); /** * Track a custom event with name and optional typed properties. * * @param eventName Event name. * @param properties Typed properties. - * @param flags Optional flags. Events tracked with the MSFlagsCritical flag will take precedence over all other events in + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the - * MSFlagsCritical flag. + * MSACFlagsCritical flag. * * @discussion The following validation rules are applied: * @@ -98,8 +112,8 @@ NS_ASSUME_NONNULL_BEGIN * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. */ - (void)trackEvent:(NSString *)eventName - withTypedProperties:(nullable MSEventProperties *)properties - flags:(MSFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); + withTypedProperties:(nullable MSACEventProperties *)properties + flags:(MSACFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); /** * Get a nested transmission target. @@ -108,25 +122,13 @@ NS_ASSUME_NONNULL_BEGIN * * @returns A transmission target object nested to this parent transmission target. */ -- (MSAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token NS_SWIFT_NAME(transmissionTarget(forToken:)); +- (MSACAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token NS_SWIFT_NAME(transmissionTarget(forToken:)); /** - * Enable or disable this transmission target. It will also enable or disable nested transmission targets. - * - * @param isEnabled YES to enable, NO to disable. - * - * @see isEnabled + * The flag indicates whether or not this transmission target is enabled. Changing its state will also change states of nested transmission + * targets. */ -- (void)setEnabled:(BOOL)isEnabled; - -/** - * Check whether this transmission target is enabled or not. - * - * @return YES if enabled, NO otherwise. - * - * @see setEnabled: - */ -- (BOOL)isEnabled; +@property(nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); /** * Pause sending logs for the transmission target. It doesn't pause any of its decendants. @@ -145,3 +147,5 @@ NS_ASSUME_NONNULL_BEGIN @end NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACEventLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACEventLog.h new file mode 100644 index 00000000..21c47ee8 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACEventLog.h @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_EVENT_LOG_H +#define MSAC_EVENT_LOG_H + +#if __has_include() +#import +#else +#import "MSACLogWithNameAndProperties.h" +#endif + +@class MSACEventProperties; +@class MSACMetadataExtension; + +NS_SWIFT_NAME(EventLog) +@interface MSACEventLog : MSACLogWithNameAndProperties + +/** + * Unique identifier for this event. + */ +@property(nonatomic, copy) NSString *eventId; + +/** + * Event properties. + */ +@property(nonatomic, strong) MSACEventProperties *typedProperties; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSEventProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACEventProperties.h similarity index 90% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSEventProperties.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACEventProperties.h index 84388eb5..f20b9781 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSEventProperties.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACEventProperties.h @@ -3,12 +3,16 @@ #import +#ifndef EVENT_PROPERTIES +#define EVENT_PROPERTIES + NS_ASSUME_NONNULL_BEGIN /** * Contains typed event properties. */ -@interface MSEventProperties : NSObject +NS_SWIFT_NAME(EventProperties) +@interface MSACEventProperties : NSObject /** * Set a string property. @@ -53,3 +57,5 @@ NS_ASSUME_NONNULL_BEGIN @end NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACLogWithNameAndProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACLogWithNameAndProperties.h new file mode 100644 index 00000000..81dbf77e --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACLogWithNameAndProperties.h @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef MSAC_LOG_WITH_NAME_PROPERTIES_H +#define MSAC_LOG_WITH_NAME_PROPERTIES_H + +#if __has_include() +#import +#else +#import "MSACLogWithProperties.h" +#endif + +NS_SWIFT_NAME(LogWithNameAndProperties) +@interface MSACLogWithNameAndProperties : MSACLogWithProperties + +/** + * Name of the event. + */ +@property(nonatomic, copy) NSString *name; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSPropertyConfigurator.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACPropertyConfigurator.h similarity index 88% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSPropertyConfigurator.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACPropertyConfigurator.h index 4522652b..18da6726 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSPropertyConfigurator.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Headers/MSACPropertyConfigurator.h @@ -5,36 +5,33 @@ NS_ASSUME_NONNULL_BEGIN -@interface MSPropertyConfigurator : NSObject +NS_SWIFT_NAME(PropertyConfigurator) +@interface MSACPropertyConfigurator : NSObject /** * Override the application version. * - * @param appVersion New application version for a transmission target. */ -- (void)setAppVersion:(nullable NSString *)appVersion; +@property(nonatomic, copy) NSString *_Nullable appVersion; /** * Override the application name. * - * @param appName New application name for a transmission target. */ -- (void)setAppName:(nullable NSString *)appName; +@property(nonatomic, copy) NSString *_Nullable appName; /** * Override the application locale. * - * @param appLocale New application locale for a transmission target. */ -- (void)setAppLocale:(nullable NSString *)appLocale; +@property(nonatomic, copy) NSString *_Nullable appLocale; /** - * Set the user identifier. - * The user identifier needs to start with c: or i: or d: or w: prefixes. + * User identifier. + * The identifier needs to start with c: or i: or d: or w: prefixes. * - * @param userId user identifier. */ -- (void)setUserId:(nullable NSString *)userId; +@property(nonatomic, copy) NSString *_Nullable userId; /** * Set a string event property to be attached to events tracked by this transmission target and its child transmission targets. diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Info.plist similarity index 63% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Info.plist rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Info.plist index d227acd8..b9119625 100644 Binary files a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Info.plist and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Info.plist differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Modules/module.modulemap similarity index 100% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Modules/module.modulemap rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterAnalytics.framework/Modules/module.modulemap diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/AppCenterAnalytics b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/AppCenterAnalytics new file mode 100644 index 00000000..1cdb0e74 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/AppCenterAnalytics differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h new file mode 100644 index 00000000..5ab691ff --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h @@ -0,0 +1,20 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#else +#import "MSACAnalytics.h" +#import "MSACAnalyticsAuthenticationProvider.h" +#import "MSACAnalyticsAuthenticationProviderDelegate.h" +#import "MSACAnalyticsTransmissionTarget.h" +#import "MSACEventLog.h" +#import "MSACEventProperties.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalytics.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalytics.h new file mode 100644 index 00000000..ccc516e9 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalytics.h @@ -0,0 +1,226 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_ANALYTICS_H +#define MSAC_ANALYTICS_H + +#if __has_include() +#import +#else +#import "MSACServiceAbstract.h" +#endif + +#if __has_include() +#import +#else +#import "MSACAnalyticsTransmissionTarget.h" +#endif + +@class MSACEventProperties; + +NS_ASSUME_NONNULL_BEGIN + +/** + * App Center analytics service. + */ +NS_SWIFT_NAME(Analytics) +@interface MSACAnalytics : MSACServiceAbstract + +/** + * Track an event. + * + * @param eventName Event name. Cannot be `nil` or empty. + * + * @discussion Validation rules apply depending on the configured secret. + * + * For App Center, the name cannot be longer than 256 and is truncated otherwise. + * + * For One Collector, the name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + */ ++ (void)trackEvent:(NSString *)eventName; + +/** + * Track a custom event with optional string properties. + * + * @param eventName Event name. Cannot be `nil` or empty. + * @param properties Dictionary of properties. Keys and values must not be `nil`. + * + * @discussion Additional validation rules apply depending on the configured secret. + * + * For App Center: + * + * - The event name cannot be longer than 256 and is truncated otherwise. + * + * - The property names cannot be empty. + * + * - The property names and values are limited to 125 characters each (truncated). + * + * - The number of properties per event is limited to 20 (truncated). + * + * + * For One Collector: + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ ++ (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties; + +/** + * Track a custom event with optional string properties. + * + * @param eventName Event name. Cannot be `nil` or empty. + * @param properties Dictionary of properties. Keys and values must not be `nil`. + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in + * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the + * MSACFlagsCritical flag. + * + * @discussion Additional validation rules apply depending on the configured secret. + * + * For App Center: + * + * - The event name cannot be longer than 256 and is truncated otherwise. + * + * - The property names cannot be empty. + * + * - The property names and values are limited to 125 characters each (truncated). + * + * - The number of properties per event is limited to 20 (truncated). + * + * + * For One Collector: + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ ++ (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSACFlags)flags; + +/** + * Track a custom event with name and optional typed properties. + * + * @param eventName Event name. + * @param properties Typed properties. + * + * @discussion The following validation rules are applied: + * + * The name cannot be null or empty. + * + * The property names or values cannot be null. + * + * Double values must be finite (NaN or Infinite values are discarded). + * + * Additional validation rules apply depending on the configured secret. + * + * + * For App Center: + * + * - The event name cannot be longer than 256 and is truncated otherwise. + * + * - The property names cannot be empty. + * + * - The property names and values are limited to 125 characters each (truncated). + * + * - The number of properties per event is limited to 20 (truncated). + * + * + * For One Collector: + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ ++ (void)trackEvent:(NSString *)eventName + withTypedProperties:(nullable MSACEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); + +/** + * Track a custom event with name and optional typed properties. + * + * @param eventName Event name. + * @param properties Typed properties. + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in + * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the + * MSACFlagsCritical flag. + * + * @discussion The following validation rules are applied: + * + * The name cannot be null or empty. + * + * The property names or values cannot be null. + * + * Double values must be finite (NaN or Infinite values are discarded). + * + * Additional validation rules apply depending on the configured secret. + * + * + * For App Center: + * + * - The event name cannot be longer than 256 and is truncated otherwise. + * + * - The property names cannot be empty. + * + * - The property names and values are limited to 125 characters each (truncated). + * + * - The number of properties per event is limited to 20 (truncated). + * + * + * For One Collector: + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ ++ (void)trackEvent:(NSString *)eventName + withTypedProperties:(nullable MSACEventProperties *)properties + flags:(MSACFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); + +/** + * Pause transmission of Analytics logs. While paused, Analytics logs are saved to disk. + * + * @see resume + */ ++ (void)pause; + +/** + * Resume transmission of Analytics logs. Any Analytics logs that accumulated on disk while paused are sent to the + * server. + * + * @see pause + */ ++ (void)resume; + +/** + * Get a transmission target. + * + * @param token The token of the transmission target to retrieve. + * + * @returns The transmission target object. + * + * @discussion This method does not need to be annotated with + * NS_SWIFT_NAME(transmissionTarget(forToken:)) as this is a static method that + * doesn't get translated like a setter in Swift. + * + * @see MSACAnalyticsTransmissionTarget for comparison. + */ ++ (MSACAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token NS_SWIFT_NAME(transmissionTarget(forToken:)); + +/** + * Send time interval for non-critical logs. + * Must be between 3 seconds and 86400 seconds (1 day). + * Must be called before Analytics service start. + */ +@property(class, atomic) NSUInteger transmissionInterval; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProvider.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProvider.h new file mode 100644 index 00000000..b8d6ed9e --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProvider.h @@ -0,0 +1,70 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#else +#import "MSACAnalyticsAuthenticationProviderDelegate.h" +#endif + +/** + * Different authentication types, e.g. MSA Compact, MSA Delegate, AAD,... . + */ +typedef NS_ENUM(NSUInteger, MSACAnalyticsAuthenticationType) { + + /** + * AuthenticationType MSA Compact. + */ + MSACAnalyticsAuthenticationTypeMsaCompact, + + /** + * AuthenticationType MSA Delegate. + */ + MSACAnalyticsAuthenticationTypeMsaDelegate +} NS_SWIFT_NAME(AnalyticsAuthenticationType); + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AnalyticsAuthenticationProvider) +@interface MSACAnalyticsAuthenticationProvider : NSObject + +/** + * The type. + */ +@property(nonatomic, readonly, assign) MSACAnalyticsAuthenticationType type; + +/** + * The ticket key for this authentication provider. + */ +@property(nonatomic, readonly, copy) NSString *ticketKey; + +/** + * The ticket key as hash. + */ +@property(nonatomic, readonly, copy) NSString *ticketKeyHash; + +@property(nonatomic, readonly, weak) id delegate; + +/** + * Create a new authentication provider. + * + * @param type The type for the provider, e.g. MSA. + * @param ticketKey The ticket key for the provider. + * @param delegate The delegate. + * + * @return A new authentication provider. + */ +- (instancetype)initWithAuthenticationType:(MSACAnalyticsAuthenticationType)type + ticketKey:(NSString *)ticketKey + delegate:(id)delegate; + +/** + * Check expiration. + */ +- (void)checkTokenExpiry; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProviderDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProviderDelegate.h new file mode 100644 index 00000000..9f7be7c6 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProviderDelegate.h @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +@class MSACAnalyticsAuthenticationProvider; + +/** + * Completion handler that returns the authentication token and the expiry date. + */ +typedef void (^MSACAnalyticsAuthenticationProviderCompletionBlock)(NSString *token, NSDate *expiryDate) + NS_SWIFT_NAME(AnalyticsAuthenticationProviderCompletionBlock); + +NS_SWIFT_NAME(AnalyticsAuthenticationProviderDelegate) +@protocol MSACAnalyticsAuthenticationProviderDelegate + +/** + * Required method that needs to be called from within your authentication flow to provide the authentication token and expiry date. + * + * @param authenticationProvider The authentication provider. + * @param completionHandler The completion handler. + */ +- (void)authenticationProvider:(MSACAnalyticsAuthenticationProvider *)authenticationProvider + acquireTokenWithCompletionHandler:(MSACAnalyticsAuthenticationProviderCompletionBlock)completionHandler; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsTransmissionTarget.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsTransmissionTarget.h new file mode 100644 index 00000000..4b735bae --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsTransmissionTarget.h @@ -0,0 +1,151 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef ANALYTICS_TRANSMISSION_TARGET +#define ANALYTICS_TRANSMISSION_TARGET + +#if __has_include() +#import +#else +#import "MSACConstants+Flags.h" +#endif + +#if __has_include() +#import +#import +#else +#import "MSACAnalyticsAuthenticationProvider.h" +#import "MSACPropertyConfigurator.h" +#endif + +@class MSACEventProperties; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AnalyticsTransmissionTarget) +@interface MSACAnalyticsTransmissionTarget : NSObject + +/** + * Property configurator. + */ +@property(nonatomic, readonly, strong) MSACPropertyConfigurator *propertyConfigurator; + ++ (void)addAuthenticationProvider:(MSACAnalyticsAuthenticationProvider *)authenticationProvider + NS_SWIFT_NAME(addAuthenticationProvider(authenticationProvider:)); + +/** + * Track an event. + * + * @param eventName event name. + */ +- (void)trackEvent:(NSString *)eventName; + +/** + * Track an event. + * + * @param eventName event name. + * @param properties dictionary of properties. + */ +- (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties; + +/** + * Track an event. + * + * @param eventName event name. + * @param properties dictionary of properties. + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in + * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the + * MSACFlagsCritical flag. + */ +- (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSACFlags)flags; + +/** + * Track a custom event with name and optional typed properties. + * + * @param eventName Event name. + * @param properties Typed properties. + * + * @discussion The following validation rules are applied: + * + * The name cannot be null or empty. + * + * The property names or values cannot be null. + * + * Double values must be finite (NaN or Infinite values are discarded). + * + * Additional validation rules apply depending on the configured secret. + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ +- (void)trackEvent:(NSString *)eventName + withTypedProperties:(nullable MSACEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); + +/** + * Track a custom event with name and optional typed properties. + * + * @param eventName Event name. + * @param properties Typed properties. + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in + * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the + * MSACFlagsCritical flag. + * + * @discussion The following validation rules are applied: + * + * The name cannot be null or empty. + * + * The property names or values cannot be null. + * + * Double values must be finite (NaN or Infinite values are discarded). + * + * Additional validation rules apply depending on the configured secret. + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ +- (void)trackEvent:(NSString *)eventName + withTypedProperties:(nullable MSACEventProperties *)properties + flags:(MSACFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); + +/** + * Get a nested transmission target. + * + * @param token The token of the transmission target to retrieve. + * + * @returns A transmission target object nested to this parent transmission target. + */ +- (MSACAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token NS_SWIFT_NAME(transmissionTarget(forToken:)); + +/** + * The flag indicates whether or not this transmission target is enabled. Changing its state will also change states of nested transmission + * targets. + */ +@property(nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); + +/** + * Pause sending logs for the transmission target. It doesn't pause any of its decendants. + * + * @see resume + */ +- (void)pause; + +/** + * Resume sending logs for the transmission target. + * + * @see pause + */ +- (void)resume; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACEventLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACEventLog.h new file mode 100644 index 00000000..21c47ee8 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACEventLog.h @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_EVENT_LOG_H +#define MSAC_EVENT_LOG_H + +#if __has_include() +#import +#else +#import "MSACLogWithNameAndProperties.h" +#endif + +@class MSACEventProperties; +@class MSACMetadataExtension; + +NS_SWIFT_NAME(EventLog) +@interface MSACEventLog : MSACLogWithNameAndProperties + +/** + * Unique identifier for this event. + */ +@property(nonatomic, copy) NSString *eventId; + +/** + * Event properties. + */ +@property(nonatomic, strong) MSACEventProperties *typedProperties; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACEventProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACEventProperties.h new file mode 100644 index 00000000..f20b9781 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACEventProperties.h @@ -0,0 +1,61 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef EVENT_PROPERTIES +#define EVENT_PROPERTIES + +NS_ASSUME_NONNULL_BEGIN + +/** + * Contains typed event properties. + */ +NS_SWIFT_NAME(EventProperties) +@interface MSACEventProperties : NSObject + +/** + * Set a string property. + * + * @param value Property value. + * @param key Property key. + */ +- (instancetype)setString:(NSString *)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a double property. + * + * @param value Property value. Must be finite (`NAN` and `INFINITY` not allowed). + * @param key Property key. + */ +- (instancetype)setDouble:(double)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a 64-bit integer property. + * + * @param value Property value. + * @param key Property key. + */ +- (instancetype)setInt64:(int64_t)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a boolean property. + * + * @param value Property value. + * @param key Property key. + */ +- (instancetype)setBool:(BOOL)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a date property. + * + * @param value Property value. + * @param key Property key. + */ +- (instancetype)setDate:(NSDate *)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACLogWithNameAndProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACLogWithNameAndProperties.h new file mode 100644 index 00000000..81dbf77e --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACLogWithNameAndProperties.h @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef MSAC_LOG_WITH_NAME_PROPERTIES_H +#define MSAC_LOG_WITH_NAME_PROPERTIES_H + +#if __has_include() +#import +#else +#import "MSACLogWithProperties.h" +#endif + +NS_SWIFT_NAME(LogWithNameAndProperties) +@interface MSACLogWithNameAndProperties : MSACLogWithProperties + +/** + * Name of the event. + */ +@property(nonatomic, copy) NSString *name; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACPropertyConfigurator.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACPropertyConfigurator.h new file mode 100644 index 00000000..18da6726 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACPropertyConfigurator.h @@ -0,0 +1,116 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(PropertyConfigurator) +@interface MSACPropertyConfigurator : NSObject + +/** + * Override the application version. + * + */ +@property(nonatomic, copy) NSString *_Nullable appVersion; + +/** + * Override the application name. + * + */ +@property(nonatomic, copy) NSString *_Nullable appName; + +/** + * Override the application locale. + * + */ +@property(nonatomic, copy) NSString *_Nullable appLocale; + +/** + * User identifier. + * The identifier needs to start with c: or i: or d: or w: prefixes. + * + */ +@property(nonatomic, copy) NSString *_Nullable userId; + +/** + * Set a string event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyString:(NSString *)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a double event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. Must be finite (`NAN` and `INFINITY` not allowed). + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyDouble:(double)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a 64-bit integer event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyInt64:(int64_t)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a boolean event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyBool:(BOOL)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a date event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyDate:(NSDate *)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Remove an event property from this transmission target. + * + * @param propertyKey Property key. + * + * @discussion This won't remove properties with the same name declared in other nested transmission targets. + */ +- (void)removeEventPropertyForKey:(NSString *)propertyKey NS_SWIFT_NAME(removeEventProperty(forKey:)); + +/** + * Once called, the App Center SDK will automatically add UIDevice.identifierForVendor to common schema logs. + * + * @discussion Call this before starting the SDK. This setting is not persisted, so you need to call this when setting up the SDK every + * time. If you want to provide a way for users to opt-in or opt-out of this setting, it is on you to persist their choice and configure the + * App Center SDK accordingly. + */ +- (void)collectDeviceId; + +NS_ASSUME_NONNULL_END + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Info.plist new file mode 100644 index 00000000..82cf8e6c Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Info.plist differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Modules/module.modulemap new file mode 100644 index 00000000..ea370ea5 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module AppCenterAnalytics { + umbrella header "AppCenterAnalytics.h" + + export * + module * { export * } + + link framework "Foundation" + link framework "UIKit" +} diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeDirectory b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeDirectory new file mode 100644 index 00000000..6550ebaa Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeDirectory differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeRequirements b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeRequirements new file mode 100644 index 00000000..dbf9d614 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeRequirements differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeRequirements-1 b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeRequirements-1 new file mode 100644 index 00000000..79afa001 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeRequirements-1 differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeResources b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeResources new file mode 100644 index 00000000..d5acc31b --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeResources @@ -0,0 +1,252 @@ + + + + + files + + Headers/AppCenterAnalytics.h + + Fs0dGlBGkuUc6Z7ZP7gfuSWOzCw= + + Headers/MSACAnalytics.h + + eCMFL/VXD+rG/k/pKssa1WHyXIU= + + Headers/MSACAnalyticsAuthenticationProvider.h + + ovXSzTsXH+JOx+GCBxqVc/esug8= + + Headers/MSACAnalyticsAuthenticationProviderDelegate.h + + NSi6Ny9C3NeGJ+RsBPbZk9SIuGY= + + Headers/MSACAnalyticsTransmissionTarget.h + + qPZxWKGB/GiufN0hpB5xma4wEKI= + + Headers/MSACEventLog.h + + oYQXdiN+3K5CCvIMbbOo00U8TZc= + + Headers/MSACEventProperties.h + + vZGg4s6Q/1QSzsGWD84S+mFnfBE= + + Headers/MSACLogWithNameAndProperties.h + + 6S/dPB/fT2ggNWRoYwZ7wmcOBSE= + + Headers/MSACPropertyConfigurator.h + + lGP+L5ChWN1AcKaFjfGSH2nFJUk= + + Info.plist + + Dn4M1yHpl+zPcUN7jkeFGK9sDLg= + + Modules/module.modulemap + + 0El015qOEJTmLPFDCepYjK0g4k8= + + + files2 + + Headers/AppCenterAnalytics.h + + hash + + Fs0dGlBGkuUc6Z7ZP7gfuSWOzCw= + + hash2 + + ftbFFrrERdYkA9lfSEvaW2HIu31AMc+674Bn4t/sgpA= + + + Headers/MSACAnalytics.h + + hash + + eCMFL/VXD+rG/k/pKssa1WHyXIU= + + hash2 + + y5cJfuEQdXJdW1JBMov56b0g6JqAaYxWjoITEjDhrLM= + + + Headers/MSACAnalyticsAuthenticationProvider.h + + hash + + ovXSzTsXH+JOx+GCBxqVc/esug8= + + hash2 + + VX9x8iyr6H8IUJ5Il7fDoiBxPefviCMbiKnftN9etaI= + + + Headers/MSACAnalyticsAuthenticationProviderDelegate.h + + hash + + NSi6Ny9C3NeGJ+RsBPbZk9SIuGY= + + hash2 + + 5GoAw0otoErj3IS/wneF0BalH1RnXmAakM2X1KLchWk= + + + Headers/MSACAnalyticsTransmissionTarget.h + + hash + + qPZxWKGB/GiufN0hpB5xma4wEKI= + + hash2 + + GAoo5JHjROE4618AsMecbEH9mzOj1TejY5iCBeU/Yds= + + + Headers/MSACEventLog.h + + hash + + oYQXdiN+3K5CCvIMbbOo00U8TZc= + + hash2 + + eTIJL3LVp+gDX2sWuYnj8nqlfyp9+bFNZNKeMN9M6Q0= + + + Headers/MSACEventProperties.h + + hash + + vZGg4s6Q/1QSzsGWD84S+mFnfBE= + + hash2 + + Y4BEaISVry4wv+Z7jjbM6KP8fiyiHk+aB9YMzAvfUV0= + + + Headers/MSACLogWithNameAndProperties.h + + hash + + 6S/dPB/fT2ggNWRoYwZ7wmcOBSE= + + hash2 + + DiLnJ6tiJacyKthLgB4INSWg7l0ZArp2pNmSbFfsfsk= + + + Headers/MSACPropertyConfigurator.h + + hash + + lGP+L5ChWN1AcKaFjfGSH2nFJUk= + + hash2 + + ZkNl6d5lmIMMijjVhtMAYeTglhpKH68UK9mRuvnYNGg= + + + Modules/module.modulemap + + hash + + 0El015qOEJTmLPFDCepYjK0g4k8= + + hash2 + + GCgZkS19ITwtztUxDCQ265uvlfL0cwEgwEIakSFJyDM= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeSignature b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeSignature new file mode 100644 index 00000000..e69de29b diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/AppCenterAnalytics b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/AppCenterAnalytics new file mode 120000 index 00000000..fe4af8a3 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/AppCenterAnalytics @@ -0,0 +1 @@ +Versions/Current/AppCenterAnalytics \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Headers b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Headers new file mode 120000 index 00000000..a177d2a6 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Modules b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Modules new file mode 120000 index 00000000..5736f318 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Resources b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Resources new file mode 120000 index 00000000..953ee36f --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/AppCenterAnalytics b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/AppCenterAnalytics new file mode 100644 index 00000000..a8ed6f26 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/AppCenterAnalytics differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/AppCenterAnalytics.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/AppCenterAnalytics.h new file mode 100644 index 00000000..5ab691ff --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/AppCenterAnalytics.h @@ -0,0 +1,20 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#else +#import "MSACAnalytics.h" +#import "MSACAnalyticsAuthenticationProvider.h" +#import "MSACAnalyticsAuthenticationProviderDelegate.h" +#import "MSACAnalyticsTransmissionTarget.h" +#import "MSACEventLog.h" +#import "MSACEventProperties.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalytics.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalytics.h new file mode 100644 index 00000000..ccc516e9 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalytics.h @@ -0,0 +1,226 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_ANALYTICS_H +#define MSAC_ANALYTICS_H + +#if __has_include() +#import +#else +#import "MSACServiceAbstract.h" +#endif + +#if __has_include() +#import +#else +#import "MSACAnalyticsTransmissionTarget.h" +#endif + +@class MSACEventProperties; + +NS_ASSUME_NONNULL_BEGIN + +/** + * App Center analytics service. + */ +NS_SWIFT_NAME(Analytics) +@interface MSACAnalytics : MSACServiceAbstract + +/** + * Track an event. + * + * @param eventName Event name. Cannot be `nil` or empty. + * + * @discussion Validation rules apply depending on the configured secret. + * + * For App Center, the name cannot be longer than 256 and is truncated otherwise. + * + * For One Collector, the name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + */ ++ (void)trackEvent:(NSString *)eventName; + +/** + * Track a custom event with optional string properties. + * + * @param eventName Event name. Cannot be `nil` or empty. + * @param properties Dictionary of properties. Keys and values must not be `nil`. + * + * @discussion Additional validation rules apply depending on the configured secret. + * + * For App Center: + * + * - The event name cannot be longer than 256 and is truncated otherwise. + * + * - The property names cannot be empty. + * + * - The property names and values are limited to 125 characters each (truncated). + * + * - The number of properties per event is limited to 20 (truncated). + * + * + * For One Collector: + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ ++ (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties; + +/** + * Track a custom event with optional string properties. + * + * @param eventName Event name. Cannot be `nil` or empty. + * @param properties Dictionary of properties. Keys and values must not be `nil`. + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in + * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the + * MSACFlagsCritical flag. + * + * @discussion Additional validation rules apply depending on the configured secret. + * + * For App Center: + * + * - The event name cannot be longer than 256 and is truncated otherwise. + * + * - The property names cannot be empty. + * + * - The property names and values are limited to 125 characters each (truncated). + * + * - The number of properties per event is limited to 20 (truncated). + * + * + * For One Collector: + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ ++ (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSACFlags)flags; + +/** + * Track a custom event with name and optional typed properties. + * + * @param eventName Event name. + * @param properties Typed properties. + * + * @discussion The following validation rules are applied: + * + * The name cannot be null or empty. + * + * The property names or values cannot be null. + * + * Double values must be finite (NaN or Infinite values are discarded). + * + * Additional validation rules apply depending on the configured secret. + * + * + * For App Center: + * + * - The event name cannot be longer than 256 and is truncated otherwise. + * + * - The property names cannot be empty. + * + * - The property names and values are limited to 125 characters each (truncated). + * + * - The number of properties per event is limited to 20 (truncated). + * + * + * For One Collector: + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ ++ (void)trackEvent:(NSString *)eventName + withTypedProperties:(nullable MSACEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); + +/** + * Track a custom event with name and optional typed properties. + * + * @param eventName Event name. + * @param properties Typed properties. + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in + * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the + * MSACFlagsCritical flag. + * + * @discussion The following validation rules are applied: + * + * The name cannot be null or empty. + * + * The property names or values cannot be null. + * + * Double values must be finite (NaN or Infinite values are discarded). + * + * Additional validation rules apply depending on the configured secret. + * + * + * For App Center: + * + * - The event name cannot be longer than 256 and is truncated otherwise. + * + * - The property names cannot be empty. + * + * - The property names and values are limited to 125 characters each (truncated). + * + * - The number of properties per event is limited to 20 (truncated). + * + * + * For One Collector: + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ ++ (void)trackEvent:(NSString *)eventName + withTypedProperties:(nullable MSACEventProperties *)properties + flags:(MSACFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); + +/** + * Pause transmission of Analytics logs. While paused, Analytics logs are saved to disk. + * + * @see resume + */ ++ (void)pause; + +/** + * Resume transmission of Analytics logs. Any Analytics logs that accumulated on disk while paused are sent to the + * server. + * + * @see pause + */ ++ (void)resume; + +/** + * Get a transmission target. + * + * @param token The token of the transmission target to retrieve. + * + * @returns The transmission target object. + * + * @discussion This method does not need to be annotated with + * NS_SWIFT_NAME(transmissionTarget(forToken:)) as this is a static method that + * doesn't get translated like a setter in Swift. + * + * @see MSACAnalyticsTransmissionTarget for comparison. + */ ++ (MSACAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token NS_SWIFT_NAME(transmissionTarget(forToken:)); + +/** + * Send time interval for non-critical logs. + * Must be between 3 seconds and 86400 seconds (1 day). + * Must be called before Analytics service start. + */ +@property(class, atomic) NSUInteger transmissionInterval; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsAuthenticationProvider.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsAuthenticationProvider.h new file mode 100644 index 00000000..b8d6ed9e --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsAuthenticationProvider.h @@ -0,0 +1,70 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#else +#import "MSACAnalyticsAuthenticationProviderDelegate.h" +#endif + +/** + * Different authentication types, e.g. MSA Compact, MSA Delegate, AAD,... . + */ +typedef NS_ENUM(NSUInteger, MSACAnalyticsAuthenticationType) { + + /** + * AuthenticationType MSA Compact. + */ + MSACAnalyticsAuthenticationTypeMsaCompact, + + /** + * AuthenticationType MSA Delegate. + */ + MSACAnalyticsAuthenticationTypeMsaDelegate +} NS_SWIFT_NAME(AnalyticsAuthenticationType); + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AnalyticsAuthenticationProvider) +@interface MSACAnalyticsAuthenticationProvider : NSObject + +/** + * The type. + */ +@property(nonatomic, readonly, assign) MSACAnalyticsAuthenticationType type; + +/** + * The ticket key for this authentication provider. + */ +@property(nonatomic, readonly, copy) NSString *ticketKey; + +/** + * The ticket key as hash. + */ +@property(nonatomic, readonly, copy) NSString *ticketKeyHash; + +@property(nonatomic, readonly, weak) id delegate; + +/** + * Create a new authentication provider. + * + * @param type The type for the provider, e.g. MSA. + * @param ticketKey The ticket key for the provider. + * @param delegate The delegate. + * + * @return A new authentication provider. + */ +- (instancetype)initWithAuthenticationType:(MSACAnalyticsAuthenticationType)type + ticketKey:(NSString *)ticketKey + delegate:(id)delegate; + +/** + * Check expiration. + */ +- (void)checkTokenExpiry; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsAuthenticationProviderDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsAuthenticationProviderDelegate.h new file mode 100644 index 00000000..9f7be7c6 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsAuthenticationProviderDelegate.h @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +@class MSACAnalyticsAuthenticationProvider; + +/** + * Completion handler that returns the authentication token and the expiry date. + */ +typedef void (^MSACAnalyticsAuthenticationProviderCompletionBlock)(NSString *token, NSDate *expiryDate) + NS_SWIFT_NAME(AnalyticsAuthenticationProviderCompletionBlock); + +NS_SWIFT_NAME(AnalyticsAuthenticationProviderDelegate) +@protocol MSACAnalyticsAuthenticationProviderDelegate + +/** + * Required method that needs to be called from within your authentication flow to provide the authentication token and expiry date. + * + * @param authenticationProvider The authentication provider. + * @param completionHandler The completion handler. + */ +- (void)authenticationProvider:(MSACAnalyticsAuthenticationProvider *)authenticationProvider + acquireTokenWithCompletionHandler:(MSACAnalyticsAuthenticationProviderCompletionBlock)completionHandler; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsTransmissionTarget.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsTransmissionTarget.h new file mode 100644 index 00000000..4b735bae --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsTransmissionTarget.h @@ -0,0 +1,151 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef ANALYTICS_TRANSMISSION_TARGET +#define ANALYTICS_TRANSMISSION_TARGET + +#if __has_include() +#import +#else +#import "MSACConstants+Flags.h" +#endif + +#if __has_include() +#import +#import +#else +#import "MSACAnalyticsAuthenticationProvider.h" +#import "MSACPropertyConfigurator.h" +#endif + +@class MSACEventProperties; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AnalyticsTransmissionTarget) +@interface MSACAnalyticsTransmissionTarget : NSObject + +/** + * Property configurator. + */ +@property(nonatomic, readonly, strong) MSACPropertyConfigurator *propertyConfigurator; + ++ (void)addAuthenticationProvider:(MSACAnalyticsAuthenticationProvider *)authenticationProvider + NS_SWIFT_NAME(addAuthenticationProvider(authenticationProvider:)); + +/** + * Track an event. + * + * @param eventName event name. + */ +- (void)trackEvent:(NSString *)eventName; + +/** + * Track an event. + * + * @param eventName event name. + * @param properties dictionary of properties. + */ +- (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties; + +/** + * Track an event. + * + * @param eventName event name. + * @param properties dictionary of properties. + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in + * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the + * MSACFlagsCritical flag. + */ +- (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSACFlags)flags; + +/** + * Track a custom event with name and optional typed properties. + * + * @param eventName Event name. + * @param properties Typed properties. + * + * @discussion The following validation rules are applied: + * + * The name cannot be null or empty. + * + * The property names or values cannot be null. + * + * Double values must be finite (NaN or Infinite values are discarded). + * + * Additional validation rules apply depending on the configured secret. + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ +- (void)trackEvent:(NSString *)eventName + withTypedProperties:(nullable MSACEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); + +/** + * Track a custom event with name and optional typed properties. + * + * @param eventName Event name. + * @param properties Typed properties. + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in + * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the + * MSACFlagsCritical flag. + * + * @discussion The following validation rules are applied: + * + * The name cannot be null or empty. + * + * The property names or values cannot be null. + * + * Double values must be finite (NaN or Infinite values are discarded). + * + * Additional validation rules apply depending on the configured secret. + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ +- (void)trackEvent:(NSString *)eventName + withTypedProperties:(nullable MSACEventProperties *)properties + flags:(MSACFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); + +/** + * Get a nested transmission target. + * + * @param token The token of the transmission target to retrieve. + * + * @returns A transmission target object nested to this parent transmission target. + */ +- (MSACAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token NS_SWIFT_NAME(transmissionTarget(forToken:)); + +/** + * The flag indicates whether or not this transmission target is enabled. Changing its state will also change states of nested transmission + * targets. + */ +@property(nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); + +/** + * Pause sending logs for the transmission target. It doesn't pause any of its decendants. + * + * @see resume + */ +- (void)pause; + +/** + * Resume sending logs for the transmission target. + * + * @see pause + */ +- (void)resume; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACEventLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACEventLog.h new file mode 100644 index 00000000..21c47ee8 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACEventLog.h @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_EVENT_LOG_H +#define MSAC_EVENT_LOG_H + +#if __has_include() +#import +#else +#import "MSACLogWithNameAndProperties.h" +#endif + +@class MSACEventProperties; +@class MSACMetadataExtension; + +NS_SWIFT_NAME(EventLog) +@interface MSACEventLog : MSACLogWithNameAndProperties + +/** + * Unique identifier for this event. + */ +@property(nonatomic, copy) NSString *eventId; + +/** + * Event properties. + */ +@property(nonatomic, strong) MSACEventProperties *typedProperties; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACEventProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACEventProperties.h new file mode 100644 index 00000000..f20b9781 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACEventProperties.h @@ -0,0 +1,61 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef EVENT_PROPERTIES +#define EVENT_PROPERTIES + +NS_ASSUME_NONNULL_BEGIN + +/** + * Contains typed event properties. + */ +NS_SWIFT_NAME(EventProperties) +@interface MSACEventProperties : NSObject + +/** + * Set a string property. + * + * @param value Property value. + * @param key Property key. + */ +- (instancetype)setString:(NSString *)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a double property. + * + * @param value Property value. Must be finite (`NAN` and `INFINITY` not allowed). + * @param key Property key. + */ +- (instancetype)setDouble:(double)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a 64-bit integer property. + * + * @param value Property value. + * @param key Property key. + */ +- (instancetype)setInt64:(int64_t)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a boolean property. + * + * @param value Property value. + * @param key Property key. + */ +- (instancetype)setBool:(BOOL)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a date property. + * + * @param value Property value. + * @param key Property key. + */ +- (instancetype)setDate:(NSDate *)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACLogWithNameAndProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACLogWithNameAndProperties.h new file mode 100644 index 00000000..81dbf77e --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACLogWithNameAndProperties.h @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef MSAC_LOG_WITH_NAME_PROPERTIES_H +#define MSAC_LOG_WITH_NAME_PROPERTIES_H + +#if __has_include() +#import +#else +#import "MSACLogWithProperties.h" +#endif + +NS_SWIFT_NAME(LogWithNameAndProperties) +@interface MSACLogWithNameAndProperties : MSACLogWithProperties + +/** + * Name of the event. + */ +@property(nonatomic, copy) NSString *name; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACPropertyConfigurator.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACPropertyConfigurator.h new file mode 100644 index 00000000..18da6726 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Headers/MSACPropertyConfigurator.h @@ -0,0 +1,116 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(PropertyConfigurator) +@interface MSACPropertyConfigurator : NSObject + +/** + * Override the application version. + * + */ +@property(nonatomic, copy) NSString *_Nullable appVersion; + +/** + * Override the application name. + * + */ +@property(nonatomic, copy) NSString *_Nullable appName; + +/** + * Override the application locale. + * + */ +@property(nonatomic, copy) NSString *_Nullable appLocale; + +/** + * User identifier. + * The identifier needs to start with c: or i: or d: or w: prefixes. + * + */ +@property(nonatomic, copy) NSString *_Nullable userId; + +/** + * Set a string event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyString:(NSString *)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a double event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. Must be finite (`NAN` and `INFINITY` not allowed). + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyDouble:(double)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a 64-bit integer event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyInt64:(int64_t)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a boolean event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyBool:(BOOL)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a date event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyDate:(NSDate *)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Remove an event property from this transmission target. + * + * @param propertyKey Property key. + * + * @discussion This won't remove properties with the same name declared in other nested transmission targets. + */ +- (void)removeEventPropertyForKey:(NSString *)propertyKey NS_SWIFT_NAME(removeEventProperty(forKey:)); + +/** + * Once called, the App Center SDK will automatically add UIDevice.identifierForVendor to common schema logs. + * + * @discussion Call this before starting the SDK. This setting is not persisted, so you need to call this when setting up the SDK every + * time. If you want to provide a way for users to opt-in or opt-out of this setting, it is on you to persist their choice and configure the + * App Center SDK accordingly. + */ +- (void)collectDeviceId; + +NS_ASSUME_NONNULL_END + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000..ea370ea5 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module AppCenterAnalytics { + umbrella header "AppCenterAnalytics.h" + + export * + module * { export * } + + link framework "Foundation" + link framework "UIKit" +} diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Resources/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000..f89f39fc --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,48 @@ + + + + + BuildMachineOSBuild + 19H1217 + CFBundleDevelopmentRegion + English + CFBundleExecutable + AppCenterAnalytics + CFBundleIdentifier + com.microsoft.appcenter.analytics + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + AppCenterAnalytics + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1 + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1.0 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 11C505 + DTPlatformVersion + GM + DTSDKBuild + 19B90 + DTSDKName + macosx10.15 + DTXcode + 1130 + DTXcodeBuild + 11C505 + LSMinimumSystemVersion + 10.15 + UIDeviceFamily + + 2 + + + diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/Current b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/Current new file mode 120000 index 00000000..8c7e5a66 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterAnalytics.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/AppCenterAnalytics b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/AppCenterAnalytics new file mode 120000 index 00000000..fe4af8a3 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/AppCenterAnalytics @@ -0,0 +1 @@ +Versions/Current/AppCenterAnalytics \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Headers b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Headers new file mode 120000 index 00000000..a177d2a6 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Modules b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Modules new file mode 120000 index 00000000..5736f318 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Resources b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Resources new file mode 120000 index 00000000..953ee36f --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/AppCenterAnalytics b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/AppCenterAnalytics new file mode 100644 index 00000000..54264773 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/AppCenterAnalytics differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/AppCenterAnalytics.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/AppCenterAnalytics.h new file mode 100644 index 00000000..5ab691ff --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/AppCenterAnalytics.h @@ -0,0 +1,20 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#else +#import "MSACAnalytics.h" +#import "MSACAnalyticsAuthenticationProvider.h" +#import "MSACAnalyticsAuthenticationProviderDelegate.h" +#import "MSACAnalyticsTransmissionTarget.h" +#import "MSACEventLog.h" +#import "MSACEventProperties.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalytics.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalytics.h new file mode 100644 index 00000000..ccc516e9 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalytics.h @@ -0,0 +1,226 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_ANALYTICS_H +#define MSAC_ANALYTICS_H + +#if __has_include() +#import +#else +#import "MSACServiceAbstract.h" +#endif + +#if __has_include() +#import +#else +#import "MSACAnalyticsTransmissionTarget.h" +#endif + +@class MSACEventProperties; + +NS_ASSUME_NONNULL_BEGIN + +/** + * App Center analytics service. + */ +NS_SWIFT_NAME(Analytics) +@interface MSACAnalytics : MSACServiceAbstract + +/** + * Track an event. + * + * @param eventName Event name. Cannot be `nil` or empty. + * + * @discussion Validation rules apply depending on the configured secret. + * + * For App Center, the name cannot be longer than 256 and is truncated otherwise. + * + * For One Collector, the name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + */ ++ (void)trackEvent:(NSString *)eventName; + +/** + * Track a custom event with optional string properties. + * + * @param eventName Event name. Cannot be `nil` or empty. + * @param properties Dictionary of properties. Keys and values must not be `nil`. + * + * @discussion Additional validation rules apply depending on the configured secret. + * + * For App Center: + * + * - The event name cannot be longer than 256 and is truncated otherwise. + * + * - The property names cannot be empty. + * + * - The property names and values are limited to 125 characters each (truncated). + * + * - The number of properties per event is limited to 20 (truncated). + * + * + * For One Collector: + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ ++ (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties; + +/** + * Track a custom event with optional string properties. + * + * @param eventName Event name. Cannot be `nil` or empty. + * @param properties Dictionary of properties. Keys and values must not be `nil`. + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in + * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the + * MSACFlagsCritical flag. + * + * @discussion Additional validation rules apply depending on the configured secret. + * + * For App Center: + * + * - The event name cannot be longer than 256 and is truncated otherwise. + * + * - The property names cannot be empty. + * + * - The property names and values are limited to 125 characters each (truncated). + * + * - The number of properties per event is limited to 20 (truncated). + * + * + * For One Collector: + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ ++ (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSACFlags)flags; + +/** + * Track a custom event with name and optional typed properties. + * + * @param eventName Event name. + * @param properties Typed properties. + * + * @discussion The following validation rules are applied: + * + * The name cannot be null or empty. + * + * The property names or values cannot be null. + * + * Double values must be finite (NaN or Infinite values are discarded). + * + * Additional validation rules apply depending on the configured secret. + * + * + * For App Center: + * + * - The event name cannot be longer than 256 and is truncated otherwise. + * + * - The property names cannot be empty. + * + * - The property names and values are limited to 125 characters each (truncated). + * + * - The number of properties per event is limited to 20 (truncated). + * + * + * For One Collector: + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ ++ (void)trackEvent:(NSString *)eventName + withTypedProperties:(nullable MSACEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); + +/** + * Track a custom event with name and optional typed properties. + * + * @param eventName Event name. + * @param properties Typed properties. + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in + * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the + * MSACFlagsCritical flag. + * + * @discussion The following validation rules are applied: + * + * The name cannot be null or empty. + * + * The property names or values cannot be null. + * + * Double values must be finite (NaN or Infinite values are discarded). + * + * Additional validation rules apply depending on the configured secret. + * + * + * For App Center: + * + * - The event name cannot be longer than 256 and is truncated otherwise. + * + * - The property names cannot be empty. + * + * - The property names and values are limited to 125 characters each (truncated). + * + * - The number of properties per event is limited to 20 (truncated). + * + * + * For One Collector: + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ ++ (void)trackEvent:(NSString *)eventName + withTypedProperties:(nullable MSACEventProperties *)properties + flags:(MSACFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); + +/** + * Pause transmission of Analytics logs. While paused, Analytics logs are saved to disk. + * + * @see resume + */ ++ (void)pause; + +/** + * Resume transmission of Analytics logs. Any Analytics logs that accumulated on disk while paused are sent to the + * server. + * + * @see pause + */ ++ (void)resume; + +/** + * Get a transmission target. + * + * @param token The token of the transmission target to retrieve. + * + * @returns The transmission target object. + * + * @discussion This method does not need to be annotated with + * NS_SWIFT_NAME(transmissionTarget(forToken:)) as this is a static method that + * doesn't get translated like a setter in Swift. + * + * @see MSACAnalyticsTransmissionTarget for comparison. + */ ++ (MSACAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token NS_SWIFT_NAME(transmissionTarget(forToken:)); + +/** + * Send time interval for non-critical logs. + * Must be between 3 seconds and 86400 seconds (1 day). + * Must be called before Analytics service start. + */ +@property(class, atomic) NSUInteger transmissionInterval; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsAuthenticationProvider.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsAuthenticationProvider.h new file mode 100644 index 00000000..b8d6ed9e --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsAuthenticationProvider.h @@ -0,0 +1,70 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#else +#import "MSACAnalyticsAuthenticationProviderDelegate.h" +#endif + +/** + * Different authentication types, e.g. MSA Compact, MSA Delegate, AAD,... . + */ +typedef NS_ENUM(NSUInteger, MSACAnalyticsAuthenticationType) { + + /** + * AuthenticationType MSA Compact. + */ + MSACAnalyticsAuthenticationTypeMsaCompact, + + /** + * AuthenticationType MSA Delegate. + */ + MSACAnalyticsAuthenticationTypeMsaDelegate +} NS_SWIFT_NAME(AnalyticsAuthenticationType); + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AnalyticsAuthenticationProvider) +@interface MSACAnalyticsAuthenticationProvider : NSObject + +/** + * The type. + */ +@property(nonatomic, readonly, assign) MSACAnalyticsAuthenticationType type; + +/** + * The ticket key for this authentication provider. + */ +@property(nonatomic, readonly, copy) NSString *ticketKey; + +/** + * The ticket key as hash. + */ +@property(nonatomic, readonly, copy) NSString *ticketKeyHash; + +@property(nonatomic, readonly, weak) id delegate; + +/** + * Create a new authentication provider. + * + * @param type The type for the provider, e.g. MSA. + * @param ticketKey The ticket key for the provider. + * @param delegate The delegate. + * + * @return A new authentication provider. + */ +- (instancetype)initWithAuthenticationType:(MSACAnalyticsAuthenticationType)type + ticketKey:(NSString *)ticketKey + delegate:(id)delegate; + +/** + * Check expiration. + */ +- (void)checkTokenExpiry; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsAuthenticationProviderDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsAuthenticationProviderDelegate.h new file mode 100644 index 00000000..9f7be7c6 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsAuthenticationProviderDelegate.h @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +@class MSACAnalyticsAuthenticationProvider; + +/** + * Completion handler that returns the authentication token and the expiry date. + */ +typedef void (^MSACAnalyticsAuthenticationProviderCompletionBlock)(NSString *token, NSDate *expiryDate) + NS_SWIFT_NAME(AnalyticsAuthenticationProviderCompletionBlock); + +NS_SWIFT_NAME(AnalyticsAuthenticationProviderDelegate) +@protocol MSACAnalyticsAuthenticationProviderDelegate + +/** + * Required method that needs to be called from within your authentication flow to provide the authentication token and expiry date. + * + * @param authenticationProvider The authentication provider. + * @param completionHandler The completion handler. + */ +- (void)authenticationProvider:(MSACAnalyticsAuthenticationProvider *)authenticationProvider + acquireTokenWithCompletionHandler:(MSACAnalyticsAuthenticationProviderCompletionBlock)completionHandler; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsTransmissionTarget.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsTransmissionTarget.h new file mode 100644 index 00000000..4b735bae --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACAnalyticsTransmissionTarget.h @@ -0,0 +1,151 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef ANALYTICS_TRANSMISSION_TARGET +#define ANALYTICS_TRANSMISSION_TARGET + +#if __has_include() +#import +#else +#import "MSACConstants+Flags.h" +#endif + +#if __has_include() +#import +#import +#else +#import "MSACAnalyticsAuthenticationProvider.h" +#import "MSACPropertyConfigurator.h" +#endif + +@class MSACEventProperties; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AnalyticsTransmissionTarget) +@interface MSACAnalyticsTransmissionTarget : NSObject + +/** + * Property configurator. + */ +@property(nonatomic, readonly, strong) MSACPropertyConfigurator *propertyConfigurator; + ++ (void)addAuthenticationProvider:(MSACAnalyticsAuthenticationProvider *)authenticationProvider + NS_SWIFT_NAME(addAuthenticationProvider(authenticationProvider:)); + +/** + * Track an event. + * + * @param eventName event name. + */ +- (void)trackEvent:(NSString *)eventName; + +/** + * Track an event. + * + * @param eventName event name. + * @param properties dictionary of properties. + */ +- (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties; + +/** + * Track an event. + * + * @param eventName event name. + * @param properties dictionary of properties. + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in + * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the + * MSACFlagsCritical flag. + */ +- (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSACFlags)flags; + +/** + * Track a custom event with name and optional typed properties. + * + * @param eventName Event name. + * @param properties Typed properties. + * + * @discussion The following validation rules are applied: + * + * The name cannot be null or empty. + * + * The property names or values cannot be null. + * + * Double values must be finite (NaN or Infinite values are discarded). + * + * Additional validation rules apply depending on the configured secret. + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ +- (void)trackEvent:(NSString *)eventName + withTypedProperties:(nullable MSACEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); + +/** + * Track a custom event with name and optional typed properties. + * + * @param eventName Event name. + * @param properties Typed properties. + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in + * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the + * MSACFlagsCritical flag. + * + * @discussion The following validation rules are applied: + * + * The name cannot be null or empty. + * + * The property names or values cannot be null. + * + * Double values must be finite (NaN or Infinite values are discarded). + * + * Additional validation rules apply depending on the configured secret. + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ +- (void)trackEvent:(NSString *)eventName + withTypedProperties:(nullable MSACEventProperties *)properties + flags:(MSACFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); + +/** + * Get a nested transmission target. + * + * @param token The token of the transmission target to retrieve. + * + * @returns A transmission target object nested to this parent transmission target. + */ +- (MSACAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token NS_SWIFT_NAME(transmissionTarget(forToken:)); + +/** + * The flag indicates whether or not this transmission target is enabled. Changing its state will also change states of nested transmission + * targets. + */ +@property(nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); + +/** + * Pause sending logs for the transmission target. It doesn't pause any of its decendants. + * + * @see resume + */ +- (void)pause; + +/** + * Resume sending logs for the transmission target. + * + * @see pause + */ +- (void)resume; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACEventLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACEventLog.h new file mode 100644 index 00000000..21c47ee8 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACEventLog.h @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_EVENT_LOG_H +#define MSAC_EVENT_LOG_H + +#if __has_include() +#import +#else +#import "MSACLogWithNameAndProperties.h" +#endif + +@class MSACEventProperties; +@class MSACMetadataExtension; + +NS_SWIFT_NAME(EventLog) +@interface MSACEventLog : MSACLogWithNameAndProperties + +/** + * Unique identifier for this event. + */ +@property(nonatomic, copy) NSString *eventId; + +/** + * Event properties. + */ +@property(nonatomic, strong) MSACEventProperties *typedProperties; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACEventProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACEventProperties.h new file mode 100644 index 00000000..f20b9781 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACEventProperties.h @@ -0,0 +1,61 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef EVENT_PROPERTIES +#define EVENT_PROPERTIES + +NS_ASSUME_NONNULL_BEGIN + +/** + * Contains typed event properties. + */ +NS_SWIFT_NAME(EventProperties) +@interface MSACEventProperties : NSObject + +/** + * Set a string property. + * + * @param value Property value. + * @param key Property key. + */ +- (instancetype)setString:(NSString *)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a double property. + * + * @param value Property value. Must be finite (`NAN` and `INFINITY` not allowed). + * @param key Property key. + */ +- (instancetype)setDouble:(double)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a 64-bit integer property. + * + * @param value Property value. + * @param key Property key. + */ +- (instancetype)setInt64:(int64_t)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a boolean property. + * + * @param value Property value. + * @param key Property key. + */ +- (instancetype)setBool:(BOOL)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a date property. + * + * @param value Property value. + * @param key Property key. + */ +- (instancetype)setDate:(NSDate *)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACLogWithNameAndProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACLogWithNameAndProperties.h new file mode 100644 index 00000000..81dbf77e --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACLogWithNameAndProperties.h @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef MSAC_LOG_WITH_NAME_PROPERTIES_H +#define MSAC_LOG_WITH_NAME_PROPERTIES_H + +#if __has_include() +#import +#else +#import "MSACLogWithProperties.h" +#endif + +NS_SWIFT_NAME(LogWithNameAndProperties) +@interface MSACLogWithNameAndProperties : MSACLogWithProperties + +/** + * Name of the event. + */ +@property(nonatomic, copy) NSString *name; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACPropertyConfigurator.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACPropertyConfigurator.h new file mode 100644 index 00000000..18da6726 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Headers/MSACPropertyConfigurator.h @@ -0,0 +1,116 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(PropertyConfigurator) +@interface MSACPropertyConfigurator : NSObject + +/** + * Override the application version. + * + */ +@property(nonatomic, copy) NSString *_Nullable appVersion; + +/** + * Override the application name. + * + */ +@property(nonatomic, copy) NSString *_Nullable appName; + +/** + * Override the application locale. + * + */ +@property(nonatomic, copy) NSString *_Nullable appLocale; + +/** + * User identifier. + * The identifier needs to start with c: or i: or d: or w: prefixes. + * + */ +@property(nonatomic, copy) NSString *_Nullable userId; + +/** + * Set a string event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyString:(NSString *)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a double event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. Must be finite (`NAN` and `INFINITY` not allowed). + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyDouble:(double)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a 64-bit integer event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyInt64:(int64_t)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a boolean event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyBool:(BOOL)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a date event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyDate:(NSDate *)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Remove an event property from this transmission target. + * + * @param propertyKey Property key. + * + * @discussion This won't remove properties with the same name declared in other nested transmission targets. + */ +- (void)removeEventPropertyForKey:(NSString *)propertyKey NS_SWIFT_NAME(removeEventProperty(forKey:)); + +/** + * Once called, the App Center SDK will automatically add UIDevice.identifierForVendor to common schema logs. + * + * @discussion Call this before starting the SDK. This setting is not persisted, so you need to call this when setting up the SDK every + * time. If you want to provide a way for users to opt-in or opt-out of this setting, it is on you to persist their choice and configure the + * App Center SDK accordingly. + */ +- (void)collectDeviceId; + +NS_ASSUME_NONNULL_END + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000..e8726e37 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module AppCenterAnalytics { + umbrella header "AppCenterAnalytics.h" + + export * + module * { export * } + + link framework "Foundation" + link framework "AppKit" +} diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Resources/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000..37c4c01d --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,44 @@ + + + + + BuildMachineOSBuild + 19H1217 + CFBundleDevelopmentRegion + English + CFBundleExecutable + AppCenterAnalytics + CFBundleIdentifier + com.microsoft.appcenter.analytics + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + AppCenterAnalytics + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1 + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1.0 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 11C505 + DTPlatformVersion + GM + DTSDKBuild + 19B90 + DTSDKName + macosx10.15 + DTXcode + 1130 + DTXcodeBuild + 11C505 + LSMinimumSystemVersion + 10.9 + + diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/Current b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/Current new file mode 120000 index 00000000..8c7e5a66 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/macos-arm64_x86_64/AppCenterAnalytics.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/AppCenterAnalytics b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/AppCenterAnalytics new file mode 100644 index 00000000..0cb7bd4e Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/AppCenterAnalytics differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h new file mode 100644 index 00000000..5ab691ff --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h @@ -0,0 +1,20 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#else +#import "MSACAnalytics.h" +#import "MSACAnalyticsAuthenticationProvider.h" +#import "MSACAnalyticsAuthenticationProviderDelegate.h" +#import "MSACAnalyticsTransmissionTarget.h" +#import "MSACEventLog.h" +#import "MSACEventProperties.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACAnalytics.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACAnalytics.h new file mode 100644 index 00000000..ccc516e9 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACAnalytics.h @@ -0,0 +1,226 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_ANALYTICS_H +#define MSAC_ANALYTICS_H + +#if __has_include() +#import +#else +#import "MSACServiceAbstract.h" +#endif + +#if __has_include() +#import +#else +#import "MSACAnalyticsTransmissionTarget.h" +#endif + +@class MSACEventProperties; + +NS_ASSUME_NONNULL_BEGIN + +/** + * App Center analytics service. + */ +NS_SWIFT_NAME(Analytics) +@interface MSACAnalytics : MSACServiceAbstract + +/** + * Track an event. + * + * @param eventName Event name. Cannot be `nil` or empty. + * + * @discussion Validation rules apply depending on the configured secret. + * + * For App Center, the name cannot be longer than 256 and is truncated otherwise. + * + * For One Collector, the name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + */ ++ (void)trackEvent:(NSString *)eventName; + +/** + * Track a custom event with optional string properties. + * + * @param eventName Event name. Cannot be `nil` or empty. + * @param properties Dictionary of properties. Keys and values must not be `nil`. + * + * @discussion Additional validation rules apply depending on the configured secret. + * + * For App Center: + * + * - The event name cannot be longer than 256 and is truncated otherwise. + * + * - The property names cannot be empty. + * + * - The property names and values are limited to 125 characters each (truncated). + * + * - The number of properties per event is limited to 20 (truncated). + * + * + * For One Collector: + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ ++ (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties; + +/** + * Track a custom event with optional string properties. + * + * @param eventName Event name. Cannot be `nil` or empty. + * @param properties Dictionary of properties. Keys and values must not be `nil`. + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in + * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the + * MSACFlagsCritical flag. + * + * @discussion Additional validation rules apply depending on the configured secret. + * + * For App Center: + * + * - The event name cannot be longer than 256 and is truncated otherwise. + * + * - The property names cannot be empty. + * + * - The property names and values are limited to 125 characters each (truncated). + * + * - The number of properties per event is limited to 20 (truncated). + * + * + * For One Collector: + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ ++ (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSACFlags)flags; + +/** + * Track a custom event with name and optional typed properties. + * + * @param eventName Event name. + * @param properties Typed properties. + * + * @discussion The following validation rules are applied: + * + * The name cannot be null or empty. + * + * The property names or values cannot be null. + * + * Double values must be finite (NaN or Infinite values are discarded). + * + * Additional validation rules apply depending on the configured secret. + * + * + * For App Center: + * + * - The event name cannot be longer than 256 and is truncated otherwise. + * + * - The property names cannot be empty. + * + * - The property names and values are limited to 125 characters each (truncated). + * + * - The number of properties per event is limited to 20 (truncated). + * + * + * For One Collector: + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ ++ (void)trackEvent:(NSString *)eventName + withTypedProperties:(nullable MSACEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); + +/** + * Track a custom event with name and optional typed properties. + * + * @param eventName Event name. + * @param properties Typed properties. + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in + * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the + * MSACFlagsCritical flag. + * + * @discussion The following validation rules are applied: + * + * The name cannot be null or empty. + * + * The property names or values cannot be null. + * + * Double values must be finite (NaN or Infinite values are discarded). + * + * Additional validation rules apply depending on the configured secret. + * + * + * For App Center: + * + * - The event name cannot be longer than 256 and is truncated otherwise. + * + * - The property names cannot be empty. + * + * - The property names and values are limited to 125 characters each (truncated). + * + * - The number of properties per event is limited to 20 (truncated). + * + * + * For One Collector: + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ ++ (void)trackEvent:(NSString *)eventName + withTypedProperties:(nullable MSACEventProperties *)properties + flags:(MSACFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); + +/** + * Pause transmission of Analytics logs. While paused, Analytics logs are saved to disk. + * + * @see resume + */ ++ (void)pause; + +/** + * Resume transmission of Analytics logs. Any Analytics logs that accumulated on disk while paused are sent to the + * server. + * + * @see pause + */ ++ (void)resume; + +/** + * Get a transmission target. + * + * @param token The token of the transmission target to retrieve. + * + * @returns The transmission target object. + * + * @discussion This method does not need to be annotated with + * NS_SWIFT_NAME(transmissionTarget(forToken:)) as this is a static method that + * doesn't get translated like a setter in Swift. + * + * @see MSACAnalyticsTransmissionTarget for comparison. + */ ++ (MSACAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token NS_SWIFT_NAME(transmissionTarget(forToken:)); + +/** + * Send time interval for non-critical logs. + * Must be between 3 seconds and 86400 seconds (1 day). + * Must be called before Analytics service start. + */ +@property(class, atomic) NSUInteger transmissionInterval; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProvider.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProvider.h new file mode 100644 index 00000000..b8d6ed9e --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProvider.h @@ -0,0 +1,70 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#else +#import "MSACAnalyticsAuthenticationProviderDelegate.h" +#endif + +/** + * Different authentication types, e.g. MSA Compact, MSA Delegate, AAD,... . + */ +typedef NS_ENUM(NSUInteger, MSACAnalyticsAuthenticationType) { + + /** + * AuthenticationType MSA Compact. + */ + MSACAnalyticsAuthenticationTypeMsaCompact, + + /** + * AuthenticationType MSA Delegate. + */ + MSACAnalyticsAuthenticationTypeMsaDelegate +} NS_SWIFT_NAME(AnalyticsAuthenticationType); + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AnalyticsAuthenticationProvider) +@interface MSACAnalyticsAuthenticationProvider : NSObject + +/** + * The type. + */ +@property(nonatomic, readonly, assign) MSACAnalyticsAuthenticationType type; + +/** + * The ticket key for this authentication provider. + */ +@property(nonatomic, readonly, copy) NSString *ticketKey; + +/** + * The ticket key as hash. + */ +@property(nonatomic, readonly, copy) NSString *ticketKeyHash; + +@property(nonatomic, readonly, weak) id delegate; + +/** + * Create a new authentication provider. + * + * @param type The type for the provider, e.g. MSA. + * @param ticketKey The ticket key for the provider. + * @param delegate The delegate. + * + * @return A new authentication provider. + */ +- (instancetype)initWithAuthenticationType:(MSACAnalyticsAuthenticationType)type + ticketKey:(NSString *)ticketKey + delegate:(id)delegate; + +/** + * Check expiration. + */ +- (void)checkTokenExpiry; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProviderDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProviderDelegate.h new file mode 100644 index 00000000..9f7be7c6 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProviderDelegate.h @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +@class MSACAnalyticsAuthenticationProvider; + +/** + * Completion handler that returns the authentication token and the expiry date. + */ +typedef void (^MSACAnalyticsAuthenticationProviderCompletionBlock)(NSString *token, NSDate *expiryDate) + NS_SWIFT_NAME(AnalyticsAuthenticationProviderCompletionBlock); + +NS_SWIFT_NAME(AnalyticsAuthenticationProviderDelegate) +@protocol MSACAnalyticsAuthenticationProviderDelegate + +/** + * Required method that needs to be called from within your authentication flow to provide the authentication token and expiry date. + * + * @param authenticationProvider The authentication provider. + * @param completionHandler The completion handler. + */ +- (void)authenticationProvider:(MSACAnalyticsAuthenticationProvider *)authenticationProvider + acquireTokenWithCompletionHandler:(MSACAnalyticsAuthenticationProviderCompletionBlock)completionHandler; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACAnalyticsTransmissionTarget.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACAnalyticsTransmissionTarget.h new file mode 100644 index 00000000..4b735bae --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACAnalyticsTransmissionTarget.h @@ -0,0 +1,151 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef ANALYTICS_TRANSMISSION_TARGET +#define ANALYTICS_TRANSMISSION_TARGET + +#if __has_include() +#import +#else +#import "MSACConstants+Flags.h" +#endif + +#if __has_include() +#import +#import +#else +#import "MSACAnalyticsAuthenticationProvider.h" +#import "MSACPropertyConfigurator.h" +#endif + +@class MSACEventProperties; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AnalyticsTransmissionTarget) +@interface MSACAnalyticsTransmissionTarget : NSObject + +/** + * Property configurator. + */ +@property(nonatomic, readonly, strong) MSACPropertyConfigurator *propertyConfigurator; + ++ (void)addAuthenticationProvider:(MSACAnalyticsAuthenticationProvider *)authenticationProvider + NS_SWIFT_NAME(addAuthenticationProvider(authenticationProvider:)); + +/** + * Track an event. + * + * @param eventName event name. + */ +- (void)trackEvent:(NSString *)eventName; + +/** + * Track an event. + * + * @param eventName event name. + * @param properties dictionary of properties. + */ +- (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties; + +/** + * Track an event. + * + * @param eventName event name. + * @param properties dictionary of properties. + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in + * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the + * MSACFlagsCritical flag. + */ +- (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSACFlags)flags; + +/** + * Track a custom event with name and optional typed properties. + * + * @param eventName Event name. + * @param properties Typed properties. + * + * @discussion The following validation rules are applied: + * + * The name cannot be null or empty. + * + * The property names or values cannot be null. + * + * Double values must be finite (NaN or Infinite values are discarded). + * + * Additional validation rules apply depending on the configured secret. + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ +- (void)trackEvent:(NSString *)eventName + withTypedProperties:(nullable MSACEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); + +/** + * Track a custom event with name and optional typed properties. + * + * @param eventName Event name. + * @param properties Typed properties. + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in + * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the + * MSACFlagsCritical flag. + * + * @discussion The following validation rules are applied: + * + * The name cannot be null or empty. + * + * The property names or values cannot be null. + * + * Double values must be finite (NaN or Infinite values are discarded). + * + * Additional validation rules apply depending on the configured secret. + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ +- (void)trackEvent:(NSString *)eventName + withTypedProperties:(nullable MSACEventProperties *)properties + flags:(MSACFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); + +/** + * Get a nested transmission target. + * + * @param token The token of the transmission target to retrieve. + * + * @returns A transmission target object nested to this parent transmission target. + */ +- (MSACAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token NS_SWIFT_NAME(transmissionTarget(forToken:)); + +/** + * The flag indicates whether or not this transmission target is enabled. Changing its state will also change states of nested transmission + * targets. + */ +@property(nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); + +/** + * Pause sending logs for the transmission target. It doesn't pause any of its decendants. + * + * @see resume + */ +- (void)pause; + +/** + * Resume sending logs for the transmission target. + * + * @see pause + */ +- (void)resume; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACEventLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACEventLog.h new file mode 100644 index 00000000..21c47ee8 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACEventLog.h @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_EVENT_LOG_H +#define MSAC_EVENT_LOG_H + +#if __has_include() +#import +#else +#import "MSACLogWithNameAndProperties.h" +#endif + +@class MSACEventProperties; +@class MSACMetadataExtension; + +NS_SWIFT_NAME(EventLog) +@interface MSACEventLog : MSACLogWithNameAndProperties + +/** + * Unique identifier for this event. + */ +@property(nonatomic, copy) NSString *eventId; + +/** + * Event properties. + */ +@property(nonatomic, strong) MSACEventProperties *typedProperties; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACEventProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACEventProperties.h new file mode 100644 index 00000000..f20b9781 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACEventProperties.h @@ -0,0 +1,61 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef EVENT_PROPERTIES +#define EVENT_PROPERTIES + +NS_ASSUME_NONNULL_BEGIN + +/** + * Contains typed event properties. + */ +NS_SWIFT_NAME(EventProperties) +@interface MSACEventProperties : NSObject + +/** + * Set a string property. + * + * @param value Property value. + * @param key Property key. + */ +- (instancetype)setString:(NSString *)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a double property. + * + * @param value Property value. Must be finite (`NAN` and `INFINITY` not allowed). + * @param key Property key. + */ +- (instancetype)setDouble:(double)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a 64-bit integer property. + * + * @param value Property value. + * @param key Property key. + */ +- (instancetype)setInt64:(int64_t)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a boolean property. + * + * @param value Property value. + * @param key Property key. + */ +- (instancetype)setBool:(BOOL)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a date property. + * + * @param value Property value. + * @param key Property key. + */ +- (instancetype)setDate:(NSDate *)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACLogWithNameAndProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACLogWithNameAndProperties.h new file mode 100644 index 00000000..81dbf77e --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACLogWithNameAndProperties.h @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef MSAC_LOG_WITH_NAME_PROPERTIES_H +#define MSAC_LOG_WITH_NAME_PROPERTIES_H + +#if __has_include() +#import +#else +#import "MSACLogWithProperties.h" +#endif + +NS_SWIFT_NAME(LogWithNameAndProperties) +@interface MSACLogWithNameAndProperties : MSACLogWithProperties + +/** + * Name of the event. + */ +@property(nonatomic, copy) NSString *name; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACPropertyConfigurator.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACPropertyConfigurator.h new file mode 100644 index 00000000..18da6726 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Headers/MSACPropertyConfigurator.h @@ -0,0 +1,116 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(PropertyConfigurator) +@interface MSACPropertyConfigurator : NSObject + +/** + * Override the application version. + * + */ +@property(nonatomic, copy) NSString *_Nullable appVersion; + +/** + * Override the application name. + * + */ +@property(nonatomic, copy) NSString *_Nullable appName; + +/** + * Override the application locale. + * + */ +@property(nonatomic, copy) NSString *_Nullable appLocale; + +/** + * User identifier. + * The identifier needs to start with c: or i: or d: or w: prefixes. + * + */ +@property(nonatomic, copy) NSString *_Nullable userId; + +/** + * Set a string event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyString:(NSString *)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a double event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. Must be finite (`NAN` and `INFINITY` not allowed). + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyDouble:(double)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a 64-bit integer event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyInt64:(int64_t)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a boolean event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyBool:(BOOL)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a date event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyDate:(NSDate *)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Remove an event property from this transmission target. + * + * @param propertyKey Property key. + * + * @discussion This won't remove properties with the same name declared in other nested transmission targets. + */ +- (void)removeEventPropertyForKey:(NSString *)propertyKey NS_SWIFT_NAME(removeEventProperty(forKey:)); + +/** + * Once called, the App Center SDK will automatically add UIDevice.identifierForVendor to common schema logs. + * + * @discussion Call this before starting the SDK. This setting is not persisted, so you need to call this when setting up the SDK every + * time. If you want to provide a way for users to opt-in or opt-out of this setting, it is on you to persist their choice and configure the + * App Center SDK accordingly. + */ +- (void)collectDeviceId; + +NS_ASSUME_NONNULL_END + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Info.plist new file mode 100644 index 00000000..ba726f47 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Info.plist differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Modules/module.modulemap new file mode 100644 index 00000000..ea370ea5 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64/AppCenterAnalytics.framework/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module AppCenterAnalytics { + umbrella header "AppCenterAnalytics.h" + + export * + module * { export * } + + link framework "Foundation" + link framework "UIKit" +} diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/AppCenterAnalytics b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/AppCenterAnalytics new file mode 100644 index 00000000..f0276a5a Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/AppCenterAnalytics differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h new file mode 100644 index 00000000..5ab691ff --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h @@ -0,0 +1,20 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#else +#import "MSACAnalytics.h" +#import "MSACAnalyticsAuthenticationProvider.h" +#import "MSACAnalyticsAuthenticationProviderDelegate.h" +#import "MSACAnalyticsTransmissionTarget.h" +#import "MSACEventLog.h" +#import "MSACEventProperties.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalytics.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalytics.h new file mode 100644 index 00000000..ccc516e9 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalytics.h @@ -0,0 +1,226 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_ANALYTICS_H +#define MSAC_ANALYTICS_H + +#if __has_include() +#import +#else +#import "MSACServiceAbstract.h" +#endif + +#if __has_include() +#import +#else +#import "MSACAnalyticsTransmissionTarget.h" +#endif + +@class MSACEventProperties; + +NS_ASSUME_NONNULL_BEGIN + +/** + * App Center analytics service. + */ +NS_SWIFT_NAME(Analytics) +@interface MSACAnalytics : MSACServiceAbstract + +/** + * Track an event. + * + * @param eventName Event name. Cannot be `nil` or empty. + * + * @discussion Validation rules apply depending on the configured secret. + * + * For App Center, the name cannot be longer than 256 and is truncated otherwise. + * + * For One Collector, the name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + */ ++ (void)trackEvent:(NSString *)eventName; + +/** + * Track a custom event with optional string properties. + * + * @param eventName Event name. Cannot be `nil` or empty. + * @param properties Dictionary of properties. Keys and values must not be `nil`. + * + * @discussion Additional validation rules apply depending on the configured secret. + * + * For App Center: + * + * - The event name cannot be longer than 256 and is truncated otherwise. + * + * - The property names cannot be empty. + * + * - The property names and values are limited to 125 characters each (truncated). + * + * - The number of properties per event is limited to 20 (truncated). + * + * + * For One Collector: + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ ++ (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties; + +/** + * Track a custom event with optional string properties. + * + * @param eventName Event name. Cannot be `nil` or empty. + * @param properties Dictionary of properties. Keys and values must not be `nil`. + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in + * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the + * MSACFlagsCritical flag. + * + * @discussion Additional validation rules apply depending on the configured secret. + * + * For App Center: + * + * - The event name cannot be longer than 256 and is truncated otherwise. + * + * - The property names cannot be empty. + * + * - The property names and values are limited to 125 characters each (truncated). + * + * - The number of properties per event is limited to 20 (truncated). + * + * + * For One Collector: + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ ++ (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSACFlags)flags; + +/** + * Track a custom event with name and optional typed properties. + * + * @param eventName Event name. + * @param properties Typed properties. + * + * @discussion The following validation rules are applied: + * + * The name cannot be null or empty. + * + * The property names or values cannot be null. + * + * Double values must be finite (NaN or Infinite values are discarded). + * + * Additional validation rules apply depending on the configured secret. + * + * + * For App Center: + * + * - The event name cannot be longer than 256 and is truncated otherwise. + * + * - The property names cannot be empty. + * + * - The property names and values are limited to 125 characters each (truncated). + * + * - The number of properties per event is limited to 20 (truncated). + * + * + * For One Collector: + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ ++ (void)trackEvent:(NSString *)eventName + withTypedProperties:(nullable MSACEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); + +/** + * Track a custom event with name and optional typed properties. + * + * @param eventName Event name. + * @param properties Typed properties. + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in + * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the + * MSACFlagsCritical flag. + * + * @discussion The following validation rules are applied: + * + * The name cannot be null or empty. + * + * The property names or values cannot be null. + * + * Double values must be finite (NaN or Infinite values are discarded). + * + * Additional validation rules apply depending on the configured secret. + * + * + * For App Center: + * + * - The event name cannot be longer than 256 and is truncated otherwise. + * + * - The property names cannot be empty. + * + * - The property names and values are limited to 125 characters each (truncated). + * + * - The number of properties per event is limited to 20 (truncated). + * + * + * For One Collector: + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ ++ (void)trackEvent:(NSString *)eventName + withTypedProperties:(nullable MSACEventProperties *)properties + flags:(MSACFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); + +/** + * Pause transmission of Analytics logs. While paused, Analytics logs are saved to disk. + * + * @see resume + */ ++ (void)pause; + +/** + * Resume transmission of Analytics logs. Any Analytics logs that accumulated on disk while paused are sent to the + * server. + * + * @see pause + */ ++ (void)resume; + +/** + * Get a transmission target. + * + * @param token The token of the transmission target to retrieve. + * + * @returns The transmission target object. + * + * @discussion This method does not need to be annotated with + * NS_SWIFT_NAME(transmissionTarget(forToken:)) as this is a static method that + * doesn't get translated like a setter in Swift. + * + * @see MSACAnalyticsTransmissionTarget for comparison. + */ ++ (MSACAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token NS_SWIFT_NAME(transmissionTarget(forToken:)); + +/** + * Send time interval for non-critical logs. + * Must be between 3 seconds and 86400 seconds (1 day). + * Must be called before Analytics service start. + */ +@property(class, atomic) NSUInteger transmissionInterval; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProvider.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProvider.h new file mode 100644 index 00000000..b8d6ed9e --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProvider.h @@ -0,0 +1,70 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#else +#import "MSACAnalyticsAuthenticationProviderDelegate.h" +#endif + +/** + * Different authentication types, e.g. MSA Compact, MSA Delegate, AAD,... . + */ +typedef NS_ENUM(NSUInteger, MSACAnalyticsAuthenticationType) { + + /** + * AuthenticationType MSA Compact. + */ + MSACAnalyticsAuthenticationTypeMsaCompact, + + /** + * AuthenticationType MSA Delegate. + */ + MSACAnalyticsAuthenticationTypeMsaDelegate +} NS_SWIFT_NAME(AnalyticsAuthenticationType); + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AnalyticsAuthenticationProvider) +@interface MSACAnalyticsAuthenticationProvider : NSObject + +/** + * The type. + */ +@property(nonatomic, readonly, assign) MSACAnalyticsAuthenticationType type; + +/** + * The ticket key for this authentication provider. + */ +@property(nonatomic, readonly, copy) NSString *ticketKey; + +/** + * The ticket key as hash. + */ +@property(nonatomic, readonly, copy) NSString *ticketKeyHash; + +@property(nonatomic, readonly, weak) id delegate; + +/** + * Create a new authentication provider. + * + * @param type The type for the provider, e.g. MSA. + * @param ticketKey The ticket key for the provider. + * @param delegate The delegate. + * + * @return A new authentication provider. + */ +- (instancetype)initWithAuthenticationType:(MSACAnalyticsAuthenticationType)type + ticketKey:(NSString *)ticketKey + delegate:(id)delegate; + +/** + * Check expiration. + */ +- (void)checkTokenExpiry; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProviderDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProviderDelegate.h new file mode 100644 index 00000000..9f7be7c6 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProviderDelegate.h @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +@class MSACAnalyticsAuthenticationProvider; + +/** + * Completion handler that returns the authentication token and the expiry date. + */ +typedef void (^MSACAnalyticsAuthenticationProviderCompletionBlock)(NSString *token, NSDate *expiryDate) + NS_SWIFT_NAME(AnalyticsAuthenticationProviderCompletionBlock); + +NS_SWIFT_NAME(AnalyticsAuthenticationProviderDelegate) +@protocol MSACAnalyticsAuthenticationProviderDelegate + +/** + * Required method that needs to be called from within your authentication flow to provide the authentication token and expiry date. + * + * @param authenticationProvider The authentication provider. + * @param completionHandler The completion handler. + */ +- (void)authenticationProvider:(MSACAnalyticsAuthenticationProvider *)authenticationProvider + acquireTokenWithCompletionHandler:(MSACAnalyticsAuthenticationProviderCompletionBlock)completionHandler; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsTransmissionTarget.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsTransmissionTarget.h new file mode 100644 index 00000000..4b735bae --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACAnalyticsTransmissionTarget.h @@ -0,0 +1,151 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef ANALYTICS_TRANSMISSION_TARGET +#define ANALYTICS_TRANSMISSION_TARGET + +#if __has_include() +#import +#else +#import "MSACConstants+Flags.h" +#endif + +#if __has_include() +#import +#import +#else +#import "MSACAnalyticsAuthenticationProvider.h" +#import "MSACPropertyConfigurator.h" +#endif + +@class MSACEventProperties; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(AnalyticsTransmissionTarget) +@interface MSACAnalyticsTransmissionTarget : NSObject + +/** + * Property configurator. + */ +@property(nonatomic, readonly, strong) MSACPropertyConfigurator *propertyConfigurator; + ++ (void)addAuthenticationProvider:(MSACAnalyticsAuthenticationProvider *)authenticationProvider + NS_SWIFT_NAME(addAuthenticationProvider(authenticationProvider:)); + +/** + * Track an event. + * + * @param eventName event name. + */ +- (void)trackEvent:(NSString *)eventName; + +/** + * Track an event. + * + * @param eventName event name. + * @param properties dictionary of properties. + */ +- (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties; + +/** + * Track an event. + * + * @param eventName event name. + * @param properties dictionary of properties. + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in + * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the + * MSACFlagsCritical flag. + */ +- (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSACFlags)flags; + +/** + * Track a custom event with name and optional typed properties. + * + * @param eventName Event name. + * @param properties Typed properties. + * + * @discussion The following validation rules are applied: + * + * The name cannot be null or empty. + * + * The property names or values cannot be null. + * + * Double values must be finite (NaN or Infinite values are discarded). + * + * Additional validation rules apply depending on the configured secret. + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ +- (void)trackEvent:(NSString *)eventName + withTypedProperties:(nullable MSACEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); + +/** + * Track a custom event with name and optional typed properties. + * + * @param eventName Event name. + * @param properties Typed properties. + * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in + * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the + * MSACFlagsCritical flag. + * + * @discussion The following validation rules are applied: + * + * The name cannot be null or empty. + * + * The property names or values cannot be null. + * + * Double values must be finite (NaN or Infinite values are discarded). + * + * Additional validation rules apply depending on the configured secret. + * + * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. + * + * - The `baseData` and `baseDataType` properties are reserved and thus discarded. + * + * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. + */ +- (void)trackEvent:(NSString *)eventName + withTypedProperties:(nullable MSACEventProperties *)properties + flags:(MSACFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); + +/** + * Get a nested transmission target. + * + * @param token The token of the transmission target to retrieve. + * + * @returns A transmission target object nested to this parent transmission target. + */ +- (MSACAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token NS_SWIFT_NAME(transmissionTarget(forToken:)); + +/** + * The flag indicates whether or not this transmission target is enabled. Changing its state will also change states of nested transmission + * targets. + */ +@property(nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); + +/** + * Pause sending logs for the transmission target. It doesn't pause any of its decendants. + * + * @see resume + */ +- (void)pause; + +/** + * Resume sending logs for the transmission target. + * + * @see pause + */ +- (void)resume; + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACEventLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACEventLog.h new file mode 100644 index 00000000..21c47ee8 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACEventLog.h @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#ifndef MSAC_EVENT_LOG_H +#define MSAC_EVENT_LOG_H + +#if __has_include() +#import +#else +#import "MSACLogWithNameAndProperties.h" +#endif + +@class MSACEventProperties; +@class MSACMetadataExtension; + +NS_SWIFT_NAME(EventLog) +@interface MSACEventLog : MSACLogWithNameAndProperties + +/** + * Unique identifier for this event. + */ +@property(nonatomic, copy) NSString *eventId; + +/** + * Event properties. + */ +@property(nonatomic, strong) MSACEventProperties *typedProperties; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACEventProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACEventProperties.h new file mode 100644 index 00000000..f20b9781 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACEventProperties.h @@ -0,0 +1,61 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef EVENT_PROPERTIES +#define EVENT_PROPERTIES + +NS_ASSUME_NONNULL_BEGIN + +/** + * Contains typed event properties. + */ +NS_SWIFT_NAME(EventProperties) +@interface MSACEventProperties : NSObject + +/** + * Set a string property. + * + * @param value Property value. + * @param key Property key. + */ +- (instancetype)setString:(NSString *)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a double property. + * + * @param value Property value. Must be finite (`NAN` and `INFINITY` not allowed). + * @param key Property key. + */ +- (instancetype)setDouble:(double)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a 64-bit integer property. + * + * @param value Property value. + * @param key Property key. + */ +- (instancetype)setInt64:(int64_t)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a boolean property. + * + * @param value Property value. + * @param key Property key. + */ +- (instancetype)setBool:(BOOL)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a date property. + * + * @param value Property value. + * @param key Property key. + */ +- (instancetype)setDate:(NSDate *)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +@end + +NS_ASSUME_NONNULL_END + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACLogWithNameAndProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACLogWithNameAndProperties.h new file mode 100644 index 00000000..81dbf77e --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACLogWithNameAndProperties.h @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#ifndef MSAC_LOG_WITH_NAME_PROPERTIES_H +#define MSAC_LOG_WITH_NAME_PROPERTIES_H + +#if __has_include() +#import +#else +#import "MSACLogWithProperties.h" +#endif + +NS_SWIFT_NAME(LogWithNameAndProperties) +@interface MSACLogWithNameAndProperties : MSACLogWithProperties + +/** + * Name of the event. + */ +@property(nonatomic, copy) NSString *name; + +@end + +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACPropertyConfigurator.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACPropertyConfigurator.h new file mode 100644 index 00000000..18da6726 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Headers/MSACPropertyConfigurator.h @@ -0,0 +1,116 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(PropertyConfigurator) +@interface MSACPropertyConfigurator : NSObject + +/** + * Override the application version. + * + */ +@property(nonatomic, copy) NSString *_Nullable appVersion; + +/** + * Override the application name. + * + */ +@property(nonatomic, copy) NSString *_Nullable appName; + +/** + * Override the application locale. + * + */ +@property(nonatomic, copy) NSString *_Nullable appLocale; + +/** + * User identifier. + * The identifier needs to start with c: or i: or d: or w: prefixes. + * + */ +@property(nonatomic, copy) NSString *_Nullable userId; + +/** + * Set a string event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyString:(NSString *)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a double event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. Must be finite (`NAN` and `INFINITY` not allowed). + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyDouble:(double)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a 64-bit integer event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyInt64:(int64_t)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a boolean event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyBool:(BOOL)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Set a date event property to be attached to events tracked by this transmission target and its child transmission targets. + * + * @param propertyValue Property value. + * @param propertyKey Property key. + * + * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the + * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from + * the transmission target itself or its parents. + */ +- (void)setEventPropertyDate:(NSDate *)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); + +/** + * Remove an event property from this transmission target. + * + * @param propertyKey Property key. + * + * @discussion This won't remove properties with the same name declared in other nested transmission targets. + */ +- (void)removeEventPropertyForKey:(NSString *)propertyKey NS_SWIFT_NAME(removeEventProperty(forKey:)); + +/** + * Once called, the App Center SDK will automatically add UIDevice.identifierForVendor to common schema logs. + * + * @discussion Call this before starting the SDK. This setting is not persisted, so you need to call this when setting up the SDK every + * time. If you want to provide a way for users to opt-in or opt-out of this setting, it is on you to persist their choice and configure the + * App Center SDK accordingly. + */ +- (void)collectDeviceId; + +NS_ASSUME_NONNULL_END + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Info.plist new file mode 100644 index 00000000..8d4d06af Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Info.plist differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Modules/module.modulemap new file mode 100644 index 00000000..ea370ea5 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module AppCenterAnalytics { + umbrella header "AppCenterAnalytics.h" + + export * + module * { export * } + + link framework "Foundation" + link framework "UIKit" +} diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeDirectory b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeDirectory new file mode 100644 index 00000000..f58588d6 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeDirectory differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeRequirements b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeRequirements new file mode 100644 index 00000000..dbf9d614 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeRequirements differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeRequirements-1 b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeRequirements-1 new file mode 100644 index 00000000..245622f2 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeRequirements-1 differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeResources b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeResources new file mode 100644 index 00000000..9a0dc293 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeResources @@ -0,0 +1,252 @@ + + + + + files + + Headers/AppCenterAnalytics.h + + Fs0dGlBGkuUc6Z7ZP7gfuSWOzCw= + + Headers/MSACAnalytics.h + + eCMFL/VXD+rG/k/pKssa1WHyXIU= + + Headers/MSACAnalyticsAuthenticationProvider.h + + ovXSzTsXH+JOx+GCBxqVc/esug8= + + Headers/MSACAnalyticsAuthenticationProviderDelegate.h + + NSi6Ny9C3NeGJ+RsBPbZk9SIuGY= + + Headers/MSACAnalyticsTransmissionTarget.h + + qPZxWKGB/GiufN0hpB5xma4wEKI= + + Headers/MSACEventLog.h + + oYQXdiN+3K5CCvIMbbOo00U8TZc= + + Headers/MSACEventProperties.h + + vZGg4s6Q/1QSzsGWD84S+mFnfBE= + + Headers/MSACLogWithNameAndProperties.h + + 6S/dPB/fT2ggNWRoYwZ7wmcOBSE= + + Headers/MSACPropertyConfigurator.h + + lGP+L5ChWN1AcKaFjfGSH2nFJUk= + + Info.plist + + SzD+buU2wWTdoWJI/bPlz/YqfCM= + + Modules/module.modulemap + + 0El015qOEJTmLPFDCepYjK0g4k8= + + + files2 + + Headers/AppCenterAnalytics.h + + hash + + Fs0dGlBGkuUc6Z7ZP7gfuSWOzCw= + + hash2 + + ftbFFrrERdYkA9lfSEvaW2HIu31AMc+674Bn4t/sgpA= + + + Headers/MSACAnalytics.h + + hash + + eCMFL/VXD+rG/k/pKssa1WHyXIU= + + hash2 + + y5cJfuEQdXJdW1JBMov56b0g6JqAaYxWjoITEjDhrLM= + + + Headers/MSACAnalyticsAuthenticationProvider.h + + hash + + ovXSzTsXH+JOx+GCBxqVc/esug8= + + hash2 + + VX9x8iyr6H8IUJ5Il7fDoiBxPefviCMbiKnftN9etaI= + + + Headers/MSACAnalyticsAuthenticationProviderDelegate.h + + hash + + NSi6Ny9C3NeGJ+RsBPbZk9SIuGY= + + hash2 + + 5GoAw0otoErj3IS/wneF0BalH1RnXmAakM2X1KLchWk= + + + Headers/MSACAnalyticsTransmissionTarget.h + + hash + + qPZxWKGB/GiufN0hpB5xma4wEKI= + + hash2 + + GAoo5JHjROE4618AsMecbEH9mzOj1TejY5iCBeU/Yds= + + + Headers/MSACEventLog.h + + hash + + oYQXdiN+3K5CCvIMbbOo00U8TZc= + + hash2 + + eTIJL3LVp+gDX2sWuYnj8nqlfyp9+bFNZNKeMN9M6Q0= + + + Headers/MSACEventProperties.h + + hash + + vZGg4s6Q/1QSzsGWD84S+mFnfBE= + + hash2 + + Y4BEaISVry4wv+Z7jjbM6KP8fiyiHk+aB9YMzAvfUV0= + + + Headers/MSACLogWithNameAndProperties.h + + hash + + 6S/dPB/fT2ggNWRoYwZ7wmcOBSE= + + hash2 + + DiLnJ6tiJacyKthLgB4INSWg7l0ZArp2pNmSbFfsfsk= + + + Headers/MSACPropertyConfigurator.h + + hash + + lGP+L5ChWN1AcKaFjfGSH2nFJUk= + + hash2 + + ZkNl6d5lmIMMijjVhtMAYeTglhpKH68UK9mRuvnYNGg= + + + Modules/module.modulemap + + hash + + 0El015qOEJTmLPFDCepYjK0g4k8= + + hash2 + + GCgZkS19ITwtztUxDCQ265uvlfL0cwEgwEIakSFJyDM= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeSignature b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/tvos-arm64_x86_64-simulator/AppCenterAnalytics.framework/_CodeSignature/CodeSignature new file mode 100644 index 00000000..e69de29b diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/Info.plist new file mode 100644 index 00000000..318448a0 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/Info.plist @@ -0,0 +1,99 @@ + + + + + AvailableLibraries + + + LibraryIdentifier + macos-arm64_x86_64 + LibraryPath + AppCenterCrashes.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + macos + + + LibraryIdentifier + tvos-arm64 + LibraryPath + AppCenterCrashes.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + tvos + + + LibraryIdentifier + ios-arm64_arm64e_armv7_armv7s + LibraryPath + AppCenterCrashes.framework + SupportedArchitectures + + arm64 + arm64e + armv7 + armv7s + + SupportedPlatform + ios + + + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + AppCenterCrashes.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + LibraryIdentifier + tvos-arm64_x86_64-simulator + LibraryPath + AppCenterCrashes.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + tvos + SupportedPlatformVariant + simulator + + + LibraryIdentifier + ios-arm64_i386_x86_64-simulator + LibraryPath + AppCenterCrashes.framework + SupportedArchitectures + + arm64 + i386 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/AppCenterCrashes b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/AppCenterCrashes similarity index 60% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/AppCenterCrashes rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/AppCenterCrashes index 22a5e098..0feb4d6d 100644 Binary files a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/AppCenterCrashes and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/AppCenterCrashes differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/AppCenterCrashes.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/AppCenterCrashes.h new file mode 100644 index 00000000..30d27593 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/AppCenterCrashes.h @@ -0,0 +1,20 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#else +#import "MSACCrashHandlerSetupDelegate.h" +#import "MSACCrashes.h" +#import "MSACCrashesDelegate.h" +#import "MSACErrorAttachmentLog+Utility.h" +#import "MSACErrorAttachmentLog.h" +#import "MSACWrapperCrashesHelper.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Headers/MSCrashHandlerSetupDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACCrashHandlerSetupDelegate.h similarity index 91% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Headers/MSCrashHandlerSetupDelegate.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACCrashHandlerSetupDelegate.h index 0a214be0..0a05beb8 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Headers/MSCrashHandlerSetupDelegate.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACCrashHandlerSetupDelegate.h @@ -6,7 +6,8 @@ /** * This is required for Wrapper SDKs that need to provide custom behavior surrounding the setup of crash handlers. */ -@protocol MSCrashHandlerSetupDelegate +NS_SWIFT_NAME(CrashHandlerSetupDelegate) +@protocol MSACCrashHandlerSetupDelegate @optional diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Headers/MSCrashes.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACCrashes.h similarity index 66% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Headers/MSCrashes.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACCrashes.h index aab6ed13..9b247403 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Headers/MSCrashes.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACCrashes.h @@ -1,63 +1,73 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#import "MSErrorReport.h" -#import "MSServiceAbstract.h" +#if __has_include() +#import +#else +#import "MSACServiceAbstract.h" +#endif -@class MSCrashesDelegate; +#if __has_include() +#import +#else +#import "MSACErrorReport.h" +#endif + +@class MSACCrashesDelegate; /** * Custom block that handles the alert that prompts the user whether crash reports need to be processed or not. * * @return Returns YES to discard crash reports, otherwise NO. */ -typedef BOOL (^MSUserConfirmationHandler)(NSArray *_Nonnull errorReports); +typedef BOOL (^MSACUserConfirmationHandler)(NSArray *_Nonnull errorReports) NS_SWIFT_NAME(UserConfirmationHandler); /** * Error Logging status. */ -typedef NS_ENUM(NSUInteger, MSErrorLogSetting) { +typedef NS_ENUM(NSUInteger, MSACErrorLogSetting) { /** * Crash reporting is disabled. */ - MSErrorLogSettingDisabled = 0, + MSACErrorLogSettingDisabled = 0, /** * User is asked each time before sending error logs. */ - MSErrorLogSettingAlwaysAsk = 1, + MSACErrorLogSettingAlwaysAsk = 1, /** * Each error log is send automatically. */ - MSErrorLogSettingAutoSend = 2 -}; + MSACErrorLogSettingAutoSend = 2 +} NS_SWIFT_NAME(ErrorLogSetting); /** * Crash Manager alert user input. */ -typedef NS_ENUM(NSUInteger, MSUserConfirmation) { +typedef NS_ENUM(NSUInteger, MSACUserConfirmation) { /** * User chose not to send the crash report. */ - MSUserConfirmationDontSend = 0, + MSACUserConfirmationDontSend = 0, /** * User wants the crash report to be sent. */ - MSUserConfirmationSend = 1, + MSACUserConfirmationSend = 1, /** * User wants to send all error logs. */ - MSUserConfirmationAlways = 2 -}; + MSACUserConfirmationAlways = 2 +} NS_SWIFT_NAME(UserConfirmation); -@protocol MSCrashesDelegate; +@protocol MSACCrashesDelegate; -@interface MSCrashes : MSServiceAbstract +NS_SWIFT_NAME(Crashes) +@interface MSACCrashes : MSACServiceAbstract ///----------------------------------------------------------------------------- /// @name Testing Crashes Feature @@ -87,21 +97,21 @@ typedef NS_ENUM(NSUInteger, MSUserConfirmation) { * * @return Returns YES is the app has crashed in the last session. */ -+ (BOOL)hasCrashedInLastSession; +@property(class, readonly, nonatomic) BOOL hasCrashedInLastSession; /** * Check if the app received memory warning in the last session. * * @return Returns YES is the app received memory warning in the last session. */ -+ (BOOL)hasReceivedMemoryWarningInLastSession; +@property(class, readonly, nonatomic) BOOL hasReceivedMemoryWarningInLastSession; /** * Provides details about the crash that occurred in the last app session */ -+ (nullable MSErrorReport *)lastSessionCrashReport; +@property(class, nullable, readonly, nonatomic) MSACErrorReport *lastSessionCrashReport; -#if TARGET_OS_OSX +#if TARGET_OS_OSX || TARGET_OS_MACCATALYST /** * Callback for report exception. * @@ -125,13 +135,13 @@ typedef NS_ENUM(NSUInteger, MSUserConfirmation) { * want to disable the Mach exception handler, you should call this method _BEFORE_ starting the SDK. Your typical setup code would look * like this: * - * `[MSCrashes disableMachExceptionHandler]`; - * `[MSAppCenter start:@"YOUR_APP_ID" withServices:@[[MSCrashes class]]];` + * `[MSACCrashes disableMachExceptionHandler]`; + * `[MSACAppCenter start:@"YOUR_APP_ID" withServices:@[[MSACCrashes class]]];` * * or if you are using Swift: * - * `MSCrashes.disableMachExceptionHandler()` - * `MSAppCenter.start("YOUR_APP_ID", withServices: [MSAnalytics.self, MSCrashes.self])` + * `MSACCrashes.disableMachExceptionHandler()` + * `MSACAppCenter.start("YOUR_APP_ID", withServices: [MSACAnalytics.self, MSACCrashes.self])` * * tvOS does not support the Mach exception handler, thus crashes that are caused by stack overflows cannot be detected. As a result, * disabling the Mach exception server is not available in the tvOS SDK. @@ -144,28 +154,26 @@ typedef NS_ENUM(NSUInteger, MSUserConfirmation) { /** * Set the delegate - * Defines the class that implements the optional protocol `MSCrashesDelegate`. + * Defines the class that implements the optional protocol `MSACCrashesDelegate`. * - * @see MSCrashesDelegate + * @see MSACCrashesDelegate */ -+ (void)setDelegate:(_Nullable id)delegate; +@property(class, nonatomic, weak) id _Nullable delegate; /** * Set a user confirmation handler that is invoked right before processing crash reports to determine whether sending crash reports or not. * - * @param userConfirmationHandler A handler for user confirmation. - * - * @see MSUserConfirmationHandler + * @see MSACUserConfirmationHandler */ -+ (void)setUserConfirmationHandler:(_Nullable MSUserConfirmationHandler)userConfirmationHandler; +@property(class, nonatomic) MSACUserConfirmationHandler _Nullable userConfirmationHandler; /** * Notify SDK with a confirmation to handle the crash report. * * @param userConfirmation A user confirmation. * - * @see MSUserConfirmation. + * @see MSACUserConfirmation. */ -+ (void)notifyWithUserConfirmation:(MSUserConfirmation)userConfirmation; ++ (void)notifyWithUserConfirmation:(MSACUserConfirmation)userConfirmation; @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Headers/MSCrashesDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACCrashesDelegate.h similarity index 54% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Headers/MSCrashesDelegate.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACCrashesDelegate.h index ecc249f0..6dad5e5a 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Headers/MSCrashesDelegate.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACCrashesDelegate.h @@ -3,63 +3,68 @@ #import -@class MSCrashes; -@class MSErrorReport; -@class MSErrorAttachmentLog; +@class MSACCrashes; +@class MSACErrorReport; +@class MSACErrorAttachmentLog; -@protocol MSCrashesDelegate +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(CrashesDelegate) +@protocol MSACCrashesDelegate @optional /** * Callback method that will be called before processing errors. * - * @param crashes The instance of MSCrashes. + * @param crashes The instance of MSACCrashes. * @param errorReport The errorReport that will be sent. * * @discussion Crashes will send logs to the server or discard/delete logs based on this method's return value. */ -- (BOOL)crashes:(MSCrashes *)crashes shouldProcessErrorReport:(MSErrorReport *)errorReport; +- (BOOL)crashes:(MSACCrashes *)crashes shouldProcessErrorReport:(MSACErrorReport *)errorReport NS_SWIFT_NAME(crashes(_:shouldProcess:)); /** * Callback method that will be called before each error will be send to the server. * - * @param crashes The instance of MSCrashes. + * @param crashes The instance of MSACCrashes. * @param errorReport The errorReport that will be sent. * * @discussion Use this callback to display custom UI while crashes are sent to the server. */ -- (void)crashes:(MSCrashes *)crashes willSendErrorReport:(MSErrorReport *)errorReport; +- (void)crashes:(MSACCrashes *)crashes willSendErrorReport:(MSACErrorReport *)errorReport; /** - * Callback method that will be called in case the SDK was unable to send an error report to the server. + * Callback method that will be called after the SDK successfully sent an error report to the server. * - * @param crashes The instance of MSCrashes. + * @param crashes The instance of MSACCrashes. * @param errorReport The errorReport that App Center sent. * * @discussion Use this method to hide your custom UI. */ -- (void)crashes:(MSCrashes *)crashes didSucceedSendingErrorReport:(MSErrorReport *)errorReport; +- (void)crashes:(MSACCrashes *)crashes didSucceedSendingErrorReport:(MSACErrorReport *)errorReport; /** * Callback method that will be called in case the SDK was unable to send an error report to the server. * - * @param crashes The instance of MSCrashes. + * @param crashes The instance of MSACCrashes. * @param errorReport The errorReport that App Center tried to send. * @param error The error that occurred. */ -- (void)crashes:(MSCrashes *)crashes didFailSendingErrorReport:(MSErrorReport *)errorReport withError:(NSError *)error; +- (void)crashes:(MSACCrashes *)crashes didFailSendingErrorReport:(MSACErrorReport *)errorReport withError:(nullable NSError *)error; /** * Method to get the attachments associated to an error report. * - * @param crashes The instance of MSCrashes. + * @param crashes The instance of MSACCrashes. * @param errorReport The errorReport associated with the returned attachments. * * @return The attachments associated with the given error report or nil if the error report doesn't have any attachments. * * @discussion Implement this method if you want attachments to the given error report. */ -- (NSArray *)attachmentsWithCrashes:(MSCrashes *)crashes forErrorReport:(MSErrorReport *)errorReport; +- (nullable NSArray *)attachmentsWithCrashes:(MSACCrashes *)crashes forErrorReport:(MSACErrorReport *)errorReport; @end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Headers/MSErrorAttachmentLog+Utility.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog+Utility.h similarity index 52% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Headers/MSErrorAttachmentLog+Utility.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog+Utility.h index 585c353c..3d667f4a 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Headers/MSErrorAttachmentLog+Utility.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog+Utility.h @@ -1,12 +1,16 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -#import "MSErrorAttachmentLog.h" +#if __has_include() +#import +#else +#import "MSACErrorAttachmentLog.h" +#endif // Exporting symbols for category. -extern NSString *MSMSErrorLogAttachmentLogUtilityCategory; +extern NSString *MSACMSACErrorLogAttachmentLogUtilityCategory; -@interface MSErrorAttachmentLog (Utility) +@interface MSACErrorAttachmentLog (Utility) /** * Create an attachment with a given filename and text. @@ -14,9 +18,9 @@ extern NSString *MSMSErrorLogAttachmentLogUtilityCategory; * @param filename The filename the attachment should get. If nil will get an automatically generated filename. * @param text The attachment text. * - * @return An instance of `MSErrorAttachmentLog`. + * @return An instance of `MSACErrorAttachmentLog`. */ -+ (MSErrorAttachmentLog *)attachmentWithText:(NSString *)text filename:(NSString *)filename; ++ (MSACErrorAttachmentLog *)attachmentWithText:(NSString *)text filename:(NSString *)filename; /** * Create an attachment with a given filename and `NSData` object. @@ -25,8 +29,8 @@ extern NSString *MSMSErrorLogAttachmentLogUtilityCategory; * @param data The attachment data as NSData. * @param contentType The content type of your data as MIME type. * - * @return An instance of `MSErrorAttachmentLog`. + * @return An instance of `MSACErrorAttachmentLog`. */ -+ (MSErrorAttachmentLog *)attachmentWithBinary:(NSData *)data filename:(NSString *)filename contentType:(NSString *)contentType; ++ (MSACErrorAttachmentLog *)attachmentWithBinary:(NSData *)data filename:(NSString *)filename contentType:(NSString *)contentType; @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Headers/MSErrorAttachmentLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog.h similarity index 78% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Headers/MSErrorAttachmentLog.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog.h index 3ffc3c71..d3482f50 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Headers/MSErrorAttachmentLog.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog.h @@ -3,12 +3,17 @@ #import -#import "MSAbstractLog.h" +#if __has_include() +#import +#else +#import "MSACAbstractLog.h" +#endif /** * Error attachment log. */ -@interface MSErrorAttachmentLog : MSAbstractLog +NS_SWIFT_NAME(ErrorAttachmentLog) +@interface MSACErrorAttachmentLog : MSACAbstractLog /** * Content type (text/plain for text). @@ -32,7 +37,7 @@ * @param data The attachment data as `NSData`. * @param contentType The content type of your data as MIME type. * - * @return An instance of `MSErrorAttachmentLog`. + * @return An instance of `MSACErrorAttachmentLog`. */ - (instancetype)initWithFilename:(NSString *)filename attachmentBinary:(NSData *)data contentType:(NSString *)contentType; @@ -42,7 +47,7 @@ * @param filename The filename the attachment should get. If nil will get an automatically generated filename. * @param text The attachment text. * - * @return An instance of `MSErrorAttachmentLog`. + * @return An instance of `MSACErrorAttachmentLog`. */ - (instancetype)initWithFilename:(NSString *)filename attachmentText:(NSString *)text; diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Headers/MSErrorReport.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACErrorReport.h similarity index 85% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Headers/MSErrorReport.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACErrorReport.h index cf524a26..fb649374 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Headers/MSErrorReport.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACErrorReport.h @@ -3,9 +3,10 @@ #import -@class MSDevice; +@class MSACDevice; -@interface MSErrorReport : NSObject +NS_SWIFT_NAME(ErrorReport) +@interface MSACErrorReport : NSObject /** * UUID for the crash report. @@ -45,7 +46,7 @@ /** * Device information of the app when it crashed. */ -@property(nonatomic, readonly, strong) MSDevice *device; +@property(nonatomic, readonly, strong) MSACDevice *device; /** * Identifier of the app process that crashed. @@ -59,10 +60,8 @@ * thread for too long, or other reasons. See Apple documentation: * https://developer.apple.com/library/ios/qa/qa1693/_index.html. * - * @return YES if the details represent an app kill instead of a crash. - * - * @see `[MSCrashes didReceiveMemoryWarningInLastSession]` + * @see `[MSACCrashes didReceiveMemoryWarningInLastSession]` */ -- (BOOL)isAppKill; +@property(nonatomic, readonly) BOOL isAppKill; @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Headers/MSWrapperCrashesHelper.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACWrapperCrashesHelper.h similarity index 53% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Headers/MSWrapperCrashesHelper.h rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACWrapperCrashesHelper.h index d380ed44..da38a3de 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Headers/MSWrapperCrashesHelper.h +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Headers/MSACWrapperCrashesHelper.h @@ -3,46 +3,50 @@ #import -#import "MSCrashHandlerSetupDelegate.h" +#if __has_include() +#import +#else +#import "MSACCrashHandlerSetupDelegate.h" +#endif NS_ASSUME_NONNULL_BEGIN -@class MSErrorReport; -@class MSErrorAttachmentLog; -@class MSException; +@class MSACErrorReport; +@class MSACErrorAttachmentLog; +@class MSACException; /** * This general class allows wrappers to supplement the Crashes SDK with their own behavior. */ -@interface MSWrapperCrashesHelper : NSObject +NS_SWIFT_NAME(WrapperCrashesHelper) +@interface MSACWrapperCrashesHelper : NSObject /** - * Sets the crash handler setup delegate. + * The crash handler setup delegate. * - * @param delegate The delegate to set. */ -+ (void)setCrashHandlerSetupDelegate:(id)delegate; +@property(class, nonatomic, weak) _Nullable id crashHandlerSetupDelegate; /** * Gets the crash handler setup delegate. * + * @deprecated + * * @return The delegate being used by Crashes. */ -+ (id)getCrashHandlerSetupDelegate; ++ (id)getCrashHandlerSetupDelegate DEPRECATED_MSG_ATTRIBUTE("Use crashHandlerSetupDelegate instead"); /** - * Enables or disables automatic crash processing. - * - * @param automaticProcessing Passing NO causes SDK not to send reports immediately, even if "Always Send" is true. + * Enables or disables automatic crash processing. Passing NO causes SDK not to send reports immediately, even if "Always Send" is true. */ -+ (void)setAutomaticProcessing:(BOOL)automaticProcessing; +@property(class, nonatomic) BOOL automaticProcessing; /** * Gets a list of unprocessed crash reports. Will block until the service starts. * * @return An array of unprocessed error reports. */ -+ (NSArray *)unprocessedCrashReports; +@property(class, readonly, nonatomic) NSArray *unprocessedCrashReports; /** * Resumes processing for a given subset of the unprocessed reports. @@ -59,7 +63,7 @@ NS_ASSUME_NONNULL_BEGIN * @param errorAttachments An array of error attachments that should be sent. * @param incidentIdentifier The identifier of the error report that the attachments will be associated with. */ -+ (void)sendErrorAttachments:(NSArray *)errorAttachments withIncidentIdentifier:(NSString *)incidentIdentifier; ++ (void)sendErrorAttachments:(NSArray *)errorAttachments withIncidentIdentifier:(NSString *)incidentIdentifier; /** * Track handled exception directly as model form. @@ -71,9 +75,9 @@ NS_ASSUME_NONNULL_BEGIN * * @return handled error ID. */ -+ (NSString *)trackModelException:(MSException *)exception - withProperties:(nullable NSDictionary *)properties - withAttachments:(nullable NSArray *)attachments; ++ (nullable NSString *)trackModelException:(MSACException *)exception + withProperties:(nullable NSDictionary *)properties + withAttachments:(nullable NSArray *)attachments; /** * Get a generic error report representation for an handled exception. @@ -83,7 +87,7 @@ NS_ASSUME_NONNULL_BEGIN * * @return an error report. */ -+ (MSErrorReport *)buildHandledErrorReportWithErrorID:(NSString *)errorID; ++ (MSACErrorReport *)buildHandledErrorReportWithErrorID:(NSString *)errorID; @end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Info.plist similarity index 64% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Info.plist rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Info.plist index 19ebdad7..1d115a19 100644 Binary files a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Info.plist and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Info.plist differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Modules/module.modulemap similarity index 100% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Modules/module.modulemap rename to Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_arm64e_armv7_armv7s/AppCenterCrashes.framework/Modules/module.modulemap diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/AppCenterCrashes b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/AppCenterCrashes new file mode 100644 index 00000000..078131da Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/AppCenterCrashes differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/AppCenterCrashes.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/AppCenterCrashes.h new file mode 100644 index 00000000..30d27593 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/AppCenterCrashes.h @@ -0,0 +1,20 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#else +#import "MSACCrashHandlerSetupDelegate.h" +#import "MSACCrashes.h" +#import "MSACCrashesDelegate.h" +#import "MSACErrorAttachmentLog+Utility.h" +#import "MSACErrorAttachmentLog.h" +#import "MSACWrapperCrashesHelper.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashHandlerSetupDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashHandlerSetupDelegate.h new file mode 100644 index 00000000..0a05beb8 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashHandlerSetupDelegate.h @@ -0,0 +1,34 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +/** + * This is required for Wrapper SDKs that need to provide custom behavior surrounding the setup of crash handlers. + */ +NS_SWIFT_NAME(CrashHandlerSetupDelegate) +@protocol MSACCrashHandlerSetupDelegate + +@optional + +/** + * Callback method that will be called immediately before crash handlers are set up. + */ +- (void)willSetUpCrashHandlers; + +/** + * Callback method that will be called immediately after crash handlers are set up. + */ +- (void)didSetUpCrashHandlers; + +/** + * Callback method that gets a value indicating whether the SDK should enable an uncaught exception handler. + * + * @return YES if SDK should enable uncaught exception handler, otherwise NO. + * + * @discussion Do not register an UncaughtExceptionHandler for Xamarin as we rely on the Xamarin runtime to report NSExceptions. Registering + * our own UncaughtExceptionHandler will cause the Xamarin debugger to not work properly (it will not stop for NSExceptions). + */ +- (BOOL)shouldEnableUncaughtExceptionHandler; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashes.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashes.h new file mode 100644 index 00000000..9b247403 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashes.h @@ -0,0 +1,179 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#if __has_include() +#import +#else +#import "MSACServiceAbstract.h" +#endif + +#if __has_include() +#import +#else +#import "MSACErrorReport.h" +#endif + +@class MSACCrashesDelegate; + +/** + * Custom block that handles the alert that prompts the user whether crash reports need to be processed or not. + * + * @return Returns YES to discard crash reports, otherwise NO. + */ +typedef BOOL (^MSACUserConfirmationHandler)(NSArray *_Nonnull errorReports) NS_SWIFT_NAME(UserConfirmationHandler); + +/** + * Error Logging status. + */ +typedef NS_ENUM(NSUInteger, MSACErrorLogSetting) { + + /** + * Crash reporting is disabled. + */ + MSACErrorLogSettingDisabled = 0, + + /** + * User is asked each time before sending error logs. + */ + MSACErrorLogSettingAlwaysAsk = 1, + + /** + * Each error log is send automatically. + */ + MSACErrorLogSettingAutoSend = 2 +} NS_SWIFT_NAME(ErrorLogSetting); + +/** + * Crash Manager alert user input. + */ +typedef NS_ENUM(NSUInteger, MSACUserConfirmation) { + + /** + * User chose not to send the crash report. + */ + MSACUserConfirmationDontSend = 0, + + /** + * User wants the crash report to be sent. + */ + MSACUserConfirmationSend = 1, + + /** + * User wants to send all error logs. + */ + MSACUserConfirmationAlways = 2 +} NS_SWIFT_NAME(UserConfirmation); + +@protocol MSACCrashesDelegate; + +NS_SWIFT_NAME(Crashes) +@interface MSACCrashes : MSACServiceAbstract + +///----------------------------------------------------------------------------- +/// @name Testing Crashes Feature +///----------------------------------------------------------------------------- + +/** + * Lets the app crash for easy testing of the SDK. + * + * The best way to use this is to trigger the crash with a button action. + * + * Make sure not to let the app crash in `applicationDidFinishLaunching` or any other startup method! Since otherwise the app would crash + * before the SDK could process it. + * + * Note that our SDK provides support for handling crashes that happen early on startup. Check the documentation for more information on how + * to use this. + * + * If the SDK detects an App Store environment, it will _NOT_ cause the app to crash! + */ ++ (void)generateTestCrash; + +///----------------------------------------------------------------------------- +/// @name Helpers +///----------------------------------------------------------------------------- + +/** + * Check if the app has crashed in the last session. + * + * @return Returns YES is the app has crashed in the last session. + */ +@property(class, readonly, nonatomic) BOOL hasCrashedInLastSession; + +/** + * Check if the app received memory warning in the last session. + * + * @return Returns YES is the app received memory warning in the last session. + */ +@property(class, readonly, nonatomic) BOOL hasReceivedMemoryWarningInLastSession; + +/** + * Provides details about the crash that occurred in the last app session + */ +@property(class, nullable, readonly, nonatomic) MSACErrorReport *lastSessionCrashReport; + +#if TARGET_OS_OSX || TARGET_OS_MACCATALYST +/** + * Callback for report exception. + * + * NOTE: This method should be called only if you explicitly disabled swizzling for it. + * + * On OS X runtime, not all uncaught exceptions end in a custom `NSUncaughtExceptionHandler`. + * Forward exception from overrided `[NSApplication reportException:]` to catch additional exceptions. + */ ++ (void)applicationDidReportException:(NSException *_Nonnull)exception; +#endif + +///----------------------------------------------------------------------------- +/// @name Configuration +///----------------------------------------------------------------------------- + +#if !TARGET_OS_TV +/** + * Disable the Mach exception server. + * + * By default, the SDK uses the Mach exception handler to catch fatal signals, e.g. stack overflows, via a Mach exception server. If you + * want to disable the Mach exception handler, you should call this method _BEFORE_ starting the SDK. Your typical setup code would look + * like this: + * + * `[MSACCrashes disableMachExceptionHandler]`; + * `[MSACAppCenter start:@"YOUR_APP_ID" withServices:@[[MSACCrashes class]]];` + * + * or if you are using Swift: + * + * `MSACCrashes.disableMachExceptionHandler()` + * `MSACAppCenter.start("YOUR_APP_ID", withServices: [MSACAnalytics.self, MSACCrashes.self])` + * + * tvOS does not support the Mach exception handler, thus crashes that are caused by stack overflows cannot be detected. As a result, + * disabling the Mach exception server is not available in the tvOS SDK. + * + * @discussion It can be useful to disable the Mach exception handler when you are debugging the Crashes service while developing, + * especially when you attach the debugger to your application after launch. + */ ++ (void)disableMachExceptionHandler; +#endif + +/** + * Set the delegate + * Defines the class that implements the optional protocol `MSACCrashesDelegate`. + * + * @see MSACCrashesDelegate + */ +@property(class, nonatomic, weak) id _Nullable delegate; + +/** + * Set a user confirmation handler that is invoked right before processing crash reports to determine whether sending crash reports or not. + * + * @see MSACUserConfirmationHandler + */ +@property(class, nonatomic) MSACUserConfirmationHandler _Nullable userConfirmationHandler; + +/** + * Notify SDK with a confirmation to handle the crash report. + * + * @param userConfirmation A user confirmation. + * + * @see MSACUserConfirmation. + */ ++ (void)notifyWithUserConfirmation:(MSACUserConfirmation)userConfirmation; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashesDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashesDelegate.h new file mode 100644 index 00000000..6dad5e5a --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashesDelegate.h @@ -0,0 +1,70 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +@class MSACCrashes; +@class MSACErrorReport; +@class MSACErrorAttachmentLog; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(CrashesDelegate) +@protocol MSACCrashesDelegate + +@optional + +/** + * Callback method that will be called before processing errors. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport that will be sent. + * + * @discussion Crashes will send logs to the server or discard/delete logs based on this method's return value. + */ +- (BOOL)crashes:(MSACCrashes *)crashes shouldProcessErrorReport:(MSACErrorReport *)errorReport NS_SWIFT_NAME(crashes(_:shouldProcess:)); + +/** + * Callback method that will be called before each error will be send to the server. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport that will be sent. + * + * @discussion Use this callback to display custom UI while crashes are sent to the server. + */ +- (void)crashes:(MSACCrashes *)crashes willSendErrorReport:(MSACErrorReport *)errorReport; + +/** + * Callback method that will be called after the SDK successfully sent an error report to the server. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport that App Center sent. + * + * @discussion Use this method to hide your custom UI. + */ +- (void)crashes:(MSACCrashes *)crashes didSucceedSendingErrorReport:(MSACErrorReport *)errorReport; + +/** + * Callback method that will be called in case the SDK was unable to send an error report to the server. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport that App Center tried to send. + * @param error The error that occurred. + */ +- (void)crashes:(MSACCrashes *)crashes didFailSendingErrorReport:(MSACErrorReport *)errorReport withError:(nullable NSError *)error; + +/** + * Method to get the attachments associated to an error report. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport associated with the returned attachments. + * + * @return The attachments associated with the given error report or nil if the error report doesn't have any attachments. + * + * @discussion Implement this method if you want attachments to the given error report. + */ +- (nullable NSArray *)attachmentsWithCrashes:(MSACCrashes *)crashes forErrorReport:(MSACErrorReport *)errorReport; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog+Utility.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog+Utility.h new file mode 100644 index 00000000..3d667f4a --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog+Utility.h @@ -0,0 +1,36 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#if __has_include() +#import +#else +#import "MSACErrorAttachmentLog.h" +#endif + +// Exporting symbols for category. +extern NSString *MSACMSACErrorLogAttachmentLogUtilityCategory; + +@interface MSACErrorAttachmentLog (Utility) + +/** + * Create an attachment with a given filename and text. + * + * @param filename The filename the attachment should get. If nil will get an automatically generated filename. + * @param text The attachment text. + * + * @return An instance of `MSACErrorAttachmentLog`. + */ ++ (MSACErrorAttachmentLog *)attachmentWithText:(NSString *)text filename:(NSString *)filename; + +/** + * Create an attachment with a given filename and `NSData` object. + * + * @param filename The filename the attachment should get. If nil will get an automatically generated filename. + * @param data The attachment data as NSData. + * @param contentType The content type of your data as MIME type. + * + * @return An instance of `MSACErrorAttachmentLog`. + */ ++ (MSACErrorAttachmentLog *)attachmentWithBinary:(NSData *)data filename:(NSString *)filename contentType:(NSString *)contentType; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog.h new file mode 100644 index 00000000..d3482f50 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog.h @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#else +#import "MSACAbstractLog.h" +#endif + +/** + * Error attachment log. + */ +NS_SWIFT_NAME(ErrorAttachmentLog) +@interface MSACErrorAttachmentLog : MSACAbstractLog + +/** + * Content type (text/plain for text). + */ +@property(nonatomic, copy) NSString *contentType; + +/** + * File name. + */ +@property(nonatomic, copy) NSString *filename; + +/** + * The attachment data. + */ +@property(nonatomic, copy) NSData *data; + +/** + * Initialize an attachment with a given filename and `NSData` object. + * + * @param filename The filename the attachment should get. If nil will get an automatically generated filename. + * @param data The attachment data as `NSData`. + * @param contentType The content type of your data as MIME type. + * + * @return An instance of `MSACErrorAttachmentLog`. + */ +- (instancetype)initWithFilename:(NSString *)filename attachmentBinary:(NSData *)data contentType:(NSString *)contentType; + +/** + * Initialize an attachment with a given filename and text. + * + * @param filename The filename the attachment should get. If nil will get an automatically generated filename. + * @param text The attachment text. + * + * @return An instance of `MSACErrorAttachmentLog`. + */ +- (instancetype)initWithFilename:(NSString *)filename attachmentText:(NSString *)text; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorReport.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorReport.h new file mode 100644 index 00000000..fb649374 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorReport.h @@ -0,0 +1,67 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +@class MSACDevice; + +NS_SWIFT_NAME(ErrorReport) +@interface MSACErrorReport : NSObject + +/** + * UUID for the crash report. + */ +@property(nonatomic, copy, readonly) NSString *incidentIdentifier; + +/** + * UUID for the app installation on the device. + */ +@property(nonatomic, copy, readonly) NSString *reporterKey; + +/** + * Signal that caused the crash. + */ +@property(nonatomic, copy, readonly) NSString *signal; + +/** + * Exception name that triggered the crash, nil if the crash was not caused by an exception. + */ +@property(nonatomic, copy, readonly) NSString *exceptionName; + +/** + * Exception reason, nil if the crash was not caused by an exception. + */ +@property(nonatomic, copy, readonly) NSString *exceptionReason; + +/** + * Date and time the app started, nil if unknown. + */ +@property(nonatomic, readonly, strong) NSDate *appStartTime; + +/** + * Date and time the error occurred, nil if unknown + */ +@property(nonatomic, readonly, strong) NSDate *appErrorTime; + +/** + * Device information of the app when it crashed. + */ +@property(nonatomic, readonly, strong) MSACDevice *device; + +/** + * Identifier of the app process that crashed. + */ +@property(nonatomic, readonly, assign) NSUInteger appProcessIdentifier; + +/** + * Indicates if the app was killed while being in foreground from the iOS. + * + * This can happen if it consumed too much memory or the watchdog killed the app because it took too long to startup or blocks the main + * thread for too long, or other reasons. See Apple documentation: + * https://developer.apple.com/library/ios/qa/qa1693/_index.html. + * + * @see `[MSACCrashes didReceiveMemoryWarningInLastSession]` + */ +@property(nonatomic, readonly) BOOL isAppKill; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACWrapperCrashesHelper.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACWrapperCrashesHelper.h new file mode 100644 index 00000000..da38a3de --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACWrapperCrashesHelper.h @@ -0,0 +1,94 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#else +#import "MSACCrashHandlerSetupDelegate.h" +#endif + +NS_ASSUME_NONNULL_BEGIN + +@class MSACErrorReport; +@class MSACErrorAttachmentLog; +@class MSACException; + +/** + * This general class allows wrappers to supplement the Crashes SDK with their own behavior. + */ +NS_SWIFT_NAME(WrapperCrashesHelper) +@interface MSACWrapperCrashesHelper : NSObject + +/** + * The crash handler setup delegate. + * + */ +@property(class, nonatomic, weak) _Nullable id crashHandlerSetupDelegate; + +/** + * Gets the crash handler setup delegate. + * + * @deprecated + * + * @return The delegate being used by Crashes. + */ ++ (id)getCrashHandlerSetupDelegate DEPRECATED_MSG_ATTRIBUTE("Use crashHandlerSetupDelegate instead"); + +/** + * Enables or disables automatic crash processing. Passing NO causes SDK not to send reports immediately, even if "Always Send" is true. + */ +@property(class, nonatomic) BOOL automaticProcessing; + +/** + * Gets a list of unprocessed crash reports. Will block until the service starts. + * + * @return An array of unprocessed error reports. + */ +@property(class, readonly, nonatomic) NSArray *unprocessedCrashReports; + +/** + * Resumes processing for a given subset of the unprocessed reports. + * + * @param filteredIds An array containing the errorId/incidentIdentifier of each report that should be sent. + * + * @return YES if should "Always Send" is true. + */ ++ (BOOL)sendCrashReportsOrAwaitUserConfirmationForFilteredIds:(NSArray *)filteredIds; + +/** + * Sends error attachments for a particular error report. + * + * @param errorAttachments An array of error attachments that should be sent. + * @param incidentIdentifier The identifier of the error report that the attachments will be associated with. + */ ++ (void)sendErrorAttachments:(NSArray *)errorAttachments withIncidentIdentifier:(NSString *)incidentIdentifier; + +/** + * Track handled exception directly as model form. + * This API is used by wrapper SDKs. + * + * @param exception model form exception. + * @param properties dictionary of properties. + * @param attachments a list of attachments. + * + * @return handled error ID. + */ ++ (nullable NSString *)trackModelException:(MSACException *)exception + withProperties:(nullable NSDictionary *)properties + withAttachments:(nullable NSArray *)attachments; + +/** + * Get a generic error report representation for an handled exception. + * This API is used by wrapper SDKs. + * + * @param errorID handled error ID. + * + * @return an error report. + */ ++ (MSACErrorReport *)buildHandledErrorReportWithErrorID:(NSString *)errorID; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Info.plist new file mode 100644 index 00000000..d0ca95ca Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Info.plist differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Modules/module.modulemap new file mode 100644 index 00000000..858a5299 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/Modules/module.modulemap @@ -0,0 +1,10 @@ +framework module AppCenterCrashes { + umbrella header "AppCenterCrashes.h" + + export * + module * { export * } + + link framework "Foundation" + link "c++" + link "z" +} diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeDirectory b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeDirectory new file mode 100644 index 00000000..55bbbec3 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeDirectory differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeRequirements b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeRequirements new file mode 100644 index 00000000..dbf9d614 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeRequirements differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeRequirements-1 b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeRequirements-1 new file mode 100644 index 00000000..cfc7fd0a Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeRequirements-1 differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeResources b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeResources new file mode 100644 index 00000000..42ee6cdd --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeResources @@ -0,0 +1,237 @@ + + + + + files + + Headers/AppCenterCrashes.h + + eS1L4vZ9uOJZWtS26mqGyfAfCvE= + + Headers/MSACCrashHandlerSetupDelegate.h + + uzF7JXTLqzHmtvY1P75OKDVr5eA= + + Headers/MSACCrashes.h + + eHC+/SrZ0R08kZxHQSoVyQf+vCo= + + Headers/MSACCrashesDelegate.h + + qnhKqY+vAsatzNxGZyoxFMmwIxI= + + Headers/MSACErrorAttachmentLog+Utility.h + + ckZsMUyucVQ1SglcnBVzx7JxiOg= + + Headers/MSACErrorAttachmentLog.h + + dMy2azn9T1iXSiDDZer3HSNemjc= + + Headers/MSACErrorReport.h + + OZkejnc70UL+wPdiV8fw2UAcBR0= + + Headers/MSACWrapperCrashesHelper.h + + hOnzBmQWDawGfE7ml3y93JiamCw= + + Info.plist + + LbDE8kpoGvSzO9eBRgIeZ0NTLqo= + + Modules/module.modulemap + + GcHl2+DKz5+ccrOUhvzEQR/7ph8= + + + files2 + + Headers/AppCenterCrashes.h + + hash + + eS1L4vZ9uOJZWtS26mqGyfAfCvE= + + hash2 + + NFGxm6YjpGCjJNEfjv5SM7MyktNj/PHvSXflRV/5FPQ= + + + Headers/MSACCrashHandlerSetupDelegate.h + + hash + + uzF7JXTLqzHmtvY1P75OKDVr5eA= + + hash2 + + VFNM3t9XTyOH2PM7hKUjHlq+mSBtYie1QqWzP4Y/X2Y= + + + Headers/MSACCrashes.h + + hash + + eHC+/SrZ0R08kZxHQSoVyQf+vCo= + + hash2 + + y7g3W+WahfsOp6fIuAPSEK9JbhjeFSzuTLIVlH5ij2o= + + + Headers/MSACCrashesDelegate.h + + hash + + qnhKqY+vAsatzNxGZyoxFMmwIxI= + + hash2 + + wBmXt8Cq5mUI+93edo6jk8yfyfYDxY35H+c4Lx6qjGE= + + + Headers/MSACErrorAttachmentLog+Utility.h + + hash + + ckZsMUyucVQ1SglcnBVzx7JxiOg= + + hash2 + + 1rzGYpSxmqx0iwrRdYi3QVDTPYeSHeJ98Rc12R2qAyk= + + + Headers/MSACErrorAttachmentLog.h + + hash + + dMy2azn9T1iXSiDDZer3HSNemjc= + + hash2 + + vK9kyTt1KPC2TzzlnqLJlPp8CAel2LBSWTTYc55owTw= + + + Headers/MSACErrorReport.h + + hash + + OZkejnc70UL+wPdiV8fw2UAcBR0= + + hash2 + + Ph0QprvD6QWBekvlfshUpVdljO98TuiI8PRbZO/MB0Y= + + + Headers/MSACWrapperCrashesHelper.h + + hash + + hOnzBmQWDawGfE7ml3y93JiamCw= + + hash2 + + dlGy++pjkWr8/y3Lw/UjWLU1uyIibB55gFuXhI7YdcM= + + + Modules/module.modulemap + + hash + + GcHl2+DKz5+ccrOUhvzEQR/7ph8= + + hash2 + + H27O4QPsA81Fgd3E2EpY562XQeivkHXpLp46tsiqAD8= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeSignature b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_i386_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeSignature new file mode 100644 index 00000000..e69de29b diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/AppCenterCrashes b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/AppCenterCrashes new file mode 120000 index 00000000..3ee22749 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/AppCenterCrashes @@ -0,0 +1 @@ +Versions/Current/AppCenterCrashes \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Headers b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Headers new file mode 120000 index 00000000..a177d2a6 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Modules b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Modules new file mode 120000 index 00000000..5736f318 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Resources b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Resources new file mode 120000 index 00000000..953ee36f --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/AppCenterCrashes b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/AppCenterCrashes new file mode 100644 index 00000000..10ea605a Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/AppCenterCrashes differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/AppCenterCrashes.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/AppCenterCrashes.h new file mode 100644 index 00000000..30d27593 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/AppCenterCrashes.h @@ -0,0 +1,20 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#else +#import "MSACCrashHandlerSetupDelegate.h" +#import "MSACCrashes.h" +#import "MSACCrashesDelegate.h" +#import "MSACErrorAttachmentLog+Utility.h" +#import "MSACErrorAttachmentLog.h" +#import "MSACWrapperCrashesHelper.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashHandlerSetupDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashHandlerSetupDelegate.h new file mode 100644 index 00000000..0a05beb8 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashHandlerSetupDelegate.h @@ -0,0 +1,34 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +/** + * This is required for Wrapper SDKs that need to provide custom behavior surrounding the setup of crash handlers. + */ +NS_SWIFT_NAME(CrashHandlerSetupDelegate) +@protocol MSACCrashHandlerSetupDelegate + +@optional + +/** + * Callback method that will be called immediately before crash handlers are set up. + */ +- (void)willSetUpCrashHandlers; + +/** + * Callback method that will be called immediately after crash handlers are set up. + */ +- (void)didSetUpCrashHandlers; + +/** + * Callback method that gets a value indicating whether the SDK should enable an uncaught exception handler. + * + * @return YES if SDK should enable uncaught exception handler, otherwise NO. + * + * @discussion Do not register an UncaughtExceptionHandler for Xamarin as we rely on the Xamarin runtime to report NSExceptions. Registering + * our own UncaughtExceptionHandler will cause the Xamarin debugger to not work properly (it will not stop for NSExceptions). + */ +- (BOOL)shouldEnableUncaughtExceptionHandler; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashes.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashes.h new file mode 100644 index 00000000..9b247403 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashes.h @@ -0,0 +1,179 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#if __has_include() +#import +#else +#import "MSACServiceAbstract.h" +#endif + +#if __has_include() +#import +#else +#import "MSACErrorReport.h" +#endif + +@class MSACCrashesDelegate; + +/** + * Custom block that handles the alert that prompts the user whether crash reports need to be processed or not. + * + * @return Returns YES to discard crash reports, otherwise NO. + */ +typedef BOOL (^MSACUserConfirmationHandler)(NSArray *_Nonnull errorReports) NS_SWIFT_NAME(UserConfirmationHandler); + +/** + * Error Logging status. + */ +typedef NS_ENUM(NSUInteger, MSACErrorLogSetting) { + + /** + * Crash reporting is disabled. + */ + MSACErrorLogSettingDisabled = 0, + + /** + * User is asked each time before sending error logs. + */ + MSACErrorLogSettingAlwaysAsk = 1, + + /** + * Each error log is send automatically. + */ + MSACErrorLogSettingAutoSend = 2 +} NS_SWIFT_NAME(ErrorLogSetting); + +/** + * Crash Manager alert user input. + */ +typedef NS_ENUM(NSUInteger, MSACUserConfirmation) { + + /** + * User chose not to send the crash report. + */ + MSACUserConfirmationDontSend = 0, + + /** + * User wants the crash report to be sent. + */ + MSACUserConfirmationSend = 1, + + /** + * User wants to send all error logs. + */ + MSACUserConfirmationAlways = 2 +} NS_SWIFT_NAME(UserConfirmation); + +@protocol MSACCrashesDelegate; + +NS_SWIFT_NAME(Crashes) +@interface MSACCrashes : MSACServiceAbstract + +///----------------------------------------------------------------------------- +/// @name Testing Crashes Feature +///----------------------------------------------------------------------------- + +/** + * Lets the app crash for easy testing of the SDK. + * + * The best way to use this is to trigger the crash with a button action. + * + * Make sure not to let the app crash in `applicationDidFinishLaunching` or any other startup method! Since otherwise the app would crash + * before the SDK could process it. + * + * Note that our SDK provides support for handling crashes that happen early on startup. Check the documentation for more information on how + * to use this. + * + * If the SDK detects an App Store environment, it will _NOT_ cause the app to crash! + */ ++ (void)generateTestCrash; + +///----------------------------------------------------------------------------- +/// @name Helpers +///----------------------------------------------------------------------------- + +/** + * Check if the app has crashed in the last session. + * + * @return Returns YES is the app has crashed in the last session. + */ +@property(class, readonly, nonatomic) BOOL hasCrashedInLastSession; + +/** + * Check if the app received memory warning in the last session. + * + * @return Returns YES is the app received memory warning in the last session. + */ +@property(class, readonly, nonatomic) BOOL hasReceivedMemoryWarningInLastSession; + +/** + * Provides details about the crash that occurred in the last app session + */ +@property(class, nullable, readonly, nonatomic) MSACErrorReport *lastSessionCrashReport; + +#if TARGET_OS_OSX || TARGET_OS_MACCATALYST +/** + * Callback for report exception. + * + * NOTE: This method should be called only if you explicitly disabled swizzling for it. + * + * On OS X runtime, not all uncaught exceptions end in a custom `NSUncaughtExceptionHandler`. + * Forward exception from overrided `[NSApplication reportException:]` to catch additional exceptions. + */ ++ (void)applicationDidReportException:(NSException *_Nonnull)exception; +#endif + +///----------------------------------------------------------------------------- +/// @name Configuration +///----------------------------------------------------------------------------- + +#if !TARGET_OS_TV +/** + * Disable the Mach exception server. + * + * By default, the SDK uses the Mach exception handler to catch fatal signals, e.g. stack overflows, via a Mach exception server. If you + * want to disable the Mach exception handler, you should call this method _BEFORE_ starting the SDK. Your typical setup code would look + * like this: + * + * `[MSACCrashes disableMachExceptionHandler]`; + * `[MSACAppCenter start:@"YOUR_APP_ID" withServices:@[[MSACCrashes class]]];` + * + * or if you are using Swift: + * + * `MSACCrashes.disableMachExceptionHandler()` + * `MSACAppCenter.start("YOUR_APP_ID", withServices: [MSACAnalytics.self, MSACCrashes.self])` + * + * tvOS does not support the Mach exception handler, thus crashes that are caused by stack overflows cannot be detected. As a result, + * disabling the Mach exception server is not available in the tvOS SDK. + * + * @discussion It can be useful to disable the Mach exception handler when you are debugging the Crashes service while developing, + * especially when you attach the debugger to your application after launch. + */ ++ (void)disableMachExceptionHandler; +#endif + +/** + * Set the delegate + * Defines the class that implements the optional protocol `MSACCrashesDelegate`. + * + * @see MSACCrashesDelegate + */ +@property(class, nonatomic, weak) id _Nullable delegate; + +/** + * Set a user confirmation handler that is invoked right before processing crash reports to determine whether sending crash reports or not. + * + * @see MSACUserConfirmationHandler + */ +@property(class, nonatomic) MSACUserConfirmationHandler _Nullable userConfirmationHandler; + +/** + * Notify SDK with a confirmation to handle the crash report. + * + * @param userConfirmation A user confirmation. + * + * @see MSACUserConfirmation. + */ ++ (void)notifyWithUserConfirmation:(MSACUserConfirmation)userConfirmation; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashesDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashesDelegate.h new file mode 100644 index 00000000..6dad5e5a --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashesDelegate.h @@ -0,0 +1,70 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +@class MSACCrashes; +@class MSACErrorReport; +@class MSACErrorAttachmentLog; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(CrashesDelegate) +@protocol MSACCrashesDelegate + +@optional + +/** + * Callback method that will be called before processing errors. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport that will be sent. + * + * @discussion Crashes will send logs to the server or discard/delete logs based on this method's return value. + */ +- (BOOL)crashes:(MSACCrashes *)crashes shouldProcessErrorReport:(MSACErrorReport *)errorReport NS_SWIFT_NAME(crashes(_:shouldProcess:)); + +/** + * Callback method that will be called before each error will be send to the server. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport that will be sent. + * + * @discussion Use this callback to display custom UI while crashes are sent to the server. + */ +- (void)crashes:(MSACCrashes *)crashes willSendErrorReport:(MSACErrorReport *)errorReport; + +/** + * Callback method that will be called after the SDK successfully sent an error report to the server. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport that App Center sent. + * + * @discussion Use this method to hide your custom UI. + */ +- (void)crashes:(MSACCrashes *)crashes didSucceedSendingErrorReport:(MSACErrorReport *)errorReport; + +/** + * Callback method that will be called in case the SDK was unable to send an error report to the server. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport that App Center tried to send. + * @param error The error that occurred. + */ +- (void)crashes:(MSACCrashes *)crashes didFailSendingErrorReport:(MSACErrorReport *)errorReport withError:(nullable NSError *)error; + +/** + * Method to get the attachments associated to an error report. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport associated with the returned attachments. + * + * @return The attachments associated with the given error report or nil if the error report doesn't have any attachments. + * + * @discussion Implement this method if you want attachments to the given error report. + */ +- (nullable NSArray *)attachmentsWithCrashes:(MSACCrashes *)crashes forErrorReport:(MSACErrorReport *)errorReport; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorAttachmentLog+Utility.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorAttachmentLog+Utility.h new file mode 100644 index 00000000..3d667f4a --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorAttachmentLog+Utility.h @@ -0,0 +1,36 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#if __has_include() +#import +#else +#import "MSACErrorAttachmentLog.h" +#endif + +// Exporting symbols for category. +extern NSString *MSACMSACErrorLogAttachmentLogUtilityCategory; + +@interface MSACErrorAttachmentLog (Utility) + +/** + * Create an attachment with a given filename and text. + * + * @param filename The filename the attachment should get. If nil will get an automatically generated filename. + * @param text The attachment text. + * + * @return An instance of `MSACErrorAttachmentLog`. + */ ++ (MSACErrorAttachmentLog *)attachmentWithText:(NSString *)text filename:(NSString *)filename; + +/** + * Create an attachment with a given filename and `NSData` object. + * + * @param filename The filename the attachment should get. If nil will get an automatically generated filename. + * @param data The attachment data as NSData. + * @param contentType The content type of your data as MIME type. + * + * @return An instance of `MSACErrorAttachmentLog`. + */ ++ (MSACErrorAttachmentLog *)attachmentWithBinary:(NSData *)data filename:(NSString *)filename contentType:(NSString *)contentType; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorAttachmentLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorAttachmentLog.h new file mode 100644 index 00000000..d3482f50 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorAttachmentLog.h @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#else +#import "MSACAbstractLog.h" +#endif + +/** + * Error attachment log. + */ +NS_SWIFT_NAME(ErrorAttachmentLog) +@interface MSACErrorAttachmentLog : MSACAbstractLog + +/** + * Content type (text/plain for text). + */ +@property(nonatomic, copy) NSString *contentType; + +/** + * File name. + */ +@property(nonatomic, copy) NSString *filename; + +/** + * The attachment data. + */ +@property(nonatomic, copy) NSData *data; + +/** + * Initialize an attachment with a given filename and `NSData` object. + * + * @param filename The filename the attachment should get. If nil will get an automatically generated filename. + * @param data The attachment data as `NSData`. + * @param contentType The content type of your data as MIME type. + * + * @return An instance of `MSACErrorAttachmentLog`. + */ +- (instancetype)initWithFilename:(NSString *)filename attachmentBinary:(NSData *)data contentType:(NSString *)contentType; + +/** + * Initialize an attachment with a given filename and text. + * + * @param filename The filename the attachment should get. If nil will get an automatically generated filename. + * @param text The attachment text. + * + * @return An instance of `MSACErrorAttachmentLog`. + */ +- (instancetype)initWithFilename:(NSString *)filename attachmentText:(NSString *)text; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorReport.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorReport.h new file mode 100644 index 00000000..fb649374 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorReport.h @@ -0,0 +1,67 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +@class MSACDevice; + +NS_SWIFT_NAME(ErrorReport) +@interface MSACErrorReport : NSObject + +/** + * UUID for the crash report. + */ +@property(nonatomic, copy, readonly) NSString *incidentIdentifier; + +/** + * UUID for the app installation on the device. + */ +@property(nonatomic, copy, readonly) NSString *reporterKey; + +/** + * Signal that caused the crash. + */ +@property(nonatomic, copy, readonly) NSString *signal; + +/** + * Exception name that triggered the crash, nil if the crash was not caused by an exception. + */ +@property(nonatomic, copy, readonly) NSString *exceptionName; + +/** + * Exception reason, nil if the crash was not caused by an exception. + */ +@property(nonatomic, copy, readonly) NSString *exceptionReason; + +/** + * Date and time the app started, nil if unknown. + */ +@property(nonatomic, readonly, strong) NSDate *appStartTime; + +/** + * Date and time the error occurred, nil if unknown + */ +@property(nonatomic, readonly, strong) NSDate *appErrorTime; + +/** + * Device information of the app when it crashed. + */ +@property(nonatomic, readonly, strong) MSACDevice *device; + +/** + * Identifier of the app process that crashed. + */ +@property(nonatomic, readonly, assign) NSUInteger appProcessIdentifier; + +/** + * Indicates if the app was killed while being in foreground from the iOS. + * + * This can happen if it consumed too much memory or the watchdog killed the app because it took too long to startup or blocks the main + * thread for too long, or other reasons. See Apple documentation: + * https://developer.apple.com/library/ios/qa/qa1693/_index.html. + * + * @see `[MSACCrashes didReceiveMemoryWarningInLastSession]` + */ +@property(nonatomic, readonly) BOOL isAppKill; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACWrapperCrashesHelper.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACWrapperCrashesHelper.h new file mode 100644 index 00000000..da38a3de --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Headers/MSACWrapperCrashesHelper.h @@ -0,0 +1,94 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#else +#import "MSACCrashHandlerSetupDelegate.h" +#endif + +NS_ASSUME_NONNULL_BEGIN + +@class MSACErrorReport; +@class MSACErrorAttachmentLog; +@class MSACException; + +/** + * This general class allows wrappers to supplement the Crashes SDK with their own behavior. + */ +NS_SWIFT_NAME(WrapperCrashesHelper) +@interface MSACWrapperCrashesHelper : NSObject + +/** + * The crash handler setup delegate. + * + */ +@property(class, nonatomic, weak) _Nullable id crashHandlerSetupDelegate; + +/** + * Gets the crash handler setup delegate. + * + * @deprecated + * + * @return The delegate being used by Crashes. + */ ++ (id)getCrashHandlerSetupDelegate DEPRECATED_MSG_ATTRIBUTE("Use crashHandlerSetupDelegate instead"); + +/** + * Enables or disables automatic crash processing. Passing NO causes SDK not to send reports immediately, even if "Always Send" is true. + */ +@property(class, nonatomic) BOOL automaticProcessing; + +/** + * Gets a list of unprocessed crash reports. Will block until the service starts. + * + * @return An array of unprocessed error reports. + */ +@property(class, readonly, nonatomic) NSArray *unprocessedCrashReports; + +/** + * Resumes processing for a given subset of the unprocessed reports. + * + * @param filteredIds An array containing the errorId/incidentIdentifier of each report that should be sent. + * + * @return YES if should "Always Send" is true. + */ ++ (BOOL)sendCrashReportsOrAwaitUserConfirmationForFilteredIds:(NSArray *)filteredIds; + +/** + * Sends error attachments for a particular error report. + * + * @param errorAttachments An array of error attachments that should be sent. + * @param incidentIdentifier The identifier of the error report that the attachments will be associated with. + */ ++ (void)sendErrorAttachments:(NSArray *)errorAttachments withIncidentIdentifier:(NSString *)incidentIdentifier; + +/** + * Track handled exception directly as model form. + * This API is used by wrapper SDKs. + * + * @param exception model form exception. + * @param properties dictionary of properties. + * @param attachments a list of attachments. + * + * @return handled error ID. + */ ++ (nullable NSString *)trackModelException:(MSACException *)exception + withProperties:(nullable NSDictionary *)properties + withAttachments:(nullable NSArray *)attachments; + +/** + * Get a generic error report representation for an handled exception. + * This API is used by wrapper SDKs. + * + * @param errorID handled error ID. + * + * @return an error report. + */ ++ (MSACErrorReport *)buildHandledErrorReportWithErrorID:(NSString *)errorID; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000..858a5299 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,10 @@ +framework module AppCenterCrashes { + umbrella header "AppCenterCrashes.h" + + export * + module * { export * } + + link framework "Foundation" + link "c++" + link "z" +} diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Resources/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000..7cd6d3a2 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,48 @@ + + + + + BuildMachineOSBuild + 19H1217 + CFBundleDevelopmentRegion + English + CFBundleExecutable + AppCenterCrashes + CFBundleIdentifier + com.microsoft.appcenter.crashes + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + AppCenterCrashes + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1 + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1.0 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 11C505 + DTPlatformVersion + GM + DTSDKBuild + 19B90 + DTSDKName + macosx10.15 + DTXcode + 1130 + DTXcodeBuild + 11C505 + LSMinimumSystemVersion + 10.15 + UIDeviceFamily + + 2 + + + diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/Current b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/Current new file mode 120000 index 00000000..8c7e5a66 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/ios-arm64_x86_64-maccatalyst/AppCenterCrashes.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/AppCenterCrashes b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/AppCenterCrashes new file mode 120000 index 00000000..3ee22749 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/AppCenterCrashes @@ -0,0 +1 @@ +Versions/Current/AppCenterCrashes \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Headers b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Headers new file mode 120000 index 00000000..a177d2a6 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Modules b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Modules new file mode 120000 index 00000000..5736f318 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Resources b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Resources new file mode 120000 index 00000000..953ee36f --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/AppCenterCrashes b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/AppCenterCrashes new file mode 100644 index 00000000..fa19beae Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/AppCenterCrashes differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/AppCenterCrashes.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/AppCenterCrashes.h new file mode 100644 index 00000000..30d27593 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/AppCenterCrashes.h @@ -0,0 +1,20 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#else +#import "MSACCrashHandlerSetupDelegate.h" +#import "MSACCrashes.h" +#import "MSACCrashesDelegate.h" +#import "MSACErrorAttachmentLog+Utility.h" +#import "MSACErrorAttachmentLog.h" +#import "MSACWrapperCrashesHelper.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashHandlerSetupDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashHandlerSetupDelegate.h new file mode 100644 index 00000000..0a05beb8 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashHandlerSetupDelegate.h @@ -0,0 +1,34 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +/** + * This is required for Wrapper SDKs that need to provide custom behavior surrounding the setup of crash handlers. + */ +NS_SWIFT_NAME(CrashHandlerSetupDelegate) +@protocol MSACCrashHandlerSetupDelegate + +@optional + +/** + * Callback method that will be called immediately before crash handlers are set up. + */ +- (void)willSetUpCrashHandlers; + +/** + * Callback method that will be called immediately after crash handlers are set up. + */ +- (void)didSetUpCrashHandlers; + +/** + * Callback method that gets a value indicating whether the SDK should enable an uncaught exception handler. + * + * @return YES if SDK should enable uncaught exception handler, otherwise NO. + * + * @discussion Do not register an UncaughtExceptionHandler for Xamarin as we rely on the Xamarin runtime to report NSExceptions. Registering + * our own UncaughtExceptionHandler will cause the Xamarin debugger to not work properly (it will not stop for NSExceptions). + */ +- (BOOL)shouldEnableUncaughtExceptionHandler; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashes.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashes.h new file mode 100644 index 00000000..9b247403 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashes.h @@ -0,0 +1,179 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#if __has_include() +#import +#else +#import "MSACServiceAbstract.h" +#endif + +#if __has_include() +#import +#else +#import "MSACErrorReport.h" +#endif + +@class MSACCrashesDelegate; + +/** + * Custom block that handles the alert that prompts the user whether crash reports need to be processed or not. + * + * @return Returns YES to discard crash reports, otherwise NO. + */ +typedef BOOL (^MSACUserConfirmationHandler)(NSArray *_Nonnull errorReports) NS_SWIFT_NAME(UserConfirmationHandler); + +/** + * Error Logging status. + */ +typedef NS_ENUM(NSUInteger, MSACErrorLogSetting) { + + /** + * Crash reporting is disabled. + */ + MSACErrorLogSettingDisabled = 0, + + /** + * User is asked each time before sending error logs. + */ + MSACErrorLogSettingAlwaysAsk = 1, + + /** + * Each error log is send automatically. + */ + MSACErrorLogSettingAutoSend = 2 +} NS_SWIFT_NAME(ErrorLogSetting); + +/** + * Crash Manager alert user input. + */ +typedef NS_ENUM(NSUInteger, MSACUserConfirmation) { + + /** + * User chose not to send the crash report. + */ + MSACUserConfirmationDontSend = 0, + + /** + * User wants the crash report to be sent. + */ + MSACUserConfirmationSend = 1, + + /** + * User wants to send all error logs. + */ + MSACUserConfirmationAlways = 2 +} NS_SWIFT_NAME(UserConfirmation); + +@protocol MSACCrashesDelegate; + +NS_SWIFT_NAME(Crashes) +@interface MSACCrashes : MSACServiceAbstract + +///----------------------------------------------------------------------------- +/// @name Testing Crashes Feature +///----------------------------------------------------------------------------- + +/** + * Lets the app crash for easy testing of the SDK. + * + * The best way to use this is to trigger the crash with a button action. + * + * Make sure not to let the app crash in `applicationDidFinishLaunching` or any other startup method! Since otherwise the app would crash + * before the SDK could process it. + * + * Note that our SDK provides support for handling crashes that happen early on startup. Check the documentation for more information on how + * to use this. + * + * If the SDK detects an App Store environment, it will _NOT_ cause the app to crash! + */ ++ (void)generateTestCrash; + +///----------------------------------------------------------------------------- +/// @name Helpers +///----------------------------------------------------------------------------- + +/** + * Check if the app has crashed in the last session. + * + * @return Returns YES is the app has crashed in the last session. + */ +@property(class, readonly, nonatomic) BOOL hasCrashedInLastSession; + +/** + * Check if the app received memory warning in the last session. + * + * @return Returns YES is the app received memory warning in the last session. + */ +@property(class, readonly, nonatomic) BOOL hasReceivedMemoryWarningInLastSession; + +/** + * Provides details about the crash that occurred in the last app session + */ +@property(class, nullable, readonly, nonatomic) MSACErrorReport *lastSessionCrashReport; + +#if TARGET_OS_OSX || TARGET_OS_MACCATALYST +/** + * Callback for report exception. + * + * NOTE: This method should be called only if you explicitly disabled swizzling for it. + * + * On OS X runtime, not all uncaught exceptions end in a custom `NSUncaughtExceptionHandler`. + * Forward exception from overrided `[NSApplication reportException:]` to catch additional exceptions. + */ ++ (void)applicationDidReportException:(NSException *_Nonnull)exception; +#endif + +///----------------------------------------------------------------------------- +/// @name Configuration +///----------------------------------------------------------------------------- + +#if !TARGET_OS_TV +/** + * Disable the Mach exception server. + * + * By default, the SDK uses the Mach exception handler to catch fatal signals, e.g. stack overflows, via a Mach exception server. If you + * want to disable the Mach exception handler, you should call this method _BEFORE_ starting the SDK. Your typical setup code would look + * like this: + * + * `[MSACCrashes disableMachExceptionHandler]`; + * `[MSACAppCenter start:@"YOUR_APP_ID" withServices:@[[MSACCrashes class]]];` + * + * or if you are using Swift: + * + * `MSACCrashes.disableMachExceptionHandler()` + * `MSACAppCenter.start("YOUR_APP_ID", withServices: [MSACAnalytics.self, MSACCrashes.self])` + * + * tvOS does not support the Mach exception handler, thus crashes that are caused by stack overflows cannot be detected. As a result, + * disabling the Mach exception server is not available in the tvOS SDK. + * + * @discussion It can be useful to disable the Mach exception handler when you are debugging the Crashes service while developing, + * especially when you attach the debugger to your application after launch. + */ ++ (void)disableMachExceptionHandler; +#endif + +/** + * Set the delegate + * Defines the class that implements the optional protocol `MSACCrashesDelegate`. + * + * @see MSACCrashesDelegate + */ +@property(class, nonatomic, weak) id _Nullable delegate; + +/** + * Set a user confirmation handler that is invoked right before processing crash reports to determine whether sending crash reports or not. + * + * @see MSACUserConfirmationHandler + */ +@property(class, nonatomic) MSACUserConfirmationHandler _Nullable userConfirmationHandler; + +/** + * Notify SDK with a confirmation to handle the crash report. + * + * @param userConfirmation A user confirmation. + * + * @see MSACUserConfirmation. + */ ++ (void)notifyWithUserConfirmation:(MSACUserConfirmation)userConfirmation; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashesDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashesDelegate.h new file mode 100644 index 00000000..6dad5e5a --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACCrashesDelegate.h @@ -0,0 +1,70 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +@class MSACCrashes; +@class MSACErrorReport; +@class MSACErrorAttachmentLog; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(CrashesDelegate) +@protocol MSACCrashesDelegate + +@optional + +/** + * Callback method that will be called before processing errors. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport that will be sent. + * + * @discussion Crashes will send logs to the server or discard/delete logs based on this method's return value. + */ +- (BOOL)crashes:(MSACCrashes *)crashes shouldProcessErrorReport:(MSACErrorReport *)errorReport NS_SWIFT_NAME(crashes(_:shouldProcess:)); + +/** + * Callback method that will be called before each error will be send to the server. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport that will be sent. + * + * @discussion Use this callback to display custom UI while crashes are sent to the server. + */ +- (void)crashes:(MSACCrashes *)crashes willSendErrorReport:(MSACErrorReport *)errorReport; + +/** + * Callback method that will be called after the SDK successfully sent an error report to the server. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport that App Center sent. + * + * @discussion Use this method to hide your custom UI. + */ +- (void)crashes:(MSACCrashes *)crashes didSucceedSendingErrorReport:(MSACErrorReport *)errorReport; + +/** + * Callback method that will be called in case the SDK was unable to send an error report to the server. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport that App Center tried to send. + * @param error The error that occurred. + */ +- (void)crashes:(MSACCrashes *)crashes didFailSendingErrorReport:(MSACErrorReport *)errorReport withError:(nullable NSError *)error; + +/** + * Method to get the attachments associated to an error report. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport associated with the returned attachments. + * + * @return The attachments associated with the given error report or nil if the error report doesn't have any attachments. + * + * @discussion Implement this method if you want attachments to the given error report. + */ +- (nullable NSArray *)attachmentsWithCrashes:(MSACCrashes *)crashes forErrorReport:(MSACErrorReport *)errorReport; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorAttachmentLog+Utility.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorAttachmentLog+Utility.h new file mode 100644 index 00000000..3d667f4a --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorAttachmentLog+Utility.h @@ -0,0 +1,36 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#if __has_include() +#import +#else +#import "MSACErrorAttachmentLog.h" +#endif + +// Exporting symbols for category. +extern NSString *MSACMSACErrorLogAttachmentLogUtilityCategory; + +@interface MSACErrorAttachmentLog (Utility) + +/** + * Create an attachment with a given filename and text. + * + * @param filename The filename the attachment should get. If nil will get an automatically generated filename. + * @param text The attachment text. + * + * @return An instance of `MSACErrorAttachmentLog`. + */ ++ (MSACErrorAttachmentLog *)attachmentWithText:(NSString *)text filename:(NSString *)filename; + +/** + * Create an attachment with a given filename and `NSData` object. + * + * @param filename The filename the attachment should get. If nil will get an automatically generated filename. + * @param data The attachment data as NSData. + * @param contentType The content type of your data as MIME type. + * + * @return An instance of `MSACErrorAttachmentLog`. + */ ++ (MSACErrorAttachmentLog *)attachmentWithBinary:(NSData *)data filename:(NSString *)filename contentType:(NSString *)contentType; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorAttachmentLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorAttachmentLog.h new file mode 100644 index 00000000..d3482f50 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorAttachmentLog.h @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#else +#import "MSACAbstractLog.h" +#endif + +/** + * Error attachment log. + */ +NS_SWIFT_NAME(ErrorAttachmentLog) +@interface MSACErrorAttachmentLog : MSACAbstractLog + +/** + * Content type (text/plain for text). + */ +@property(nonatomic, copy) NSString *contentType; + +/** + * File name. + */ +@property(nonatomic, copy) NSString *filename; + +/** + * The attachment data. + */ +@property(nonatomic, copy) NSData *data; + +/** + * Initialize an attachment with a given filename and `NSData` object. + * + * @param filename The filename the attachment should get. If nil will get an automatically generated filename. + * @param data The attachment data as `NSData`. + * @param contentType The content type of your data as MIME type. + * + * @return An instance of `MSACErrorAttachmentLog`. + */ +- (instancetype)initWithFilename:(NSString *)filename attachmentBinary:(NSData *)data contentType:(NSString *)contentType; + +/** + * Initialize an attachment with a given filename and text. + * + * @param filename The filename the attachment should get. If nil will get an automatically generated filename. + * @param text The attachment text. + * + * @return An instance of `MSACErrorAttachmentLog`. + */ +- (instancetype)initWithFilename:(NSString *)filename attachmentText:(NSString *)text; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorReport.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorReport.h new file mode 100644 index 00000000..fb649374 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACErrorReport.h @@ -0,0 +1,67 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +@class MSACDevice; + +NS_SWIFT_NAME(ErrorReport) +@interface MSACErrorReport : NSObject + +/** + * UUID for the crash report. + */ +@property(nonatomic, copy, readonly) NSString *incidentIdentifier; + +/** + * UUID for the app installation on the device. + */ +@property(nonatomic, copy, readonly) NSString *reporterKey; + +/** + * Signal that caused the crash. + */ +@property(nonatomic, copy, readonly) NSString *signal; + +/** + * Exception name that triggered the crash, nil if the crash was not caused by an exception. + */ +@property(nonatomic, copy, readonly) NSString *exceptionName; + +/** + * Exception reason, nil if the crash was not caused by an exception. + */ +@property(nonatomic, copy, readonly) NSString *exceptionReason; + +/** + * Date and time the app started, nil if unknown. + */ +@property(nonatomic, readonly, strong) NSDate *appStartTime; + +/** + * Date and time the error occurred, nil if unknown + */ +@property(nonatomic, readonly, strong) NSDate *appErrorTime; + +/** + * Device information of the app when it crashed. + */ +@property(nonatomic, readonly, strong) MSACDevice *device; + +/** + * Identifier of the app process that crashed. + */ +@property(nonatomic, readonly, assign) NSUInteger appProcessIdentifier; + +/** + * Indicates if the app was killed while being in foreground from the iOS. + * + * This can happen if it consumed too much memory or the watchdog killed the app because it took too long to startup or blocks the main + * thread for too long, or other reasons. See Apple documentation: + * https://developer.apple.com/library/ios/qa/qa1693/_index.html. + * + * @see `[MSACCrashes didReceiveMemoryWarningInLastSession]` + */ +@property(nonatomic, readonly) BOOL isAppKill; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACWrapperCrashesHelper.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACWrapperCrashesHelper.h new file mode 100644 index 00000000..da38a3de --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Headers/MSACWrapperCrashesHelper.h @@ -0,0 +1,94 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#else +#import "MSACCrashHandlerSetupDelegate.h" +#endif + +NS_ASSUME_NONNULL_BEGIN + +@class MSACErrorReport; +@class MSACErrorAttachmentLog; +@class MSACException; + +/** + * This general class allows wrappers to supplement the Crashes SDK with their own behavior. + */ +NS_SWIFT_NAME(WrapperCrashesHelper) +@interface MSACWrapperCrashesHelper : NSObject + +/** + * The crash handler setup delegate. + * + */ +@property(class, nonatomic, weak) _Nullable id crashHandlerSetupDelegate; + +/** + * Gets the crash handler setup delegate. + * + * @deprecated + * + * @return The delegate being used by Crashes. + */ ++ (id)getCrashHandlerSetupDelegate DEPRECATED_MSG_ATTRIBUTE("Use crashHandlerSetupDelegate instead"); + +/** + * Enables or disables automatic crash processing. Passing NO causes SDK not to send reports immediately, even if "Always Send" is true. + */ +@property(class, nonatomic) BOOL automaticProcessing; + +/** + * Gets a list of unprocessed crash reports. Will block until the service starts. + * + * @return An array of unprocessed error reports. + */ +@property(class, readonly, nonatomic) NSArray *unprocessedCrashReports; + +/** + * Resumes processing for a given subset of the unprocessed reports. + * + * @param filteredIds An array containing the errorId/incidentIdentifier of each report that should be sent. + * + * @return YES if should "Always Send" is true. + */ ++ (BOOL)sendCrashReportsOrAwaitUserConfirmationForFilteredIds:(NSArray *)filteredIds; + +/** + * Sends error attachments for a particular error report. + * + * @param errorAttachments An array of error attachments that should be sent. + * @param incidentIdentifier The identifier of the error report that the attachments will be associated with. + */ ++ (void)sendErrorAttachments:(NSArray *)errorAttachments withIncidentIdentifier:(NSString *)incidentIdentifier; + +/** + * Track handled exception directly as model form. + * This API is used by wrapper SDKs. + * + * @param exception model form exception. + * @param properties dictionary of properties. + * @param attachments a list of attachments. + * + * @return handled error ID. + */ ++ (nullable NSString *)trackModelException:(MSACException *)exception + withProperties:(nullable NSDictionary *)properties + withAttachments:(nullable NSArray *)attachments; + +/** + * Get a generic error report representation for an handled exception. + * This API is used by wrapper SDKs. + * + * @param errorID handled error ID. + * + * @return an error report. + */ ++ (MSACErrorReport *)buildHandledErrorReportWithErrorID:(NSString *)errorID; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 00000000..58d5076e --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,10 @@ +framework module AppCenterCrashes { + umbrella header "AppCenterCrashes.h" + + export * + module * { export * } + + link framework "Foundation" + link "c++" + link "z" +} diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Resources/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000..0373331f --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,44 @@ + + + + + BuildMachineOSBuild + 19H1217 + CFBundleDevelopmentRegion + English + CFBundleExecutable + AppCenterCrashes + CFBundleIdentifier + com.microsoft.appcenter.crashes + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + AppCenterCrashes + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1 + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1.0 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 11C505 + DTPlatformVersion + GM + DTSDKBuild + 19B90 + DTSDKName + macosx10.15 + DTXcode + 1130 + DTXcodeBuild + 11C505 + LSMinimumSystemVersion + 10.9 + + diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/Current b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/Current new file mode 120000 index 00000000..8c7e5a66 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/macos-arm64_x86_64/AppCenterCrashes.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/AppCenterCrashes b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/AppCenterCrashes new file mode 100644 index 00000000..7b7fdf49 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/AppCenterCrashes differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/AppCenterCrashes.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/AppCenterCrashes.h new file mode 100644 index 00000000..30d27593 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/AppCenterCrashes.h @@ -0,0 +1,20 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#else +#import "MSACCrashHandlerSetupDelegate.h" +#import "MSACCrashes.h" +#import "MSACCrashesDelegate.h" +#import "MSACErrorAttachmentLog+Utility.h" +#import "MSACErrorAttachmentLog.h" +#import "MSACWrapperCrashesHelper.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACCrashHandlerSetupDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACCrashHandlerSetupDelegate.h new file mode 100644 index 00000000..0a05beb8 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACCrashHandlerSetupDelegate.h @@ -0,0 +1,34 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +/** + * This is required for Wrapper SDKs that need to provide custom behavior surrounding the setup of crash handlers. + */ +NS_SWIFT_NAME(CrashHandlerSetupDelegate) +@protocol MSACCrashHandlerSetupDelegate + +@optional + +/** + * Callback method that will be called immediately before crash handlers are set up. + */ +- (void)willSetUpCrashHandlers; + +/** + * Callback method that will be called immediately after crash handlers are set up. + */ +- (void)didSetUpCrashHandlers; + +/** + * Callback method that gets a value indicating whether the SDK should enable an uncaught exception handler. + * + * @return YES if SDK should enable uncaught exception handler, otherwise NO. + * + * @discussion Do not register an UncaughtExceptionHandler for Xamarin as we rely on the Xamarin runtime to report NSExceptions. Registering + * our own UncaughtExceptionHandler will cause the Xamarin debugger to not work properly (it will not stop for NSExceptions). + */ +- (BOOL)shouldEnableUncaughtExceptionHandler; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACCrashes.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACCrashes.h new file mode 100644 index 00000000..9b247403 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACCrashes.h @@ -0,0 +1,179 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#if __has_include() +#import +#else +#import "MSACServiceAbstract.h" +#endif + +#if __has_include() +#import +#else +#import "MSACErrorReport.h" +#endif + +@class MSACCrashesDelegate; + +/** + * Custom block that handles the alert that prompts the user whether crash reports need to be processed or not. + * + * @return Returns YES to discard crash reports, otherwise NO. + */ +typedef BOOL (^MSACUserConfirmationHandler)(NSArray *_Nonnull errorReports) NS_SWIFT_NAME(UserConfirmationHandler); + +/** + * Error Logging status. + */ +typedef NS_ENUM(NSUInteger, MSACErrorLogSetting) { + + /** + * Crash reporting is disabled. + */ + MSACErrorLogSettingDisabled = 0, + + /** + * User is asked each time before sending error logs. + */ + MSACErrorLogSettingAlwaysAsk = 1, + + /** + * Each error log is send automatically. + */ + MSACErrorLogSettingAutoSend = 2 +} NS_SWIFT_NAME(ErrorLogSetting); + +/** + * Crash Manager alert user input. + */ +typedef NS_ENUM(NSUInteger, MSACUserConfirmation) { + + /** + * User chose not to send the crash report. + */ + MSACUserConfirmationDontSend = 0, + + /** + * User wants the crash report to be sent. + */ + MSACUserConfirmationSend = 1, + + /** + * User wants to send all error logs. + */ + MSACUserConfirmationAlways = 2 +} NS_SWIFT_NAME(UserConfirmation); + +@protocol MSACCrashesDelegate; + +NS_SWIFT_NAME(Crashes) +@interface MSACCrashes : MSACServiceAbstract + +///----------------------------------------------------------------------------- +/// @name Testing Crashes Feature +///----------------------------------------------------------------------------- + +/** + * Lets the app crash for easy testing of the SDK. + * + * The best way to use this is to trigger the crash with a button action. + * + * Make sure not to let the app crash in `applicationDidFinishLaunching` or any other startup method! Since otherwise the app would crash + * before the SDK could process it. + * + * Note that our SDK provides support for handling crashes that happen early on startup. Check the documentation for more information on how + * to use this. + * + * If the SDK detects an App Store environment, it will _NOT_ cause the app to crash! + */ ++ (void)generateTestCrash; + +///----------------------------------------------------------------------------- +/// @name Helpers +///----------------------------------------------------------------------------- + +/** + * Check if the app has crashed in the last session. + * + * @return Returns YES is the app has crashed in the last session. + */ +@property(class, readonly, nonatomic) BOOL hasCrashedInLastSession; + +/** + * Check if the app received memory warning in the last session. + * + * @return Returns YES is the app received memory warning in the last session. + */ +@property(class, readonly, nonatomic) BOOL hasReceivedMemoryWarningInLastSession; + +/** + * Provides details about the crash that occurred in the last app session + */ +@property(class, nullable, readonly, nonatomic) MSACErrorReport *lastSessionCrashReport; + +#if TARGET_OS_OSX || TARGET_OS_MACCATALYST +/** + * Callback for report exception. + * + * NOTE: This method should be called only if you explicitly disabled swizzling for it. + * + * On OS X runtime, not all uncaught exceptions end in a custom `NSUncaughtExceptionHandler`. + * Forward exception from overrided `[NSApplication reportException:]` to catch additional exceptions. + */ ++ (void)applicationDidReportException:(NSException *_Nonnull)exception; +#endif + +///----------------------------------------------------------------------------- +/// @name Configuration +///----------------------------------------------------------------------------- + +#if !TARGET_OS_TV +/** + * Disable the Mach exception server. + * + * By default, the SDK uses the Mach exception handler to catch fatal signals, e.g. stack overflows, via a Mach exception server. If you + * want to disable the Mach exception handler, you should call this method _BEFORE_ starting the SDK. Your typical setup code would look + * like this: + * + * `[MSACCrashes disableMachExceptionHandler]`; + * `[MSACAppCenter start:@"YOUR_APP_ID" withServices:@[[MSACCrashes class]]];` + * + * or if you are using Swift: + * + * `MSACCrashes.disableMachExceptionHandler()` + * `MSACAppCenter.start("YOUR_APP_ID", withServices: [MSACAnalytics.self, MSACCrashes.self])` + * + * tvOS does not support the Mach exception handler, thus crashes that are caused by stack overflows cannot be detected. As a result, + * disabling the Mach exception server is not available in the tvOS SDK. + * + * @discussion It can be useful to disable the Mach exception handler when you are debugging the Crashes service while developing, + * especially when you attach the debugger to your application after launch. + */ ++ (void)disableMachExceptionHandler; +#endif + +/** + * Set the delegate + * Defines the class that implements the optional protocol `MSACCrashesDelegate`. + * + * @see MSACCrashesDelegate + */ +@property(class, nonatomic, weak) id _Nullable delegate; + +/** + * Set a user confirmation handler that is invoked right before processing crash reports to determine whether sending crash reports or not. + * + * @see MSACUserConfirmationHandler + */ +@property(class, nonatomic) MSACUserConfirmationHandler _Nullable userConfirmationHandler; + +/** + * Notify SDK with a confirmation to handle the crash report. + * + * @param userConfirmation A user confirmation. + * + * @see MSACUserConfirmation. + */ ++ (void)notifyWithUserConfirmation:(MSACUserConfirmation)userConfirmation; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACCrashesDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACCrashesDelegate.h new file mode 100644 index 00000000..6dad5e5a --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACCrashesDelegate.h @@ -0,0 +1,70 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +@class MSACCrashes; +@class MSACErrorReport; +@class MSACErrorAttachmentLog; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(CrashesDelegate) +@protocol MSACCrashesDelegate + +@optional + +/** + * Callback method that will be called before processing errors. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport that will be sent. + * + * @discussion Crashes will send logs to the server or discard/delete logs based on this method's return value. + */ +- (BOOL)crashes:(MSACCrashes *)crashes shouldProcessErrorReport:(MSACErrorReport *)errorReport NS_SWIFT_NAME(crashes(_:shouldProcess:)); + +/** + * Callback method that will be called before each error will be send to the server. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport that will be sent. + * + * @discussion Use this callback to display custom UI while crashes are sent to the server. + */ +- (void)crashes:(MSACCrashes *)crashes willSendErrorReport:(MSACErrorReport *)errorReport; + +/** + * Callback method that will be called after the SDK successfully sent an error report to the server. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport that App Center sent. + * + * @discussion Use this method to hide your custom UI. + */ +- (void)crashes:(MSACCrashes *)crashes didSucceedSendingErrorReport:(MSACErrorReport *)errorReport; + +/** + * Callback method that will be called in case the SDK was unable to send an error report to the server. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport that App Center tried to send. + * @param error The error that occurred. + */ +- (void)crashes:(MSACCrashes *)crashes didFailSendingErrorReport:(MSACErrorReport *)errorReport withError:(nullable NSError *)error; + +/** + * Method to get the attachments associated to an error report. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport associated with the returned attachments. + * + * @return The attachments associated with the given error report or nil if the error report doesn't have any attachments. + * + * @discussion Implement this method if you want attachments to the given error report. + */ +- (nullable NSArray *)attachmentsWithCrashes:(MSACCrashes *)crashes forErrorReport:(MSACErrorReport *)errorReport; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog+Utility.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog+Utility.h new file mode 100644 index 00000000..3d667f4a --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog+Utility.h @@ -0,0 +1,36 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#if __has_include() +#import +#else +#import "MSACErrorAttachmentLog.h" +#endif + +// Exporting symbols for category. +extern NSString *MSACMSACErrorLogAttachmentLogUtilityCategory; + +@interface MSACErrorAttachmentLog (Utility) + +/** + * Create an attachment with a given filename and text. + * + * @param filename The filename the attachment should get. If nil will get an automatically generated filename. + * @param text The attachment text. + * + * @return An instance of `MSACErrorAttachmentLog`. + */ ++ (MSACErrorAttachmentLog *)attachmentWithText:(NSString *)text filename:(NSString *)filename; + +/** + * Create an attachment with a given filename and `NSData` object. + * + * @param filename The filename the attachment should get. If nil will get an automatically generated filename. + * @param data The attachment data as NSData. + * @param contentType The content type of your data as MIME type. + * + * @return An instance of `MSACErrorAttachmentLog`. + */ ++ (MSACErrorAttachmentLog *)attachmentWithBinary:(NSData *)data filename:(NSString *)filename contentType:(NSString *)contentType; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog.h new file mode 100644 index 00000000..d3482f50 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog.h @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#else +#import "MSACAbstractLog.h" +#endif + +/** + * Error attachment log. + */ +NS_SWIFT_NAME(ErrorAttachmentLog) +@interface MSACErrorAttachmentLog : MSACAbstractLog + +/** + * Content type (text/plain for text). + */ +@property(nonatomic, copy) NSString *contentType; + +/** + * File name. + */ +@property(nonatomic, copy) NSString *filename; + +/** + * The attachment data. + */ +@property(nonatomic, copy) NSData *data; + +/** + * Initialize an attachment with a given filename and `NSData` object. + * + * @param filename The filename the attachment should get. If nil will get an automatically generated filename. + * @param data The attachment data as `NSData`. + * @param contentType The content type of your data as MIME type. + * + * @return An instance of `MSACErrorAttachmentLog`. + */ +- (instancetype)initWithFilename:(NSString *)filename attachmentBinary:(NSData *)data contentType:(NSString *)contentType; + +/** + * Initialize an attachment with a given filename and text. + * + * @param filename The filename the attachment should get. If nil will get an automatically generated filename. + * @param text The attachment text. + * + * @return An instance of `MSACErrorAttachmentLog`. + */ +- (instancetype)initWithFilename:(NSString *)filename attachmentText:(NSString *)text; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACErrorReport.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACErrorReport.h new file mode 100644 index 00000000..fb649374 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACErrorReport.h @@ -0,0 +1,67 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +@class MSACDevice; + +NS_SWIFT_NAME(ErrorReport) +@interface MSACErrorReport : NSObject + +/** + * UUID for the crash report. + */ +@property(nonatomic, copy, readonly) NSString *incidentIdentifier; + +/** + * UUID for the app installation on the device. + */ +@property(nonatomic, copy, readonly) NSString *reporterKey; + +/** + * Signal that caused the crash. + */ +@property(nonatomic, copy, readonly) NSString *signal; + +/** + * Exception name that triggered the crash, nil if the crash was not caused by an exception. + */ +@property(nonatomic, copy, readonly) NSString *exceptionName; + +/** + * Exception reason, nil if the crash was not caused by an exception. + */ +@property(nonatomic, copy, readonly) NSString *exceptionReason; + +/** + * Date and time the app started, nil if unknown. + */ +@property(nonatomic, readonly, strong) NSDate *appStartTime; + +/** + * Date and time the error occurred, nil if unknown + */ +@property(nonatomic, readonly, strong) NSDate *appErrorTime; + +/** + * Device information of the app when it crashed. + */ +@property(nonatomic, readonly, strong) MSACDevice *device; + +/** + * Identifier of the app process that crashed. + */ +@property(nonatomic, readonly, assign) NSUInteger appProcessIdentifier; + +/** + * Indicates if the app was killed while being in foreground from the iOS. + * + * This can happen if it consumed too much memory or the watchdog killed the app because it took too long to startup or blocks the main + * thread for too long, or other reasons. See Apple documentation: + * https://developer.apple.com/library/ios/qa/qa1693/_index.html. + * + * @see `[MSACCrashes didReceiveMemoryWarningInLastSession]` + */ +@property(nonatomic, readonly) BOOL isAppKill; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACWrapperCrashesHelper.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACWrapperCrashesHelper.h new file mode 100644 index 00000000..da38a3de --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Headers/MSACWrapperCrashesHelper.h @@ -0,0 +1,94 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#else +#import "MSACCrashHandlerSetupDelegate.h" +#endif + +NS_ASSUME_NONNULL_BEGIN + +@class MSACErrorReport; +@class MSACErrorAttachmentLog; +@class MSACException; + +/** + * This general class allows wrappers to supplement the Crashes SDK with their own behavior. + */ +NS_SWIFT_NAME(WrapperCrashesHelper) +@interface MSACWrapperCrashesHelper : NSObject + +/** + * The crash handler setup delegate. + * + */ +@property(class, nonatomic, weak) _Nullable id crashHandlerSetupDelegate; + +/** + * Gets the crash handler setup delegate. + * + * @deprecated + * + * @return The delegate being used by Crashes. + */ ++ (id)getCrashHandlerSetupDelegate DEPRECATED_MSG_ATTRIBUTE("Use crashHandlerSetupDelegate instead"); + +/** + * Enables or disables automatic crash processing. Passing NO causes SDK not to send reports immediately, even if "Always Send" is true. + */ +@property(class, nonatomic) BOOL automaticProcessing; + +/** + * Gets a list of unprocessed crash reports. Will block until the service starts. + * + * @return An array of unprocessed error reports. + */ +@property(class, readonly, nonatomic) NSArray *unprocessedCrashReports; + +/** + * Resumes processing for a given subset of the unprocessed reports. + * + * @param filteredIds An array containing the errorId/incidentIdentifier of each report that should be sent. + * + * @return YES if should "Always Send" is true. + */ ++ (BOOL)sendCrashReportsOrAwaitUserConfirmationForFilteredIds:(NSArray *)filteredIds; + +/** + * Sends error attachments for a particular error report. + * + * @param errorAttachments An array of error attachments that should be sent. + * @param incidentIdentifier The identifier of the error report that the attachments will be associated with. + */ ++ (void)sendErrorAttachments:(NSArray *)errorAttachments withIncidentIdentifier:(NSString *)incidentIdentifier; + +/** + * Track handled exception directly as model form. + * This API is used by wrapper SDKs. + * + * @param exception model form exception. + * @param properties dictionary of properties. + * @param attachments a list of attachments. + * + * @return handled error ID. + */ ++ (nullable NSString *)trackModelException:(MSACException *)exception + withProperties:(nullable NSDictionary *)properties + withAttachments:(nullable NSArray *)attachments; + +/** + * Get a generic error report representation for an handled exception. + * This API is used by wrapper SDKs. + * + * @param errorID handled error ID. + * + * @return an error report. + */ ++ (MSACErrorReport *)buildHandledErrorReportWithErrorID:(NSString *)errorID; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Info.plist new file mode 100644 index 00000000..eb84c652 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Info.plist differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Modules/module.modulemap new file mode 100644 index 00000000..858a5299 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64/AppCenterCrashes.framework/Modules/module.modulemap @@ -0,0 +1,10 @@ +framework module AppCenterCrashes { + umbrella header "AppCenterCrashes.h" + + export * + module * { export * } + + link framework "Foundation" + link "c++" + link "z" +} diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/AppCenterCrashes b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/AppCenterCrashes new file mode 100644 index 00000000..f25cde58 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/AppCenterCrashes differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/AppCenterCrashes.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/AppCenterCrashes.h new file mode 100644 index 00000000..30d27593 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/AppCenterCrashes.h @@ -0,0 +1,20 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#import +#import +#import +#import +#import +#else +#import "MSACCrashHandlerSetupDelegate.h" +#import "MSACCrashes.h" +#import "MSACCrashesDelegate.h" +#import "MSACErrorAttachmentLog+Utility.h" +#import "MSACErrorAttachmentLog.h" +#import "MSACWrapperCrashesHelper.h" +#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashHandlerSetupDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashHandlerSetupDelegate.h new file mode 100644 index 00000000..0a05beb8 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashHandlerSetupDelegate.h @@ -0,0 +1,34 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +/** + * This is required for Wrapper SDKs that need to provide custom behavior surrounding the setup of crash handlers. + */ +NS_SWIFT_NAME(CrashHandlerSetupDelegate) +@protocol MSACCrashHandlerSetupDelegate + +@optional + +/** + * Callback method that will be called immediately before crash handlers are set up. + */ +- (void)willSetUpCrashHandlers; + +/** + * Callback method that will be called immediately after crash handlers are set up. + */ +- (void)didSetUpCrashHandlers; + +/** + * Callback method that gets a value indicating whether the SDK should enable an uncaught exception handler. + * + * @return YES if SDK should enable uncaught exception handler, otherwise NO. + * + * @discussion Do not register an UncaughtExceptionHandler for Xamarin as we rely on the Xamarin runtime to report NSExceptions. Registering + * our own UncaughtExceptionHandler will cause the Xamarin debugger to not work properly (it will not stop for NSExceptions). + */ +- (BOOL)shouldEnableUncaughtExceptionHandler; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashes.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashes.h new file mode 100644 index 00000000..9b247403 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashes.h @@ -0,0 +1,179 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#if __has_include() +#import +#else +#import "MSACServiceAbstract.h" +#endif + +#if __has_include() +#import +#else +#import "MSACErrorReport.h" +#endif + +@class MSACCrashesDelegate; + +/** + * Custom block that handles the alert that prompts the user whether crash reports need to be processed or not. + * + * @return Returns YES to discard crash reports, otherwise NO. + */ +typedef BOOL (^MSACUserConfirmationHandler)(NSArray *_Nonnull errorReports) NS_SWIFT_NAME(UserConfirmationHandler); + +/** + * Error Logging status. + */ +typedef NS_ENUM(NSUInteger, MSACErrorLogSetting) { + + /** + * Crash reporting is disabled. + */ + MSACErrorLogSettingDisabled = 0, + + /** + * User is asked each time before sending error logs. + */ + MSACErrorLogSettingAlwaysAsk = 1, + + /** + * Each error log is send automatically. + */ + MSACErrorLogSettingAutoSend = 2 +} NS_SWIFT_NAME(ErrorLogSetting); + +/** + * Crash Manager alert user input. + */ +typedef NS_ENUM(NSUInteger, MSACUserConfirmation) { + + /** + * User chose not to send the crash report. + */ + MSACUserConfirmationDontSend = 0, + + /** + * User wants the crash report to be sent. + */ + MSACUserConfirmationSend = 1, + + /** + * User wants to send all error logs. + */ + MSACUserConfirmationAlways = 2 +} NS_SWIFT_NAME(UserConfirmation); + +@protocol MSACCrashesDelegate; + +NS_SWIFT_NAME(Crashes) +@interface MSACCrashes : MSACServiceAbstract + +///----------------------------------------------------------------------------- +/// @name Testing Crashes Feature +///----------------------------------------------------------------------------- + +/** + * Lets the app crash for easy testing of the SDK. + * + * The best way to use this is to trigger the crash with a button action. + * + * Make sure not to let the app crash in `applicationDidFinishLaunching` or any other startup method! Since otherwise the app would crash + * before the SDK could process it. + * + * Note that our SDK provides support for handling crashes that happen early on startup. Check the documentation for more information on how + * to use this. + * + * If the SDK detects an App Store environment, it will _NOT_ cause the app to crash! + */ ++ (void)generateTestCrash; + +///----------------------------------------------------------------------------- +/// @name Helpers +///----------------------------------------------------------------------------- + +/** + * Check if the app has crashed in the last session. + * + * @return Returns YES is the app has crashed in the last session. + */ +@property(class, readonly, nonatomic) BOOL hasCrashedInLastSession; + +/** + * Check if the app received memory warning in the last session. + * + * @return Returns YES is the app received memory warning in the last session. + */ +@property(class, readonly, nonatomic) BOOL hasReceivedMemoryWarningInLastSession; + +/** + * Provides details about the crash that occurred in the last app session + */ +@property(class, nullable, readonly, nonatomic) MSACErrorReport *lastSessionCrashReport; + +#if TARGET_OS_OSX || TARGET_OS_MACCATALYST +/** + * Callback for report exception. + * + * NOTE: This method should be called only if you explicitly disabled swizzling for it. + * + * On OS X runtime, not all uncaught exceptions end in a custom `NSUncaughtExceptionHandler`. + * Forward exception from overrided `[NSApplication reportException:]` to catch additional exceptions. + */ ++ (void)applicationDidReportException:(NSException *_Nonnull)exception; +#endif + +///----------------------------------------------------------------------------- +/// @name Configuration +///----------------------------------------------------------------------------- + +#if !TARGET_OS_TV +/** + * Disable the Mach exception server. + * + * By default, the SDK uses the Mach exception handler to catch fatal signals, e.g. stack overflows, via a Mach exception server. If you + * want to disable the Mach exception handler, you should call this method _BEFORE_ starting the SDK. Your typical setup code would look + * like this: + * + * `[MSACCrashes disableMachExceptionHandler]`; + * `[MSACAppCenter start:@"YOUR_APP_ID" withServices:@[[MSACCrashes class]]];` + * + * or if you are using Swift: + * + * `MSACCrashes.disableMachExceptionHandler()` + * `MSACAppCenter.start("YOUR_APP_ID", withServices: [MSACAnalytics.self, MSACCrashes.self])` + * + * tvOS does not support the Mach exception handler, thus crashes that are caused by stack overflows cannot be detected. As a result, + * disabling the Mach exception server is not available in the tvOS SDK. + * + * @discussion It can be useful to disable the Mach exception handler when you are debugging the Crashes service while developing, + * especially when you attach the debugger to your application after launch. + */ ++ (void)disableMachExceptionHandler; +#endif + +/** + * Set the delegate + * Defines the class that implements the optional protocol `MSACCrashesDelegate`. + * + * @see MSACCrashesDelegate + */ +@property(class, nonatomic, weak) id _Nullable delegate; + +/** + * Set a user confirmation handler that is invoked right before processing crash reports to determine whether sending crash reports or not. + * + * @see MSACUserConfirmationHandler + */ +@property(class, nonatomic) MSACUserConfirmationHandler _Nullable userConfirmationHandler; + +/** + * Notify SDK with a confirmation to handle the crash report. + * + * @param userConfirmation A user confirmation. + * + * @see MSACUserConfirmation. + */ ++ (void)notifyWithUserConfirmation:(MSACUserConfirmation)userConfirmation; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashesDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashesDelegate.h new file mode 100644 index 00000000..6dad5e5a --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACCrashesDelegate.h @@ -0,0 +1,70 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +@class MSACCrashes; +@class MSACErrorReport; +@class MSACErrorAttachmentLog; + +NS_ASSUME_NONNULL_BEGIN + +NS_SWIFT_NAME(CrashesDelegate) +@protocol MSACCrashesDelegate + +@optional + +/** + * Callback method that will be called before processing errors. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport that will be sent. + * + * @discussion Crashes will send logs to the server or discard/delete logs based on this method's return value. + */ +- (BOOL)crashes:(MSACCrashes *)crashes shouldProcessErrorReport:(MSACErrorReport *)errorReport NS_SWIFT_NAME(crashes(_:shouldProcess:)); + +/** + * Callback method that will be called before each error will be send to the server. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport that will be sent. + * + * @discussion Use this callback to display custom UI while crashes are sent to the server. + */ +- (void)crashes:(MSACCrashes *)crashes willSendErrorReport:(MSACErrorReport *)errorReport; + +/** + * Callback method that will be called after the SDK successfully sent an error report to the server. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport that App Center sent. + * + * @discussion Use this method to hide your custom UI. + */ +- (void)crashes:(MSACCrashes *)crashes didSucceedSendingErrorReport:(MSACErrorReport *)errorReport; + +/** + * Callback method that will be called in case the SDK was unable to send an error report to the server. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport that App Center tried to send. + * @param error The error that occurred. + */ +- (void)crashes:(MSACCrashes *)crashes didFailSendingErrorReport:(MSACErrorReport *)errorReport withError:(nullable NSError *)error; + +/** + * Method to get the attachments associated to an error report. + * + * @param crashes The instance of MSACCrashes. + * @param errorReport The errorReport associated with the returned attachments. + * + * @return The attachments associated with the given error report or nil if the error report doesn't have any attachments. + * + * @discussion Implement this method if you want attachments to the given error report. + */ +- (nullable NSArray *)attachmentsWithCrashes:(MSACCrashes *)crashes forErrorReport:(MSACErrorReport *)errorReport; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog+Utility.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog+Utility.h new file mode 100644 index 00000000..3d667f4a --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog+Utility.h @@ -0,0 +1,36 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#if __has_include() +#import +#else +#import "MSACErrorAttachmentLog.h" +#endif + +// Exporting symbols for category. +extern NSString *MSACMSACErrorLogAttachmentLogUtilityCategory; + +@interface MSACErrorAttachmentLog (Utility) + +/** + * Create an attachment with a given filename and text. + * + * @param filename The filename the attachment should get. If nil will get an automatically generated filename. + * @param text The attachment text. + * + * @return An instance of `MSACErrorAttachmentLog`. + */ ++ (MSACErrorAttachmentLog *)attachmentWithText:(NSString *)text filename:(NSString *)filename; + +/** + * Create an attachment with a given filename and `NSData` object. + * + * @param filename The filename the attachment should get. If nil will get an automatically generated filename. + * @param data The attachment data as NSData. + * @param contentType The content type of your data as MIME type. + * + * @return An instance of `MSACErrorAttachmentLog`. + */ ++ (MSACErrorAttachmentLog *)attachmentWithBinary:(NSData *)data filename:(NSString *)filename contentType:(NSString *)contentType; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog.h new file mode 100644 index 00000000..d3482f50 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog.h @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#else +#import "MSACAbstractLog.h" +#endif + +/** + * Error attachment log. + */ +NS_SWIFT_NAME(ErrorAttachmentLog) +@interface MSACErrorAttachmentLog : MSACAbstractLog + +/** + * Content type (text/plain for text). + */ +@property(nonatomic, copy) NSString *contentType; + +/** + * File name. + */ +@property(nonatomic, copy) NSString *filename; + +/** + * The attachment data. + */ +@property(nonatomic, copy) NSData *data; + +/** + * Initialize an attachment with a given filename and `NSData` object. + * + * @param filename The filename the attachment should get. If nil will get an automatically generated filename. + * @param data The attachment data as `NSData`. + * @param contentType The content type of your data as MIME type. + * + * @return An instance of `MSACErrorAttachmentLog`. + */ +- (instancetype)initWithFilename:(NSString *)filename attachmentBinary:(NSData *)data contentType:(NSString *)contentType; + +/** + * Initialize an attachment with a given filename and text. + * + * @param filename The filename the attachment should get. If nil will get an automatically generated filename. + * @param text The attachment text. + * + * @return An instance of `MSACErrorAttachmentLog`. + */ +- (instancetype)initWithFilename:(NSString *)filename attachmentText:(NSString *)text; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorReport.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorReport.h new file mode 100644 index 00000000..fb649374 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACErrorReport.h @@ -0,0 +1,67 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +@class MSACDevice; + +NS_SWIFT_NAME(ErrorReport) +@interface MSACErrorReport : NSObject + +/** + * UUID for the crash report. + */ +@property(nonatomic, copy, readonly) NSString *incidentIdentifier; + +/** + * UUID for the app installation on the device. + */ +@property(nonatomic, copy, readonly) NSString *reporterKey; + +/** + * Signal that caused the crash. + */ +@property(nonatomic, copy, readonly) NSString *signal; + +/** + * Exception name that triggered the crash, nil if the crash was not caused by an exception. + */ +@property(nonatomic, copy, readonly) NSString *exceptionName; + +/** + * Exception reason, nil if the crash was not caused by an exception. + */ +@property(nonatomic, copy, readonly) NSString *exceptionReason; + +/** + * Date and time the app started, nil if unknown. + */ +@property(nonatomic, readonly, strong) NSDate *appStartTime; + +/** + * Date and time the error occurred, nil if unknown + */ +@property(nonatomic, readonly, strong) NSDate *appErrorTime; + +/** + * Device information of the app when it crashed. + */ +@property(nonatomic, readonly, strong) MSACDevice *device; + +/** + * Identifier of the app process that crashed. + */ +@property(nonatomic, readonly, assign) NSUInteger appProcessIdentifier; + +/** + * Indicates if the app was killed while being in foreground from the iOS. + * + * This can happen if it consumed too much memory or the watchdog killed the app because it took too long to startup or blocks the main + * thread for too long, or other reasons. See Apple documentation: + * https://developer.apple.com/library/ios/qa/qa1693/_index.html. + * + * @see `[MSACCrashes didReceiveMemoryWarningInLastSession]` + */ +@property(nonatomic, readonly) BOOL isAppKill; + +@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACWrapperCrashesHelper.h b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACWrapperCrashesHelper.h new file mode 100644 index 00000000..da38a3de --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Headers/MSACWrapperCrashesHelper.h @@ -0,0 +1,94 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#import + +#if __has_include() +#import +#else +#import "MSACCrashHandlerSetupDelegate.h" +#endif + +NS_ASSUME_NONNULL_BEGIN + +@class MSACErrorReport; +@class MSACErrorAttachmentLog; +@class MSACException; + +/** + * This general class allows wrappers to supplement the Crashes SDK with their own behavior. + */ +NS_SWIFT_NAME(WrapperCrashesHelper) +@interface MSACWrapperCrashesHelper : NSObject + +/** + * The crash handler setup delegate. + * + */ +@property(class, nonatomic, weak) _Nullable id crashHandlerSetupDelegate; + +/** + * Gets the crash handler setup delegate. + * + * @deprecated + * + * @return The delegate being used by Crashes. + */ ++ (id)getCrashHandlerSetupDelegate DEPRECATED_MSG_ATTRIBUTE("Use crashHandlerSetupDelegate instead"); + +/** + * Enables or disables automatic crash processing. Passing NO causes SDK not to send reports immediately, even if "Always Send" is true. + */ +@property(class, nonatomic) BOOL automaticProcessing; + +/** + * Gets a list of unprocessed crash reports. Will block until the service starts. + * + * @return An array of unprocessed error reports. + */ +@property(class, readonly, nonatomic) NSArray *unprocessedCrashReports; + +/** + * Resumes processing for a given subset of the unprocessed reports. + * + * @param filteredIds An array containing the errorId/incidentIdentifier of each report that should be sent. + * + * @return YES if should "Always Send" is true. + */ ++ (BOOL)sendCrashReportsOrAwaitUserConfirmationForFilteredIds:(NSArray *)filteredIds; + +/** + * Sends error attachments for a particular error report. + * + * @param errorAttachments An array of error attachments that should be sent. + * @param incidentIdentifier The identifier of the error report that the attachments will be associated with. + */ ++ (void)sendErrorAttachments:(NSArray *)errorAttachments withIncidentIdentifier:(NSString *)incidentIdentifier; + +/** + * Track handled exception directly as model form. + * This API is used by wrapper SDKs. + * + * @param exception model form exception. + * @param properties dictionary of properties. + * @param attachments a list of attachments. + * + * @return handled error ID. + */ ++ (nullable NSString *)trackModelException:(MSACException *)exception + withProperties:(nullable NSDictionary *)properties + withAttachments:(nullable NSArray *)attachments; + +/** + * Get a generic error report representation for an handled exception. + * This API is used by wrapper SDKs. + * + * @param errorID handled error ID. + * + * @return an error report. + */ ++ (MSACErrorReport *)buildHandledErrorReportWithErrorID:(NSString *)errorID; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Info.plist b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Info.plist new file mode 100644 index 00000000..fc015f2f Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Info.plist differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Modules/module.modulemap b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Modules/module.modulemap new file mode 100644 index 00000000..858a5299 --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/Modules/module.modulemap @@ -0,0 +1,10 @@ +framework module AppCenterCrashes { + umbrella header "AppCenterCrashes.h" + + export * + module * { export * } + + link framework "Foundation" + link "c++" + link "z" +} diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeDirectory b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeDirectory new file mode 100644 index 00000000..ab0757c7 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeDirectory differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeRequirements b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeRequirements new file mode 100644 index 00000000..dbf9d614 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeRequirements differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeRequirements-1 b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeRequirements-1 new file mode 100644 index 00000000..0efb7710 Binary files /dev/null and b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeRequirements-1 differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeResources b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeResources new file mode 100644 index 00000000..3b810fdb --- /dev/null +++ b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeResources @@ -0,0 +1,237 @@ + + + + + files + + Headers/AppCenterCrashes.h + + eS1L4vZ9uOJZWtS26mqGyfAfCvE= + + Headers/MSACCrashHandlerSetupDelegate.h + + uzF7JXTLqzHmtvY1P75OKDVr5eA= + + Headers/MSACCrashes.h + + eHC+/SrZ0R08kZxHQSoVyQf+vCo= + + Headers/MSACCrashesDelegate.h + + qnhKqY+vAsatzNxGZyoxFMmwIxI= + + Headers/MSACErrorAttachmentLog+Utility.h + + ckZsMUyucVQ1SglcnBVzx7JxiOg= + + Headers/MSACErrorAttachmentLog.h + + dMy2azn9T1iXSiDDZer3HSNemjc= + + Headers/MSACErrorReport.h + + OZkejnc70UL+wPdiV8fw2UAcBR0= + + Headers/MSACWrapperCrashesHelper.h + + hOnzBmQWDawGfE7ml3y93JiamCw= + + Info.plist + + Gl40ftO1e9r8d79/SNpwovo9s5o= + + Modules/module.modulemap + + GcHl2+DKz5+ccrOUhvzEQR/7ph8= + + + files2 + + Headers/AppCenterCrashes.h + + hash + + eS1L4vZ9uOJZWtS26mqGyfAfCvE= + + hash2 + + NFGxm6YjpGCjJNEfjv5SM7MyktNj/PHvSXflRV/5FPQ= + + + Headers/MSACCrashHandlerSetupDelegate.h + + hash + + uzF7JXTLqzHmtvY1P75OKDVr5eA= + + hash2 + + VFNM3t9XTyOH2PM7hKUjHlq+mSBtYie1QqWzP4Y/X2Y= + + + Headers/MSACCrashes.h + + hash + + eHC+/SrZ0R08kZxHQSoVyQf+vCo= + + hash2 + + y7g3W+WahfsOp6fIuAPSEK9JbhjeFSzuTLIVlH5ij2o= + + + Headers/MSACCrashesDelegate.h + + hash + + qnhKqY+vAsatzNxGZyoxFMmwIxI= + + hash2 + + wBmXt8Cq5mUI+93edo6jk8yfyfYDxY35H+c4Lx6qjGE= + + + Headers/MSACErrorAttachmentLog+Utility.h + + hash + + ckZsMUyucVQ1SglcnBVzx7JxiOg= + + hash2 + + 1rzGYpSxmqx0iwrRdYi3QVDTPYeSHeJ98Rc12R2qAyk= + + + Headers/MSACErrorAttachmentLog.h + + hash + + dMy2azn9T1iXSiDDZer3HSNemjc= + + hash2 + + vK9kyTt1KPC2TzzlnqLJlPp8CAel2LBSWTTYc55owTw= + + + Headers/MSACErrorReport.h + + hash + + OZkejnc70UL+wPdiV8fw2UAcBR0= + + hash2 + + Ph0QprvD6QWBekvlfshUpVdljO98TuiI8PRbZO/MB0Y= + + + Headers/MSACWrapperCrashesHelper.h + + hash + + hOnzBmQWDawGfE7ml3y93JiamCw= + + hash2 + + dlGy++pjkWr8/y3Lw/UjWLU1uyIibB55gFuXhI7YdcM= + + + Modules/module.modulemap + + hash + + GcHl2+DKz5+ccrOUhvzEQR/7ph8= + + hash2 + + H27O4QPsA81Fgd3E2EpY562XQeivkHXpLp46tsiqAD8= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeSignature b/Pods/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework/tvos-arm64_x86_64-simulator/AppCenterCrashes.framework/_CodeSignature/CodeSignature new file mode 100644 index 00000000..e69de29b diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/LICENSE b/Pods/AppCenter/AppCenter-SDK-Apple/LICENSE similarity index 100% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/LICENSE rename to Pods/AppCenter/AppCenter-SDK-Apple/LICENSE diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/README.md b/Pods/AppCenter/AppCenter-SDK-Apple/README.md similarity index 75% rename from Pods/AppCenter/AppCenter-SDK-Apple/iOS/README.md rename to Pods/AppCenter/AppCenter-SDK-Apple/README.md index 668328cc..f78cb33d 100644 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/README.md +++ b/Pods/AppCenter/AppCenter-SDK-Apple/README.md @@ -1,4 +1,3 @@ -[![Coverage Status](https://codecov.io/gh/microsoft/appcenter-sdk-apple/branch/develop/graph/badge.svg?token=6dlCB5riVi)](https://codecov.io/gh/microsoft/appcenter-sdk-apple) [![GitHub Release](https://img.shields.io/github/release/microsoft/appcenter-sdk-apple.svg)](https://github.com/microsoft/appcenter-sdk-apple/releases/latest) [![CocoaPods](https://img.shields.io/cocoapods/v/AppCenter.svg)](https://cocoapods.org/pods/AppCenter) [![license](https://img.shields.io/badge/license-MIT%20License-00AAAA.svg)](https://github.com/microsoft/appcenter-sdk-apple/blob/master/LICENSE) @@ -16,8 +15,6 @@ The App Center SDK uses a modular architecture so you can use any or all of the 3. **App Center Distribute**: App Center Distribute lets your users install a new version of the app when you distribute it with App Center. With a new version of the app available, the SDK will present an update dialog to the users to either download or postpone the new version. Once they choose to update, the SDK will start to update your application. This feature is automatically disabled on versions of your app deployed to the Apple App Store. **Not available for macOS and tvOS*. -4. **App Center Push**: App Center Push enables you to send push notifications to users of your app from the App Center portal. You can also segment your user base based on a set of properties and send them targeted notifications. **Not available for tvOS*. - ## 1. Get started It is super easy to use App Center. Have a look at our [get started documentation](https://docs.microsoft.com/en-us/appcenter/sdk/getting-started/ios) and onboard your app within minutes. Our [detailed documentation](https://docs.microsoft.com/en-us/appcenter/sdk/) is available as well. @@ -26,12 +23,6 @@ It is super easy to use App Center. Have a look at our [get started documentatio We are looking forward to your contributions via pull requests. -To contribute to the SDK, please - -* install Xcode 10.1 on your Mac. -* install [Jazzy](https://github.com/realm/jazzy) to be able to generate documentation. -* install `clang-format` for code formatting via [Homebrew](https://brew.sh) using the command `brew install clang-format`. - ### 2.1 Code of Conduct This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. @@ -40,10 +31,6 @@ This project has adopted the [Microsoft Open Source Code of Conduct](https://ope You must sign a [Contributor License Agreement](https://cla.microsoft.com/) before submitting your pull request. To complete the Contributor License Agreement (CLA), you will need to submit a request via the [form](https://cla.microsoft.com/) and then electronically sign the CLA when you receive the email containing the link to the document. You need to sign the CLA only once to cover submission to any Microsoft OSS project. -### 2.3 Code Formatting - -All Objective-C files follow LLVM coding style (with a few exceptions) and are formatted accordingly. To format your changes, make sure you have the `clang-format` tool. It can be installed with [Homebrew](https://brew.sh) using the command `brew install clang-format`. Once you have installed `clang-format`, run `./clang-format-changed-files.sh` from the repository root - this will format all files that have changes against the remote `develop` branch (it will also perform a `git fetch`). - ## 3. Contact ### 3.1 Support diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/AppCenter.h b/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/AppCenter.h deleted file mode 100644 index 6ff9d888..00000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/AppCenter.h +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#import "MSAbstractLog.h" -#import "MSAppCenter.h" -#import "MSAppCenterErrors.h" -#import "MSChannelGroupProtocol.h" -#import "MSChannelProtocol.h" -#import "MSConstants.h" -#import "MSCustomProperties.h" -#import "MSDevice.h" -#import "MSEnable.h" -#import "MSLog.h" -#import "MSLogWithProperties.h" -#import "MSLogger.h" -#import "MSService.h" -#import "MSServiceAbstract.h" -#import "MSWrapperLogger.h" -#import "MSWrapperSdk.h" diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSAppCenterErrors.h b/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSAppCenterErrors.h deleted file mode 100644 index e57cf921..00000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSAppCenterErrors.h +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MS_APP_CENTER_ERRORS_H -#define MS_APP_CENTER_ERRORS_H - -#import - -#define MS_APP_CENTER_BASE_DOMAIN @"com.Microsoft.AppCenter." - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - Domain - -static NSString *const kMSACErrorDomain = MS_APP_CENTER_BASE_DOMAIN @"ErrorDomain"; - -#pragma mark - General - -// Error codes. -NS_ENUM(NSInteger){MSACLogInvalidContainerErrorCode = 1, MSACCanceledErrorCode = 2, MSACDisabledErrorCode = 3}; - -// Error descriptions. -static NSString const *kMSACLogInvalidContainerErrorDesc = @"Invalid log container."; -static NSString const *kMSACCanceledErrorDesc = @"The operation was canceled."; -static NSString const *kMSACDisabledErrorDesc = @"The service is disabled."; - -#pragma mark - Connection - -// Error codes. -NS_ENUM(NSInteger){MSACConnectionPausedErrorCode = 100, MSACConnectionHttpErrorCode = 101}; - -// Error descriptions. -static NSString const *kMSACConnectionHttpErrorDesc = @"An HTTP error occured."; -static NSString const *kMSACConnectionPausedErrorDesc = @"Canceled, connection paused with log deletion."; - -// Error user info keys. -static NSString const *kMSACConnectionHttpCodeErrorKey = @"MSACConnectionHttpCode"; - -NS_ASSUME_NONNULL_END - -#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSChannelGroupProtocol.h b/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSChannelGroupProtocol.h deleted file mode 100644 index b786ff01..00000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSChannelGroupProtocol.h +++ /dev/null @@ -1,83 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MS_CHANNEL_GROUP_PROTOCOL_H -#define MS_CHANNEL_GROUP_PROTOCOL_H - -#import - -#import "MSChannelProtocol.h" - -NS_ASSUME_NONNULL_BEGIN - -@class MSChannelUnitConfiguration; - -@protocol MSIngestionProtocol; -@protocol MSChannelUnitProtocol; - -/** - * `MSChannelGroupProtocol` represents a kind of channel that contains constituent MSChannelUnit objects. When an operation from the - * `MSChannelProtocol` is performed on the group, that operation should be propagated to its constituent MSChannelUnit objects. - */ -@protocol MSChannelGroupProtocol - -/** - * Initialize a channel unit with the given configuration. - * - * @param configuration channel configuration. - * - * @return The added `MSChannelUnitProtocol`. Use this object to enqueue logs. - */ -- (id)addChannelUnitWithConfiguration:(MSChannelUnitConfiguration *)configuration; - -/** - * Initialize a channel unit with the given configuration. - * - * @param configuration channel configuration. - * @param ingestion The alternative ingestion object - * - * @return The added `MSChannelUnitProtocol`. Use this object to enqueue logs. - */ -- (id)addChannelUnitWithConfiguration:(MSChannelUnitConfiguration *)configuration - withIngestion:(nullable id)ingestion; - -/** - * Change the base URL (schema + authority + port only) used to communicate with the backend. - * - * @param logUrl base URL to use for backend communication. - */ -- (void)setLogUrl:(NSString *)logUrl; - -/** - * Set the app secret. - * - * @param appSecret The app secret. - */ -- (void)setAppSecret:(NSString *)appSecret; - -/** - * Set the maximum size of the internal storage. This method must be called before App Center is started. - * - * @discussion The default maximum database size is 10485760 bytes (10 MiB). - * - * @param sizeInBytes Maximum size of the internal storage in bytes. This will be rounded up to the nearest multiple of a SQLite page size - * (default is 4096 bytes). Values below 24576 bytes (24 KiB) will be ignored. - * @param completionHandler Callback that is invoked when the database size has been set. The `BOOL` parameter is `YES` if changing the size - * is successful, and `NO` otherwise. - */ -- (void)setMaxStorageSize:(long)sizeInBytes completionHandler:(nullable void (^)(BOOL))completionHandler; - -/** - * Return a channel unit instance for the given groupId. - * - * @param groupId The group ID for a channel unit. - * - * @return A channel unit instance or `nil`. - */ -- (id)channelUnitForGroupId:(NSString *)groupId; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSConstants.h b/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSConstants.h deleted file mode 100644 index 047c9f71..00000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSConstants.h +++ /dev/null @@ -1,170 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -/** - * Log Levels - */ -typedef NS_ENUM(NSUInteger, MSLogLevel) { - - /** - * Logging will be very chatty - */ - MSLogLevelVerbose = 2, - - /** - * Debug information will be logged - */ - MSLogLevelDebug = 3, - - /** - * Information will be logged - */ - MSLogLevelInfo = 4, - - /** - * Errors and warnings will be logged - */ - MSLogLevelWarning = 5, - - /** - * Errors will be logged - */ - MSLogLevelError = 6, - - /** - * Only critical errors will be logged - */ - MSLogLevelAssert = 7, - - /** - * Logging is disabled - */ - MSLogLevelNone = 99 -}; - -typedef NSString * (^MSLogMessageProvider)(void); -typedef void (^MSLogHandler)(MSLogMessageProvider messageProvider, MSLogLevel logLevel, NSString *tag, const char *file, - const char *function, uint line); - -/** - * Channel priorities, check the kMSPriorityCount if you add a new value. - * The order matters here! Values NEED to range from low priority to high priority. - */ -typedef NS_ENUM(NSInteger, MSPriority) { MSPriorityBackground, MSPriorityDefault, MSPriorityHigh }; -static short const kMSPriorityCount = MSPriorityHigh + 1; - -/** - * The priority by which the modules are initialized. - * MSPriorityMax is reserved for only 1 module and this needs to be Crashes. - * Crashes needs to be initialized first to catch crashes in our other SDK Modules (which will hopefully never happen) and to avoid losing - * any log at crash time. - */ -typedef NS_ENUM(NSInteger, MSInitializationPriority) { - MSInitializationPriorityDefault = 500, - MSInitializationPriorityHigh = 750, - MSInitializationPriorityMax = 999 -}; - -/** - * Enum with the different HTTP status codes. - */ -typedef NS_ENUM(NSInteger, MSHTTPCodesNo) { - - // Invalid - MSHTTPCodesNo0XXInvalidUnknown = 0, - - // Informational - MSHTTPCodesNo1XXInformationalUnknown = 1, - MSHTTPCodesNo100Continue = 100, - MSHTTPCodesNo101SwitchingProtocols = 101, - MSHTTPCodesNo102Processing = 102, - - // Success - MSHTTPCodesNo2XXSuccessUnknown = 2, - MSHTTPCodesNo200OK = 200, - MSHTTPCodesNo201Created = 201, - MSHTTPCodesNo202Accepted = 202, - MSHTTPCodesNo203NonAuthoritativeInformation = 203, - MSHTTPCodesNo204NoContent = 204, - MSHTTPCodesNo205ResetContent = 205, - MSHTTPCodesNo206PartialContent = 206, - MSHTTPCodesNo207MultiStatus = 207, - MSHTTPCodesNo208AlreadyReported = 208, - MSHTTPCodesNo209IMUsed = 209, - - // Redirection - MSHTTPCodesNo3XXSuccessUnknown = 3, - MSHTTPCodesNo300MultipleChoices = 300, - MSHTTPCodesNo301MovedPermanently = 301, - MSHTTPCodesNo302Found = 302, - MSHTTPCodesNo303SeeOther = 303, - MSHTTPCodesNo304NotModified = 304, - MSHTTPCodesNo305UseProxy = 305, - MSHTTPCodesNo306SwitchProxy = 306, - MSHTTPCodesNo307TemporaryRedirect = 307, - MSHTTPCodesNo308PermanentRedirect = 308, - - // Client error - MSHTTPCodesNo4XXSuccessUnknown = 4, - MSHTTPCodesNo400BadRequest = 400, - MSHTTPCodesNo401Unauthorised = 401, - MSHTTPCodesNo402PaymentRequired = 402, - MSHTTPCodesNo403Forbidden = 403, - MSHTTPCodesNo404NotFound = 404, - MSHTTPCodesNo405MethodNotAllowed = 405, - MSHTTPCodesNo406NotAcceptable = 406, - MSHTTPCodesNo407ProxyAuthenticationRequired = 407, - MSHTTPCodesNo408RequestTimeout = 408, - MSHTTPCodesNo409Conflict = 409, - MSHTTPCodesNo410Gone = 410, - MSHTTPCodesNo411LengthRequired = 411, - MSHTTPCodesNo412PreconditionFailed = 412, - MSHTTPCodesNo413RequestEntityTooLarge = 413, - MSHTTPCodesNo414RequestURITooLong = 414, - MSHTTPCodesNo415UnsupportedMediaType = 415, - MSHTTPCodesNo416RequestedRangeNotSatisfiable = 416, - MSHTTPCodesNo417ExpectationFailed = 417, - MSHTTPCodesNo418IamATeapot = 418, - MSHTTPCodesNo419AuthenticationTimeout = 419, - MSHTTPCodesNo420MethodFailureSpringFramework = 420, - MSHTTPCodesNo420EnhanceYourCalmTwitter = 4200, - MSHTTPCodesNo422UnprocessableEntity = 422, - MSHTTPCodesNo423Locked = 423, - MSHTTPCodesNo424FailedDependency = 424, - MSHTTPCodesNo424MethodFailureWebDaw = 4240, - MSHTTPCodesNo425UnorderedCollection = 425, - MSHTTPCodesNo426UpgradeRequired = 426, - MSHTTPCodesNo428PreconditionRequired = 428, - MSHTTPCodesNo429TooManyRequests = 429, - MSHTTPCodesNo431RequestHeaderFieldsTooLarge = 431, - MSHTTPCodesNo444NoResponseNginx = 444, - MSHTTPCodesNo449RetryWithMicrosoft = 449, - MSHTTPCodesNo450BlockedByWindowsParentalControls = 450, - MSHTTPCodesNo451RedirectMicrosoft = 451, - MSHTTPCodesNo451UnavailableForLegalReasons = 4510, - MSHTTPCodesNo494RequestHeaderTooLargeNginx = 494, - MSHTTPCodesNo495CertErrorNginx = 495, - MSHTTPCodesNo496NoCertNginx = 496, - MSHTTPCodesNo497HTTPToHTTPSNginx = 497, - MSHTTPCodesNo499ClientClosedRequestNginx = 499, - - // Server error - MSHTTPCodesNo5XXSuccessUnknown = 5, - MSHTTPCodesNo500InternalServerError = 500, - MSHTTPCodesNo501NotImplemented = 501, - MSHTTPCodesNo502BadGateway = 502, - MSHTTPCodesNo503ServiceUnavailable = 503, - MSHTTPCodesNo504GatewayTimeout = 504, - MSHTTPCodesNo505HTTPVersionNotSupported = 505, - MSHTTPCodesNo506VariantAlsoNegotiates = 506, - MSHTTPCodesNo507InsufficientStorage = 507, - MSHTTPCodesNo508LoopDetected = 508, - MSHTTPCodesNo509BandwidthLimitExceeded = 509, - MSHTTPCodesNo510NotExtended = 510, - MSHTTPCodesNo511NetworkAuthenticationRequired = 511, - MSHTTPCodesNo522ConnectionTimedOut = 522, - MSHTTPCodesNo598NetworkReadTimeoutErrorUnknown = 598, - MSHTTPCodesNo599NetworkConnectTimeoutErrorUnknown = 599 -}; diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSLogger.h b/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSLogger.h deleted file mode 100644 index 7eb5c3be..00000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSLogger.h +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#import "MSConstants.h" - -#define MSLog(_level, _tag, _message) \ - [MSLogger logMessage:_message level:_level tag:_tag file:__FILE__ function:__PRETTY_FUNCTION__ line:__LINE__] -#define MSLogAssert(tag, format, ...) \ - MSLog(MSLogLevelAssert, tag, (^{ \ - return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ - })) -#define MSLogError(tag, format, ...) \ - MSLog(MSLogLevelError, tag, (^{ \ - return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ - })) -#define MSLogWarning(tag, format, ...) \ - MSLog(MSLogLevelWarning, tag, (^{ \ - return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ - })) -#define MSLogInfo(tag, format, ...) \ - MSLog(MSLogLevelInfo, tag, (^{ \ - return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ - })) -#define MSLogDebug(tag, format, ...) \ - MSLog(MSLogLevelDebug, tag, (^{ \ - return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ - })) -#define MSLogVerbose(tag, format, ...) \ - MSLog(MSLogLevelVerbose, tag, (^{ \ - return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ - })) - -@interface MSLogger : NSObject - -+ (void)logMessage:(MSLogMessageProvider)messageProvider - level:(MSLogLevel)loglevel - tag:(NSString *)tag - file:(const char *)file - function:(const char *)function - line:(uint)line; - -@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSService.h b/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSService.h deleted file mode 100644 index 59997b82..00000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/Headers/MSService.h +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MS_SERVICE_H -#define MS_SERVICE_H - -#import - -/** - * Protocol declaring service logic. - */ -@protocol MSService - -/** - * Enable or disable this service. - * The state is persisted in the device's storage across application launches. - * - * @param isEnabled Whether this service is enabled or not. - * - * @see isEnabled - */ -+ (void)setEnabled:(BOOL)isEnabled; - -/** - * Indicates whether this service is enabled. - * - * @return `YES` if this service is enabled, `NO` if it is not. - * - * @see setEnabled: - */ -+ (BOOL)isEnabled; - -@end - -#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/PrivateHeaders/MSConstants+Flags.h b/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/PrivateHeaders/MSConstants+Flags.h deleted file mode 100644 index 0634d165..00000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenter.framework/PrivateHeaders/MSConstants+Flags.h +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -typedef NS_OPTIONS(NSUInteger, MSFlags) { - MSFlagsNone = (0 << 0), // => 00000000 - MSFlagsNormal = (1 << 0), // => 00000001 - MSFlagsCritical = (1 << 1), // => 00000010 - MSFlagsPersistenceNormal DEPRECATED_MSG_ATTRIBUTE("please use MSFlagsNormal") = MSFlagsNormal, - MSFlagsPersistenceCritical DEPRECATED_MSG_ATTRIBUTE("please use MSFlagsCritical") = MSFlagsCritical, - MSFlagsDefault = MSFlagsNormal -}; diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/AppCenterAnalytics b/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/AppCenterAnalytics deleted file mode 100644 index a9546507..00000000 Binary files a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/AppCenterAnalytics and /dev/null differ diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h b/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h deleted file mode 100644 index c5fcf55a..00000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#import "MSAbstractLog.h" -#import "MSAnalytics.h" -#import "MSAnalyticsTransmissionTarget.h" -#import "MSAnalyticsAuthenticationProvider.h" -#import "MSAnalyticsAuthenticationProviderDelegate.h" -#import "MSConstants+Flags.h" -#import "MSEventLog.h" -#import "MSEventProperties.h" diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSAnalyticsAuthenticationProviderDelegate.h b/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSAnalyticsAuthenticationProviderDelegate.h deleted file mode 100644 index bbca0fe7..00000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSAnalyticsAuthenticationProviderDelegate.h +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -@class MSAnalyticsAuthenticationProvider; - -/** - * Completion handler that returns the authentication token and the expiry date. - */ -typedef void (^MSAnalyticsAuthenticationProviderCompletionBlock)(NSString *token, NSDate *expiryDate); - -@protocol MSAnalyticsAuthenticationProviderDelegate - -/** - * Required method that needs to be called from within your authentication flow to provide the authentication token and expiry date. - * - * @param authenticationProvider The authentication provider. - * @param completionHandler The completion handler. - */ -- (void)authenticationProvider:(MSAnalyticsAuthenticationProvider *)authenticationProvider - acquireTokenWithCompletionHandler:(MSAnalyticsAuthenticationProviderCompletionBlock)completionHandler; - -@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSConstants+Flags.h b/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSConstants+Flags.h deleted file mode 100644 index 0634d165..00000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSConstants+Flags.h +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -typedef NS_OPTIONS(NSUInteger, MSFlags) { - MSFlagsNone = (0 << 0), // => 00000000 - MSFlagsNormal = (1 << 0), // => 00000001 - MSFlagsCritical = (1 << 1), // => 00000010 - MSFlagsPersistenceNormal DEPRECATED_MSG_ATTRIBUTE("please use MSFlagsNormal") = MSFlagsNormal, - MSFlagsPersistenceCritical DEPRECATED_MSG_ATTRIBUTE("please use MSFlagsCritical") = MSFlagsCritical, - MSFlagsDefault = MSFlagsNormal -}; diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSEventLog.h b/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSEventLog.h deleted file mode 100644 index fd341e14..00000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSEventLog.h +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import "MSLogWithNameAndProperties.h" - -@class MSEventProperties; -@class MSMetadataExtension; - -@interface MSEventLog : MSLogWithNameAndProperties - -/** - * Unique identifier for this event. - */ -@property(nonatomic, copy) NSString *eventId; - -/** - * Event properties. - */ -@property(nonatomic, strong) MSEventProperties *typedProperties; - -@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSLogWithNameAndProperties.h b/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSLogWithNameAndProperties.h deleted file mode 100644 index 3491cf6c..00000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSLogWithNameAndProperties.h +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#import "MSLogWithProperties.h" - -@interface MSLogWithNameAndProperties : MSLogWithProperties - -/** - * Name of the event. - */ -@property(nonatomic, copy) NSString *name; - -@end diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSService.h b/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSService.h deleted file mode 100644 index 59997b82..00000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework/Headers/MSService.h +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MS_SERVICE_H -#define MS_SERVICE_H - -#import - -/** - * Protocol declaring service logic. - */ -@protocol MSService - -/** - * Enable or disable this service. - * The state is persisted in the device's storage across application launches. - * - * @param isEnabled Whether this service is enabled or not. - * - * @see isEnabled - */ -+ (void)setEnabled:(BOOL)isEnabled; - -/** - * Indicates whether this service is enabled. - * - * @return `YES` if this service is enabled, `NO` if it is not. - * - * @see setEnabled: - */ -+ (BOOL)isEnabled; - -@end - -#endif diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Headers/AppCenterCrashes.h b/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Headers/AppCenterCrashes.h deleted file mode 100644 index d2920b3f..00000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Headers/AppCenterCrashes.h +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#import "MSCrashHandlerSetupDelegate.h" -#import "MSCrashes.h" -#import "MSCrashesDelegate.h" -#import "MSErrorAttachmentLog+Utility.h" -#import "MSErrorAttachmentLog.h" -#import "MSWrapperCrashesHelper.h" diff --git a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Headers/MSService.h b/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Headers/MSService.h deleted file mode 100644 index 59997b82..00000000 --- a/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework/Headers/MSService.h +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MS_SERVICE_H -#define MS_SERVICE_H - -#import - -/** - * Protocol declaring service logic. - */ -@protocol MSService - -/** - * Enable or disable this service. - * The state is persisted in the device's storage across application launches. - * - * @param isEnabled Whether this service is enabled or not. - * - * @see isEnabled - */ -+ (void)setEnabled:(BOOL)isEnabled; - -/** - * Indicates whether this service is enabled. - * - * @return `YES` if this service is enabled, `NO` if it is not. - * - * @see setEnabled: - */ -+ (BOOL)isEnabled; - -@end - -#endif diff --git a/Pods/Manifest.lock b/Pods/Manifest.lock index 71d870d4..0caa3d4c 100644 --- a/Pods/Manifest.lock +++ b/Pods/Manifest.lock @@ -1,11 +1,11 @@ PODS: - - AppCenter (3.1.1): - - AppCenter/Analytics (= 3.1.1) - - AppCenter/Crashes (= 3.1.1) - - AppCenter/Analytics (3.1.1): + - AppCenter (4.2.0): + - AppCenter/Analytics (= 4.2.0) + - AppCenter/Crashes (= 4.2.0) + - AppCenter/Analytics (4.2.0): - AppCenter/Core - - AppCenter/Core (3.1.1) - - AppCenter/Crashes (3.1.1): + - AppCenter/Core (4.2.0) + - AppCenter/Crashes (4.2.0): - AppCenter/Core - KeychainAccess (4.2.1) - Nuke (7.6.3) @@ -13,7 +13,7 @@ PODS: - STPrivilegedTask (1.0.7) DEPENDENCIES: - - AppCenter (~> 3.1.0) + - AppCenter (~> 4.2.0) - KeychainAccess (~> 4.2.0) - Nuke (~> 7.0) - Sparkle @@ -36,12 +36,12 @@ CHECKOUT OPTIONS: :git: https://github.com/rileytestut/STPrivilegedTask.git SPEC CHECKSUMS: - AppCenter: 513d32888854d67d8cfbd3a8db16aeb5fb2e2a75 + AppCenter: 87ef6eefd8ade4df59e88951288587429f3dd2a5 KeychainAccess: 9b07f665298d13c3a85881bd3171f6f49b8151c1 Nuke: 44130e95e09463f8773ae4b96b90de1eba6b3350 Sparkle: 270cd27377bf04e9c128af06e3a22d0f572d6ee3 STPrivilegedTask: 56c3397238a1ec07720fb877a044898373cd2c68 -PODFILE CHECKSUM: 6e3f9d2fc666262d43ff8079a3f9149b8f3376ee +PODFILE CHECKSUM: ab4f64a189ce4136fef92ee4057edd44e3266b69 -COCOAPODS: 1.10.0 +COCOAPODS: 1.10.1 diff --git a/Pods/Pods.xcodeproj/project.pbxproj b/Pods/Pods.xcodeproj/project.pbxproj index bb8619ef..09f9709b 100644 --- a/Pods/Pods.xcodeproj/project.pbxproj +++ b/Pods/Pods.xcodeproj/project.pbxproj @@ -9,8 +9,9 @@ /* Begin PBXAggregateTarget section */ A3282A5B2437E609EEB85861D7ECE717 /* AppCenter */ = { isa = PBXAggregateTarget; - buildConfigurationList = D0944D0DEFF9CDF0CBE6D4A41B195020 /* Build configuration list for PBXAggregateTarget "AppCenter" */; + buildConfigurationList = 5242D03FC5C1EAA4F817066052F80607 /* Build configuration list for PBXAggregateTarget "AppCenter" */; buildPhases = ( + AAD7D4593ED3B713FDA455F0E36487CE /* [CP] Copy XCFrameworks */, ); dependencies = ( ); @@ -65,27 +66,20 @@ /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ - 2EA4EDDDAEA5848C1295D67C4DDB798A /* PBXContainerItemProxy */ = { + 3567E4665F97E6889AF0EB5590AB2976 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 05327B1DB6967DBAA19D1ED734FDBD96; + remoteInfo = STPrivilegedTask; + }; + 64D630002D0AAEE7CC4BA807A38271F9 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; remoteGlobalIDString = ED77B4B88587C894E85C361023D67C53; remoteInfo = Sparkle; }; - 505B34BBF0BD9CE5322714B7F81FBF38 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 062A64896E847A6749F58B6BA9A931B1; - remoteInfo = Nuke; - }; - 61450B02D24261EB438DA3798764CC42 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 615C831BCE925ED486B225B87E44926D; - remoteInfo = KeychainAccess; - }; 7AC4C92BEAB80F767E1D3BD2A6549F48 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; @@ -93,14 +87,21 @@ remoteGlobalIDString = A3282A5B2437E609EEB85861D7ECE717; remoteInfo = AppCenter; }; - 9CC77DE7F34CE47A267F06CFDB4F8140 /* PBXContainerItemProxy */ = { + 9171572156107EE505BA2730D1360B4E /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; - remoteGlobalIDString = 05327B1DB6967DBAA19D1ED734FDBD96; - remoteInfo = STPrivilegedTask; + remoteGlobalIDString = 062A64896E847A6749F58B6BA9A931B1; + remoteInfo = Nuke; }; - CB83FFDF9C675C7BB8B5EB4436DEFC63 /* PBXContainerItemProxy */ = { + A603DD85ADDA29C5C939837DEF071D77 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 615C831BCE925ED486B225B87E44926D; + remoteInfo = KeychainAccess; + }; + E3407AC00A49F98BFB508824A46399C3 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; @@ -119,11 +120,9 @@ 0FCE2684F80D0006CD8ED57D1127B7D6 /* SUAppcastItem.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SUAppcastItem.h; path = Sparkle.framework/Versions/A/Headers/SUAppcastItem.h; sourceTree = ""; }; 1039F21D1F7B28216C110D5F6B8EEED3 /* STPrivilegedTask-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "STPrivilegedTask-Info.plist"; sourceTree = ""; }; 10A8A2A86D7ECFF30E4C2CA28AFEA050 /* Pods-AltStore.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-AltStore.modulemap"; sourceTree = ""; }; - 11D481856836D88C3C8284C74C72CBF9 /* AppCenter.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = AppCenter.release.xcconfig; sourceTree = ""; }; 1AC9B7CBF52BC819D06B71C0A2B8A367 /* Pods-AltStoreCore.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-AltStoreCore.modulemap"; sourceTree = ""; }; 1B667B4D06855E6E379D5CCFDA63534B /* ImageCache.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ImageCache.swift; path = Sources/ImageCache.swift; sourceTree = ""; }; 1F5287A98793EB9C5CEC3668161876AF /* Pods-AltStore-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-AltStore-umbrella.h"; sourceTree = ""; }; - 22B3DAAC88B9716ED0FD20FBDEB1C64F /* AppCenterAnalytics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppCenterAnalytics.framework; path = "AppCenter-SDK-Apple/iOS/AppCenterAnalytics.framework"; sourceTree = ""; }; 274574E44800D14033BF5E84D9A0DCEC /* ImageDecoding.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ImageDecoding.swift; path = Sources/ImageDecoding.swift; sourceTree = ""; }; 289DA2913B70BAC4123A36BE7B5DB854 /* ImageView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ImageView.swift; path = Sources/ImageView.swift; sourceTree = ""; }; 2DAD7D76FC007F48AE48F2FD15BF01BB /* Nuke.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Nuke.framework; path = Nuke.framework; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -133,8 +132,9 @@ 3708F938147E2EA0A2E0C4B41AC7FAFB /* Nuke-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Nuke-umbrella.h"; sourceTree = ""; }; 3B0CB9417531308D22740344089FEEFD /* Pods-AltServer.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AltServer.release.xcconfig"; sourceTree = ""; }; 3DED1633B61DDB88FFF2EF9160AE78B4 /* SPUDownloaderDelegate.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPUDownloaderDelegate.h; path = Sparkle.framework/Versions/A/Headers/SPUDownloaderDelegate.h; sourceTree = ""; }; + 3E76193172022F9DA3BC2236D39255F4 /* AppCenterAnalytics.xcframework */ = {isa = PBXFileReference; includeInIndex = 1; name = AppCenterAnalytics.xcframework; path = "AppCenter-SDK-Apple/AppCenterAnalytics.xcframework"; sourceTree = ""; }; + 3EC264C0322EA7D294325E719E778C0D /* AppCenter.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = AppCenter.debug.xcconfig; sourceTree = ""; }; 403E5DC2A495655EAFFCE6EFF9F1D835 /* Sparkle.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Sparkle.framework; sourceTree = ""; }; - 41C962B96C02BDE4AAB4BFB6B366825D /* AppCenter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppCenter.framework; path = "AppCenter-SDK-Apple/iOS/AppCenter.framework"; sourceTree = ""; }; 477A6EFDF98B00046B4A53F8C12DE940 /* Pods-AltServer-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AltServer-Info.plist"; sourceTree = ""; }; 47FD0729E1AE07F5807D70E4ABEA48F0 /* Pods-AltServer-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-AltServer-umbrella.h"; sourceTree = ""; }; 49CC7623E693F5C7F50DEF8134CE6BAC /* DataLoader.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DataLoader.swift; path = Sources/DataLoader.swift; sourceTree = ""; }; @@ -153,12 +153,13 @@ 70F125BA30C81B0E1ED1F99CEA3389BA /* Pods-AltServer.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-AltServer.modulemap"; sourceTree = ""; }; 71E0327FEA5BFACFD142FB37BC1FD0C6 /* SUErrors.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SUErrors.h; path = Sparkle.framework/Versions/A/Headers/SUErrors.h; sourceTree = ""; }; 726288F5802DA2301E5D48A0D14E84B2 /* SUUpdaterDelegate.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SUUpdaterDelegate.h; path = Sparkle.framework/Versions/A/Headers/SUUpdaterDelegate.h; sourceTree = ""; }; + 7327F856DC1511F7F2FC7D48F0D527ED /* AppCenter.xcframework */ = {isa = PBXFileReference; includeInIndex = 1; name = AppCenter.xcframework; path = "AppCenter-SDK-Apple/AppCenter.xcframework"; sourceTree = ""; }; 7540408582AD7792C66E59D59C1CE8E6 /* Sparkle.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Sparkle.release.xcconfig; sourceTree = ""; }; 75EF7160B8581CFF81149378273DD6A0 /* KeychainAccess-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "KeychainAccess-Info.plist"; sourceTree = ""; }; + 76A8F2F82B71022E55FDEF484B6CE216 /* AppCenter.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = AppCenter.release.xcconfig; sourceTree = ""; }; 7AC06D8ACD831E3BB90FB9DDABA13EAE /* STPrivilegedTask.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = STPrivilegedTask.release.xcconfig; sourceTree = ""; }; 7C824C7E55E5668EF6188F8482C5E2B1 /* Pods-AltStore-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-AltStore-acknowledgements.markdown"; sourceTree = ""; }; 8347BD1B854FED4B2362CE4152512B4E /* Pods-AltStore-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-AltStore-frameworks.sh"; sourceTree = ""; }; - 83E103AA1C999B3F336343A7094912AC /* AppCenter.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = AppCenter.debug.xcconfig; sourceTree = ""; }; 8EBF5043034AFB3A6A8F28C373BF0EC0 /* Pods_AltServer.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_AltServer.framework; path = "Pods-AltServer.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 9026A63464A722BDC5FABA1D5E7D6D94 /* Pods-AltStore-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AltStore-Info.plist"; sourceTree = ""; }; 9BEBBA7C80440353F3AF8ED301122C28 /* SUExport.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SUExport.h; path = Sparkle.framework/Versions/A/Headers/SUExport.h; sourceTree = ""; }; @@ -167,7 +168,9 @@ 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; A05A6067150CD1AC941487A81E57B327 /* Pods-AltServer-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-AltServer-dummy.m"; sourceTree = ""; }; A1CFC228917998470347609C970E2250 /* STPrivilegedTask.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = STPrivilegedTask.m; sourceTree = ""; }; + A369E1EAE3950C58981EBE17388E2BF9 /* AppCenter-xcframeworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "AppCenter-xcframeworks.sh"; sourceTree = ""; }; A444C51407C51AB3AF06B6129DEC9BF4 /* Pods_AltStoreCore.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_AltStoreCore.framework; path = "Pods-AltStoreCore.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; + A4BCC5F27B4DCF31A5028F0902818A8F /* AppCenterCrashes.xcframework */ = {isa = PBXFileReference; includeInIndex = 1; name = AppCenterCrashes.xcframework; path = "AppCenter-SDK-Apple/AppCenterCrashes.xcframework"; sourceTree = ""; }; A696D9DC947268F7CB8E503ED3D94F08 /* SPUDownloaderSession.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPUDownloaderSession.h; path = Sparkle.framework/Versions/A/Headers/SPUDownloaderSession.h; sourceTree = ""; }; A877252A18D311874262B3B2DFD173FC /* Sparkle.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Sparkle.debug.xcconfig; sourceTree = ""; }; A8A6F643F7EF9DF00939CAD8ACD3AC04 /* Nuke.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Nuke.debug.xcconfig; sourceTree = ""; }; @@ -206,7 +209,6 @@ F5EAE6C63FB3CBB2AD003D19B0F0F7A8 /* STPrivilegedTask-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "STPrivilegedTask-dummy.m"; sourceTree = ""; }; F6D7232D2E51E5ED3A8B9A35A10E4147 /* Pods-AltStoreCore.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AltStoreCore.debug.xcconfig"; sourceTree = ""; }; F7BBB22AD47C5E69FB8476205752FDAA /* SPUDownloader.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPUDownloader.h; path = Sparkle.framework/Versions/A/Headers/SPUDownloader.h; sourceTree = ""; }; - FC038632E5B347FF158FD5DA3EECDD4D /* AppCenterCrashes.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppCenterCrashes.framework; path = "AppCenter-SDK-Apple/iOS/AppCenterCrashes.framework"; sourceTree = ""; }; FC06C26AB5F79243816DC9878A128284 /* Pods-AltStore.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AltStore.debug.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ @@ -263,16 +265,12 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 0C662F77EC511DD2A92469CEED92FBDD /* AppCenter */ = { + 0971F1B1E5DD3D955C00C670D51F7E78 /* Analytics */ = { isa = PBXGroup; children = ( - 7A4AE30396EC2E7C1A3ED529A2F6DABB /* Analytics */, - 9945E901491495F6183BB940B46F8C7D /* Core */, - 7AC5E78041B76EBBD2F7E3842E148745 /* Crashes */, - FEDB87B72B3D93A5C46300A3B9E7A91D /* Support Files */, + A3E38A6354B2256101CC3C62330F0823 /* Frameworks */, ); - name = AppCenter; - path = AppCenter; + name = Analytics; sourceTree = ""; }; 1CB0278FF975C4E1105EC4C41689B092 /* Support Files */ = { @@ -290,6 +288,14 @@ path = "../Target Support Files/KeychainAccess"; sourceTree = ""; }; + 1DA1A52E4BFBED4DB804D234A44ED796 /* Core */ = { + isa = PBXGroup; + children = ( + BA92B09126EFE41671F6020596A02775 /* Frameworks */, + ); + name = Core; + sourceTree = ""; + }; 1F2756FA33ADF6C93A690B06B2893188 /* Targets Support Files */ = { isa = PBXGroup; children = ( @@ -300,14 +306,6 @@ name = "Targets Support Files"; sourceTree = ""; }; - 2390506EC840521CF89E999BF0E844BA /* Frameworks */ = { - isa = PBXGroup; - children = ( - FC038632E5B347FF158FD5DA3EECDD4D /* AppCenterCrashes.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; 4988D931D0AFC58813D8849F9F5EEEB3 /* Pods-AltStore */ = { isa = PBXGroup; children = ( @@ -325,22 +323,6 @@ path = "Target Support Files/Pods-AltStore"; sourceTree = ""; }; - 4A64B8D34D575BA0416F29DB40BB1808 /* Frameworks */ = { - isa = PBXGroup; - children = ( - 22B3DAAC88B9716ED0FD20FBDEB1C64F /* AppCenterAnalytics.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - 5182E3D9D460CED2B9832F398686EC64 /* Frameworks */ = { - isa = PBXGroup; - children = ( - 41C962B96C02BDE4AAB4BFB6B366825D /* AppCenter.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; 593D7DAC07FA8FD14F5AB883876DF3AF /* iOS */ = { isa = PBXGroup; children = ( @@ -414,22 +396,6 @@ path = "../Target Support Files/STPrivilegedTask"; sourceTree = ""; }; - 7A4AE30396EC2E7C1A3ED529A2F6DABB /* Analytics */ = { - isa = PBXGroup; - children = ( - 4A64B8D34D575BA0416F29DB40BB1808 /* Frameworks */, - ); - name = Analytics; - sourceTree = ""; - }; - 7AC5E78041B76EBBD2F7E3842E148745 /* Crashes */ = { - isa = PBXGroup; - children = ( - 2390506EC840521CF89E999BF0E844BA /* Frameworks */, - ); - name = Crashes; - sourceTree = ""; - }; 84A3A17D0CF37E7B1F5A39D33A09E980 /* Frameworks */ = { isa = PBXGroup; children = ( @@ -448,14 +414,6 @@ path = KeychainAccess; sourceTree = ""; }; - 9945E901491495F6183BB940B46F8C7D /* Core */ = { - isa = PBXGroup; - children = ( - 5182E3D9D460CED2B9832F398686EC64 /* Frameworks */, - ); - name = Core; - sourceTree = ""; - }; A3CE797213FD3A029F25F79F20959332 /* Nuke */ = { isa = PBXGroup; children = ( @@ -476,6 +434,14 @@ path = Nuke; sourceTree = ""; }; + A3E38A6354B2256101CC3C62330F0823 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 3E76193172022F9DA3BC2236D39255F4 /* AppCenterAnalytics.xcframework */, + ); + name = Frameworks; + sourceTree = ""; + }; A78C7CBC44986F797EC1BB49078F5A84 /* Pods-AltServer */ = { isa = PBXGroup; children = ( @@ -493,6 +459,25 @@ path = "Target Support Files/Pods-AltServer"; sourceTree = ""; }; + ADD5DFADA87E4C4BD53112F50DE17F53 /* Support Files */ = { + isa = PBXGroup; + children = ( + A369E1EAE3950C58981EBE17388E2BF9 /* AppCenter-xcframeworks.sh */, + 3EC264C0322EA7D294325E719E778C0D /* AppCenter.debug.xcconfig */, + 76A8F2F82B71022E55FDEF484B6CE216 /* AppCenter.release.xcconfig */, + ); + name = "Support Files"; + path = "../Target Support Files/AppCenter"; + sourceTree = ""; + }; + BA92B09126EFE41671F6020596A02775 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 7327F856DC1511F7F2FC7D48F0D527ED /* AppCenter.xcframework */, + ); + name = Frameworks; + sourceTree = ""; + }; BDE5CABE525866F9C71E53B6CA540F6D /* STPrivilegedTask */ = { isa = PBXGroup; children = ( @@ -550,6 +535,14 @@ path = "../Target Support Files/Sparkle"; sourceTree = ""; }; + D7DFF5FA24B2F31FCEC40F520C04276D /* Crashes */ = { + isa = PBXGroup; + children = ( + DA94CFF017B024B7471510372C7745C7 /* Frameworks */, + ); + name = Crashes; + sourceTree = ""; + }; D9A1E15AF5ACDD9E2505B0BDD14DB108 /* Pods-AltStoreCore */ = { isa = PBXGroup; children = ( @@ -566,10 +559,30 @@ path = "Target Support Files/Pods-AltStoreCore"; sourceTree = ""; }; + DA94CFF017B024B7471510372C7745C7 /* Frameworks */ = { + isa = PBXGroup; + children = ( + A4BCC5F27B4DCF31A5028F0902818A8F /* AppCenterCrashes.xcframework */, + ); + name = Frameworks; + sourceTree = ""; + }; + E91F869B1A4DFD937480CDED6B224AC1 /* AppCenter */ = { + isa = PBXGroup; + children = ( + 0971F1B1E5DD3D955C00C670D51F7E78 /* Analytics */, + 1DA1A52E4BFBED4DB804D234A44ED796 /* Core */, + D7DFF5FA24B2F31FCEC40F520C04276D /* Crashes */, + ADD5DFADA87E4C4BD53112F50DE17F53 /* Support Files */, + ); + name = AppCenter; + path = AppCenter; + sourceTree = ""; + }; F0FB8585D826364405CCE3309EDB717E /* Pods */ = { isa = PBXGroup; children = ( - 0C662F77EC511DD2A92469CEED92FBDD /* AppCenter */, + E91F869B1A4DFD937480CDED6B224AC1 /* AppCenter */, 8C42D6741D3E3322387DEBA09FA29A39 /* KeychainAccess */, A3CE797213FD3A029F25F79F20959332 /* Nuke */, 6BE188542514B1C4367A14C60F711BA1 /* Sparkle */, @@ -578,16 +591,6 @@ name = Pods; sourceTree = ""; }; - FEDB87B72B3D93A5C46300A3B9E7A91D /* Support Files */ = { - isa = PBXGroup; - children = ( - 83E103AA1C999B3F336343A7094912AC /* AppCenter.debug.xcconfig */, - 11D481856836D88C3C8284C74C72CBF9 /* AppCenter.release.xcconfig */, - ); - name = "Support Files"; - path = "../Target Support Files/AppCenter"; - sourceTree = ""; - }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ @@ -691,7 +694,7 @@ buildRules = ( ); dependencies = ( - 104A670F13CC93A9FCC856306B260F1B /* PBXTargetDependency */, + 7C4FA8EE408E941576842BF279FB0840 /* PBXTargetDependency */, ); name = "Pods-AltStoreCore"; productName = "Pods-AltStoreCore"; @@ -729,8 +732,8 @@ ); dependencies = ( D7A0E24FA463B3F4B572FBC9FF80618B /* PBXTargetDependency */, - 3D57D3ACBB70D3A5F7B25BDB9966515F /* PBXTargetDependency */, - 0741D3BDEA26B8D811967076426ED114 /* PBXTargetDependency */, + FFF2259EB24A6715C931248B8D877947 /* PBXTargetDependency */, + D10670AC0159B62AAA3308BDE653B517 /* PBXTargetDependency */, ); name = "Pods-AltStore"; productName = "Pods-AltStore"; @@ -749,8 +752,8 @@ buildRules = ( ); dependencies = ( - 13CC818E4B4E4E223E770AA0D7926598 /* PBXTargetDependency */, - F2BC063EBCB40D9989F2731257D086B2 /* PBXTargetDependency */, + D12D5B23C8E10F296B7C986EB29B8B0D /* PBXTargetDependency */, + 867202E3CB62EC6FC3AD2E0BA46A74FA /* PBXTargetDependency */, ); name = "Pods-AltServer"; productName = "Pods-AltServer"; @@ -854,6 +857,23 @@ shellScript = "\"${PODS_ROOT}/Target Support Files/Sparkle/Sparkle-copy-dsyms.sh\"\n"; showEnvVarsInLog = 0; }; + AAD7D4593ED3B713FDA455F0E36487CE /* [CP] Copy XCFrameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/AppCenter/AppCenter-xcframeworks-input-files.xcfilelist", + ); + name = "[CP] Copy XCFrameworks"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/AppCenter/AppCenter-xcframeworks-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/AppCenter/AppCenter-xcframeworks.sh\"\n"; + showEnvVarsInLog = 0; + }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ @@ -921,29 +941,29 @@ /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ - 0741D3BDEA26B8D811967076426ED114 /* PBXTargetDependency */ = { + 7C4FA8EE408E941576842BF279FB0840 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = KeychainAccess; + target = 615C831BCE925ED486B225B87E44926D /* KeychainAccess */; + targetProxy = E3407AC00A49F98BFB508824A46399C3 /* PBXContainerItemProxy */; + }; + 867202E3CB62EC6FC3AD2E0BA46A74FA /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = Sparkle; + target = ED77B4B88587C894E85C361023D67C53 /* Sparkle */; + targetProxy = 64D630002D0AAEE7CC4BA807A38271F9 /* PBXContainerItemProxy */; + }; + D10670AC0159B62AAA3308BDE653B517 /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = Nuke; target = 062A64896E847A6749F58B6BA9A931B1 /* Nuke */; - targetProxy = 505B34BBF0BD9CE5322714B7F81FBF38 /* PBXContainerItemProxy */; + targetProxy = 9171572156107EE505BA2730D1360B4E /* PBXContainerItemProxy */; }; - 104A670F13CC93A9FCC856306B260F1B /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = KeychainAccess; - target = 615C831BCE925ED486B225B87E44926D /* KeychainAccess */; - targetProxy = CB83FFDF9C675C7BB8B5EB4436DEFC63 /* PBXContainerItemProxy */; - }; - 13CC818E4B4E4E223E770AA0D7926598 /* PBXTargetDependency */ = { + D12D5B23C8E10F296B7C986EB29B8B0D /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = STPrivilegedTask; target = 05327B1DB6967DBAA19D1ED734FDBD96 /* STPrivilegedTask */; - targetProxy = 9CC77DE7F34CE47A267F06CFDB4F8140 /* PBXContainerItemProxy */; - }; - 3D57D3ACBB70D3A5F7B25BDB9966515F /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = KeychainAccess; - target = 615C831BCE925ED486B225B87E44926D /* KeychainAccess */; - targetProxy = 61450B02D24261EB438DA3798764CC42 /* PBXContainerItemProxy */; + targetProxy = 3567E4665F97E6889AF0EB5590AB2976 /* PBXContainerItemProxy */; }; D7A0E24FA463B3F4B572FBC9FF80618B /* PBXTargetDependency */ = { isa = PBXTargetDependency; @@ -951,11 +971,11 @@ target = A3282A5B2437E609EEB85861D7ECE717 /* AppCenter */; targetProxy = 7AC4C92BEAB80F767E1D3BD2A6549F48 /* PBXContainerItemProxy */; }; - F2BC063EBCB40D9989F2731257D086B2 /* PBXTargetDependency */ = { + FFF2259EB24A6715C931248B8D877947 /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = Sparkle; - target = ED77B4B88587C894E85C361023D67C53 /* Sparkle */; - targetProxy = 2EA4EDDDAEA5848C1295D67C4DDB798A /* PBXContainerItemProxy */; + name = KeychainAccess; + target = 615C831BCE925ED486B225B87E44926D /* KeychainAccess */; + targetProxy = A603DD85ADDA29C5C939837DEF071D77 /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ @@ -1236,25 +1256,9 @@ }; name = Debug; }; - 7C4E987198327657074EB34C2D1282C6 /* Debug */ = { + 75015716975841C5EDFB269B50341487 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 83E103AA1C999B3F336343A7094912AC /* AppCenter.debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - IPHONEOS_DEPLOYMENT_TARGET = 12.2; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 82469784C924ACC6D9E2C596825B2E77 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 11D481856836D88C3C8284C74C72CBF9 /* AppCenter.release.xcconfig */; + baseConfigurationReference = 76A8F2F82B71022E55FDEF484B6CE216 /* AppCenter.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; @@ -1599,6 +1603,22 @@ }; name = Release; }; + FEC95B7CD72F3B3708DC09E7E2EB397F /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 3EC264C0322EA7D294325E719E778C0D /* AppCenter.debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + IPHONEOS_DEPLOYMENT_TARGET = 12.2; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ @@ -1656,6 +1676,15 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + 5242D03FC5C1EAA4F817066052F80607 /* Build configuration list for PBXAggregateTarget "AppCenter" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + FEC95B7CD72F3B3708DC09E7E2EB397F /* Debug */, + 75015716975841C5EDFB269B50341487 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; 54208ED19403AA500F1198EEF237E880 /* Build configuration list for PBXNativeTarget "STPrivilegedTask" */ = { isa = XCConfigurationList; buildConfigurations = ( @@ -1665,15 +1694,6 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - D0944D0DEFF9CDF0CBE6D4A41B195020 /* Build configuration list for PBXAggregateTarget "AppCenter" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 7C4E987198327657074EB34C2D1282C6 /* Debug */, - 82469784C924ACC6D9E2C596825B2E77 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; F21FDDBBEE883C64EE2A3A59711CBBCC /* Build configuration list for PBXNativeTarget "Pods-AltStoreCore" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git a/Pods/Target Support Files/AppCenter/AppCenter-xcframeworks-input-files.xcfilelist b/Pods/Target Support Files/AppCenter/AppCenter-xcframeworks-input-files.xcfilelist new file mode 100644 index 00000000..dd3724db --- /dev/null +++ b/Pods/Target Support Files/AppCenter/AppCenter-xcframeworks-input-files.xcfilelist @@ -0,0 +1,4 @@ +${PODS_ROOT}/Target Support Files/AppCenter/AppCenter-xcframeworks.sh +${PODS_ROOT}/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework +${PODS_ROOT}/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework +${PODS_ROOT}/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework \ No newline at end of file diff --git a/Pods/Target Support Files/AppCenter/AppCenter-xcframeworks-output-files.xcfilelist b/Pods/Target Support Files/AppCenter/AppCenter-xcframeworks-output-files.xcfilelist new file mode 100644 index 00000000..d9c3b22e --- /dev/null +++ b/Pods/Target Support Files/AppCenter/AppCenter-xcframeworks-output-files.xcfilelist @@ -0,0 +1,3 @@ +${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenterAnalytics +${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenter +${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenterCrashes \ No newline at end of file diff --git a/Pods/Target Support Files/AppCenter/AppCenter-xcframeworks.sh b/Pods/Target Support Files/AppCenter/AppCenter-xcframeworks.sh new file mode 100755 index 00000000..5eea5f8c --- /dev/null +++ b/Pods/Target Support Files/AppCenter/AppCenter-xcframeworks.sh @@ -0,0 +1,155 @@ +#!/bin/sh +set -e +set -u +set -o pipefail + +function on_error { + echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" +} +trap 'on_error $LINENO' ERR + + +# This protects against multiple targets copying the same framework dependency at the same time. The solution +# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html +RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") + + +copy_dir() +{ + local source="$1" + local destination="$2" + + # Use filter instead of exclude so missing patterns don't throw errors. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" \"${source}\" \"${destination}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" "${source}" "${destination}" +} + +SELECT_SLICE_RETVAL="" + +select_slice() { + local paths=("$@") + # Locate the correct slice of the .xcframework for the current architectures + local target_path="" + + # Split archs on space so we can find a slice that has all the needed archs + local target_archs=$(echo $ARCHS | tr " " "\n") + + local target_variant="" + if [[ "$PLATFORM_NAME" == *"simulator" ]]; then + target_variant="simulator" + fi + if [[ ! -z ${EFFECTIVE_PLATFORM_NAME+x} && "$EFFECTIVE_PLATFORM_NAME" == *"maccatalyst" ]]; then + target_variant="maccatalyst" + fi + for i in ${!paths[@]}; do + local matched_all_archs="1" + for target_arch in $target_archs + do + if ! [[ "${paths[$i]}" == *"$target_variant"* ]]; then + matched_all_archs="0" + break + fi + + # Verifies that the path contains the variant string (simulator or maccatalyst) if the variant is set. + if [[ -z "$target_variant" && ("${paths[$i]}" == *"simulator"* || "${paths[$i]}" == *"maccatalyst"*) ]]; then + matched_all_archs="0" + break + fi + + # This regex matches all possible variants of the arch in the folder name: + # Let's say the folder name is: ios-armv7_armv7s_arm64_arm64e/CoconutLib.framework + # We match the following: -armv7_, _armv7s_, _arm64_ and _arm64e/. + # If we have a specific variant: ios-i386_x86_64-simulator/CoconutLib.framework + # We match the following: -i386_ and _x86_64- + # When the .xcframework wraps a static library, the folder name does not include + # any .framework. In that case, the folder name can be: ios-arm64_armv7 + # We also match _armv7$ to handle that case. + local target_arch_regex="[_\-]${target_arch}([\/_\-]|$)" + if ! [[ "${paths[$i]}" =~ $target_arch_regex ]]; then + matched_all_archs="0" + break + fi + done + + if [[ "$matched_all_archs" == "1" ]]; then + # Found a matching slice + echo "Selected xcframework slice ${paths[$i]}" + SELECT_SLICE_RETVAL=${paths[$i]} + break + fi + done +} + +install_library() { + local source="$1" + local name="$2" + local destination="${PODS_XCFRAMEWORKS_BUILD_DIR}/${name}" + + # Libraries can contain headers, module maps, and a binary, so we'll copy everything in the folder over + + local source="$binary" + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" \"${source}/*\" \"${destination}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" "${source}/*" "${destination}" +} + +# Copies a framework to derived data for use in later build phases +install_framework() +{ + local source="$1" + local name="$2" + local destination="${PODS_XCFRAMEWORKS_BUILD_DIR}/${name}" + + if [ ! -d "$destination" ]; then + mkdir -p "$destination" + fi + + copy_dir "$source" "$destination" + echo "Copied $source to $destination" +} + +install_xcframework_library() { + local basepath="$1" + local name="$2" + local paths=("$@") + + # Locate the correct slice of the .xcframework for the current architectures + select_slice "${paths[@]}" + local target_path="$SELECT_SLICE_RETVAL" + if [[ -z "$target_path" ]]; then + echo "warning: [CP] Unable to find matching .xcframework slice in '${paths[@]}' for the current build architectures ($ARCHS)." + return + fi + + install_framework "$basepath/$target_path" "$name" +} + +install_xcframework() { + local basepath="$1" + local name="$2" + local package_type="$3" + local paths=("$@") + + # Locate the correct slice of the .xcframework for the current architectures + select_slice "${paths[@]}" + local target_path="$SELECT_SLICE_RETVAL" + if [[ -z "$target_path" ]]; then + echo "warning: [CP] Unable to find matching .xcframework slice in '${paths[@]}' for the current build architectures ($ARCHS)." + return + fi + local source="$basepath/$target_path" + + local destination="${PODS_XCFRAMEWORKS_BUILD_DIR}/${name}" + + if [ ! -d "$destination" ]; then + mkdir -p "$destination" + fi + + copy_dir "$source/" "$destination" + + echo "Copied $source to $destination" +} + +install_xcframework "${PODS_ROOT}/AppCenter/AppCenter-SDK-Apple/AppCenterAnalytics.xcframework" "AppCenterAnalytics" "framework" "ios-arm64_x86_64-maccatalyst" "ios-arm64_i386_x86_64-simulator" "ios-arm64_arm64e_armv7_armv7s" +install_xcframework "${PODS_ROOT}/AppCenter/AppCenter-SDK-Apple/AppCenter.xcframework" "AppCenter" "framework" "ios-arm64_i386_x86_64-simulator" "ios-arm64_x86_64-maccatalyst" "ios-arm64_arm64e_armv7_armv7s" +install_xcframework "${PODS_ROOT}/AppCenter/AppCenter-SDK-Apple/AppCenterCrashes.xcframework" "AppCenterCrashes" "framework" "ios-arm64_arm64e_armv7_armv7s" "ios-arm64_x86_64-maccatalyst" "ios-arm64_i386_x86_64-simulator" + diff --git a/Pods/Target Support Files/AppCenter/AppCenter.debug.xcconfig b/Pods/Target Support Files/AppCenter/AppCenter.debug.xcconfig index a0b86df0..9084ab1e 100644 --- a/Pods/Target Support Files/AppCenter/AppCenter.debug.xcconfig +++ b/Pods/Target Support Files/AppCenter/AppCenter.debug.xcconfig @@ -1,6 +1,6 @@ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/AppCenter -FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/AppCenter/AppCenter-SDK-Apple/iOS" +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/AppCenter/AppCenter-SDK-Apple" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenter" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenterAnalytics" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenterCrashes" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 OTHER_LDFLAGS = $(inherited) -l"c++" -l"sqlite3" -l"z" -framework "CoreTelephony" -framework "Foundation" -framework "SystemConfiguration" -framework "UIKit" PODS_BUILD_DIR = ${BUILD_DIR} diff --git a/Pods/Target Support Files/AppCenter/AppCenter.release.xcconfig b/Pods/Target Support Files/AppCenter/AppCenter.release.xcconfig index a0b86df0..9084ab1e 100644 --- a/Pods/Target Support Files/AppCenter/AppCenter.release.xcconfig +++ b/Pods/Target Support Files/AppCenter/AppCenter.release.xcconfig @@ -1,6 +1,6 @@ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/AppCenter -FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/AppCenter/AppCenter-SDK-Apple/iOS" +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/AppCenter/AppCenter-SDK-Apple" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenter" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenterAnalytics" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenterCrashes" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 OTHER_LDFLAGS = $(inherited) -l"c++" -l"sqlite3" -l"z" -framework "CoreTelephony" -framework "Foundation" -framework "SystemConfiguration" -framework "UIKit" PODS_BUILD_DIR = ${BUILD_DIR} diff --git a/Pods/Target Support Files/Pods-AltStore/Pods-AltStore.debug.xcconfig b/Pods/Target Support Files/Pods-AltStore/Pods-AltStore.debug.xcconfig index 6c314e5f..989d3319 100644 --- a/Pods/Target Support Files/Pods-AltStore/Pods-AltStore.debug.xcconfig +++ b/Pods/Target Support Files/Pods-AltStore/Pods-AltStore.debug.xcconfig @@ -1,11 +1,11 @@ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO -FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/KeychainAccess" "${PODS_CONFIGURATION_BUILD_DIR}/Nuke" "${PODS_ROOT}/AppCenter/AppCenter-SDK-Apple/iOS" +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/KeychainAccess" "${PODS_CONFIGURATION_BUILD_DIR}/Nuke" "${PODS_ROOT}/AppCenter/AppCenter-SDK-Apple" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenter" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenterAnalytics" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenterCrashes" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/KeychainAccess/KeychainAccess.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Nuke/Nuke.framework/Headers" LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -isystem "${PODS_CONFIGURATION_BUILD_DIR}/Nuke/Nuke.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/KeychainAccess/KeychainAccess.framework/Headers" -iframework "${PODS_ROOT}/AppCenter/AppCenter-SDK-Apple/iOS" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/Nuke" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/KeychainAccess" -OTHER_LDFLAGS = $(inherited) -ObjC -l"c++" -l"sqlite3" -l"z" -framework "AppCenter" -framework "AppCenterAnalytics" -framework "AppCenterCrashes" -framework "CoreTelephony" -framework "Foundation" -framework "KeychainAccess" -framework "Nuke" -framework "SystemConfiguration" -framework "UIKit" +OTHER_CFLAGS = $(inherited) -isystem "${PODS_CONFIGURATION_BUILD_DIR}/Nuke/Nuke.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/KeychainAccess/KeychainAccess.framework/Headers" -iframework "${PODS_ROOT}/AppCenter/AppCenter-SDK-Apple" -iframework "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenterAnalytics" -iframework "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenter" -iframework "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenterCrashes" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/Nuke" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/KeychainAccess" +OTHER_LDFLAGS = $(inherited) -l"c++" -l"sqlite3" -l"z" -framework "AppCenter" -framework "AppCenterAnalytics" -framework "AppCenterCrashes" -framework "CoreTelephony" -framework "Foundation" -framework "KeychainAccess" -framework "Nuke" -framework "SystemConfiguration" -framework "UIKit" OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) diff --git a/Pods/Target Support Files/Pods-AltStore/Pods-AltStore.release.xcconfig b/Pods/Target Support Files/Pods-AltStore/Pods-AltStore.release.xcconfig index 6c314e5f..989d3319 100644 --- a/Pods/Target Support Files/Pods-AltStore/Pods-AltStore.release.xcconfig +++ b/Pods/Target Support Files/Pods-AltStore/Pods-AltStore.release.xcconfig @@ -1,11 +1,11 @@ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO -FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/KeychainAccess" "${PODS_CONFIGURATION_BUILD_DIR}/Nuke" "${PODS_ROOT}/AppCenter/AppCenter-SDK-Apple/iOS" +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/KeychainAccess" "${PODS_CONFIGURATION_BUILD_DIR}/Nuke" "${PODS_ROOT}/AppCenter/AppCenter-SDK-Apple" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenter" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenterAnalytics" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenterCrashes" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/KeychainAccess/KeychainAccess.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Nuke/Nuke.framework/Headers" LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -isystem "${PODS_CONFIGURATION_BUILD_DIR}/Nuke/Nuke.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/KeychainAccess/KeychainAccess.framework/Headers" -iframework "${PODS_ROOT}/AppCenter/AppCenter-SDK-Apple/iOS" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/Nuke" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/KeychainAccess" -OTHER_LDFLAGS = $(inherited) -ObjC -l"c++" -l"sqlite3" -l"z" -framework "AppCenter" -framework "AppCenterAnalytics" -framework "AppCenterCrashes" -framework "CoreTelephony" -framework "Foundation" -framework "KeychainAccess" -framework "Nuke" -framework "SystemConfiguration" -framework "UIKit" +OTHER_CFLAGS = $(inherited) -isystem "${PODS_CONFIGURATION_BUILD_DIR}/Nuke/Nuke.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/KeychainAccess/KeychainAccess.framework/Headers" -iframework "${PODS_ROOT}/AppCenter/AppCenter-SDK-Apple" -iframework "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenterAnalytics" -iframework "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenter" -iframework "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppCenterCrashes" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/Nuke" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/KeychainAccess" +OTHER_LDFLAGS = $(inherited) -l"c++" -l"sqlite3" -l"z" -framework "AppCenter" -framework "AppCenterAnalytics" -framework "AppCenterCrashes" -framework "CoreTelephony" -framework "Foundation" -framework "KeychainAccess" -framework "Nuke" -framework "SystemConfiguration" -framework "UIKit" OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)