diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-08-31 23:07:20 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-08-31 23:07:20 +0200 |
| commit | 22721a013bdd10d5eb395ba18453585f5f3f1f7f (patch) | |
| tree | 5a920e31d6026ed5dc55265e5fd057febccc50e3 /StoneIsland/platforms/ios/Pods/FirebasePerformance | |
| parent | d22d51a1ae49680015326857360eb699f31efced (diff) | |
rebuild the ios platform and the plugins
Diffstat (limited to 'StoneIsland/platforms/ios/Pods/FirebasePerformance')
8 files changed, 277 insertions, 0 deletions
diff --git a/StoneIsland/platforms/ios/Pods/FirebasePerformance/Frameworks/FirebasePerformance.framework/FirebasePerformance b/StoneIsland/platforms/ios/Pods/FirebasePerformance/Frameworks/FirebasePerformance.framework/FirebasePerformance Binary files differnew file mode 100755 index 00000000..04ea88c0 --- /dev/null +++ b/StoneIsland/platforms/ios/Pods/FirebasePerformance/Frameworks/FirebasePerformance.framework/FirebasePerformance diff --git a/StoneIsland/platforms/ios/Pods/FirebasePerformance/Frameworks/FirebasePerformance.framework/Headers/FIRHTTPMetric.h b/StoneIsland/platforms/ios/Pods/FirebasePerformance/Frameworks/FirebasePerformance.framework/Headers/FIRHTTPMetric.h new file mode 100755 index 00000000..4c1c5e70 --- /dev/null +++ b/StoneIsland/platforms/ios/Pods/FirebasePerformance/Frameworks/FirebasePerformance.framework/Headers/FIRHTTPMetric.h @@ -0,0 +1,77 @@ +#import <Foundation/Foundation.h> + +#import "FIRPerformanceAttributable.h" + +/* Different HTTP methods. */ +typedef NS_ENUM(NSInteger, FIRHTTPMethod) { + /** HTTP Method GET */ + FIRHTTPMethodGET NS_SWIFT_NAME(get), + /** HTTP Method PUT */ + FIRHTTPMethodPUT NS_SWIFT_NAME(put), + /** HTTP Method POST */ + FIRHTTPMethodPOST NS_SWIFT_NAME(post), + /** HTTP Method DELETE */ + FIRHTTPMethodDELETE NS_SWIFT_NAME(delete), + /** HTTP Method HEAD */ + FIRHTTPMethodHEAD NS_SWIFT_NAME(head), + /** HTTP Method PATCH */ + FIRHTTPMethodPATCH NS_SWIFT_NAME(patch), + /** HTTP Method OPTIONS */ + FIRHTTPMethodOPTIONS NS_SWIFT_NAME(options), + /** HTTP Method TRACE */ + FIRHTTPMethodTRACE NS_SWIFT_NAME(trace), + /** HTTP Method CONNECT */ + FIRHTTPMethodCONNECT NS_SWIFT_NAME(connect) +} NS_SWIFT_NAME(HTTPMethod); + +/** + * FIRHTTPMetric object can be used to make the SDK record information about a HTTP network request. + */ +NS_SWIFT_NAME(HTTPMetric) +@interface FIRHTTPMetric : NSObject <FIRPerformanceAttributable> + +/** + * Creates HTTPMetric object for a network request. + * @param URL The URL for which the metrics are recorded. + * @param httpMethod HTTP method used by the request. + */ +- (nullable instancetype)initWithURL:(nonnull NSURL *)URL HTTPMethod:(FIRHTTPMethod)httpMethod + NS_SWIFT_NAME(init(url:httpMethod:)); + +/** + * Use `initWithURL:HTTPMethod:` for Objective-C and `init(url:httpMethod:)` for Swift. + */ +- (nonnull instancetype)init NS_UNAVAILABLE; + +/** + * @brief HTTP Response code. Values are greater than 0. + */ +@property(nonatomic, assign) NSInteger responseCode; + +/** + * @brief Size of the request payload. + */ +@property(nonatomic, assign) long requestPayloadSize; + +/** + * @brief Size of the response payload. + */ +@property(nonatomic, assign) long responsePayloadSize; + +/** + * @brief HTTP Response content type. + */ +@property(nonatomic, nullable, copy) NSString *responseContentType; + +/** + * Marks the start time of the request. + */ +- (void)start; + +/** + * Marks the end time of the response and queues the network request metric on the device for + * transmission. Check the logs if the metric is valid. + */ +- (void)stop; + +@end diff --git a/StoneIsland/platforms/ios/Pods/FirebasePerformance/Frameworks/FirebasePerformance.framework/Headers/FIRPerformance.h b/StoneIsland/platforms/ios/Pods/FirebasePerformance/Frameworks/FirebasePerformance.framework/Headers/FIRPerformance.h new file mode 100755 index 00000000..0b79bee7 --- /dev/null +++ b/StoneIsland/platforms/ios/Pods/FirebasePerformance/Frameworks/FirebasePerformance.framework/Headers/FIRPerformance.h @@ -0,0 +1,63 @@ +#import <Foundation/Foundation.h> + +#import "FIRTrace.h" + +/** + * This class allows you to configure the Firebase Performance Reporting SDK. It also provides the + * interfaces to create timers and enable or disable automatic metrics capture. + * + * This SDK uses a Firebase Installations ID to identify the app instance and periodically sends + * data to the Firebase backend. (see `[FIRInstallations installationIDWithCompletion:]`). + * To stop the periodic sync, call `[FIRInstallations deleteWithCompletion:]` and + * either disable this SDK or set FIRPerformance.dataCollectionEnabled to NO. + */ +NS_EXTENSION_UNAVAILABLE("FirebasePerformance does not support app extensions at this time.") +NS_SWIFT_NAME(Performance) +@interface FIRPerformance : NSObject + +/** + * Controls the capture of performance data. When this value is set to NO, none of the performance + * data will sent to the server. Default is YES. + * + * This setting is persisted, and is applied on future invocations of your application. Once + * explicitly set, it overrides any settings in your Info.plist. + */ +@property(nonatomic, assign, getter=isDataCollectionEnabled) BOOL dataCollectionEnabled; + +/** + * Controls the instrumentation of the app to capture performance data. Setting this value to NO has + * immediate effect only if it is done so before calling [FIRApp configure]. Otherwise it takes + * effect after the app starts again the next time. + * + * If set to NO, the app will not be instrumented to collect performance + * data (in scenarios like app_start, networking monitoring). Default is YES. + * + * This setting is persisted, and is applied on future invocations of your application. Once + * explicitly set, it overrides any settings in your Info.plist. + */ +@property(nonatomic, assign, getter=isInstrumentationEnabled) BOOL instrumentationEnabled; + +/** @return The shared instance. */ ++ (nonnull instancetype)sharedInstance NS_SWIFT_NAME(sharedInstance()); + +/** + * Creates an instance of FIRTrace after creating the shared instance of FIRPerformance. The trace + * will automatically be started on a successful creation of the instance. The |name| of the trace + * cannot be an empty string. + * + * @param name The name of the Trace. + * @return The FIRTrace object. + */ ++ (nullable FIRTrace *)startTraceWithName:(nonnull NSString *)name + NS_SWIFT_NAME(startTrace(name:)); + +/** + * Creates an instance of FIRTrace. This API does not start the trace. To start the trace, use the + * -start API on the returned |FIRTrace| object. The |name| cannot be an empty string. + * + * @param name The name of the Trace. + * @return The FIRTrace object. + */ +- (nullable FIRTrace *)traceWithName:(nonnull NSString *)name NS_SWIFT_NAME(trace(name:)); + +@end diff --git a/StoneIsland/platforms/ios/Pods/FirebasePerformance/Frameworks/FirebasePerformance.framework/Headers/FIRPerformanceAttributable.h b/StoneIsland/platforms/ios/Pods/FirebasePerformance/Frameworks/FirebasePerformance.framework/Headers/FIRPerformanceAttributable.h new file mode 100755 index 00000000..5bf68717 --- /dev/null +++ b/StoneIsland/platforms/ios/Pods/FirebasePerformance/Frameworks/FirebasePerformance.framework/Headers/FIRPerformanceAttributable.h @@ -0,0 +1,38 @@ +#import <Foundation/Foundation.h> + +/** Defines the interface that allows adding/removing attributes to any object. + */ +NS_SWIFT_NAME(PerformanceAttributable) +@protocol FIRPerformanceAttributable <NSObject> + +/** List of attributes. */ +@property(nonatomic, nonnull, readonly) NSDictionary<NSString *, NSString *> *attributes; + +/** + * Sets a value as a string for the specified attribute. Updates the value of the attribute if a + * value had already existed. + * + * @param value The value that needs to be set/updated for an attribute. If the length of the value + * exceeds the maximum allowed, the value will be truncated to the maximum allowed. + * @param attribute The name of the attribute. If the length of the value exceeds the maximum + * allowed, the value will be truncated to the maximum allowed. + */ +- (void)setValue:(nonnull NSString *)value forAttribute:(nonnull NSString *)attribute; + +/** + * Reads the value for the specified attribute. If the attribute does not exist, returns nil. + * + * @param attribute The name of the attribute. + * @return The value for the attribute. Returns nil if the attribute does not exist. + */ +- (nullable NSString *)valueForAttribute:(nonnull NSString *)attribute; + +/** + * Removes an attribute from the list. Does nothing if the attribute does not exist. + * + * @param attribute The name of the attribute. + */ +- (void)removeAttribute:(nonnull NSString *)attribute; + +@end + diff --git a/StoneIsland/platforms/ios/Pods/FirebasePerformance/Frameworks/FirebasePerformance.framework/Headers/FIRTrace.h b/StoneIsland/platforms/ios/Pods/FirebasePerformance/Frameworks/FirebasePerformance.framework/Headers/FIRTrace.h new file mode 100755 index 00000000..02d1d790 --- /dev/null +++ b/StoneIsland/platforms/ios/Pods/FirebasePerformance/Frameworks/FirebasePerformance.framework/Headers/FIRTrace.h @@ -0,0 +1,64 @@ +#import <Foundation/Foundation.h> + +#import "FIRPerformanceAttributable.h" + +/** + * FIRTrace objects contain information about a "Trace", which is a sequence of steps. Traces can be + * used to measure the time taken for a sequence of steps. + * Traces also include "Counters". Counters are used to track information which is cumulative in + * nature (e.g., Bytes downloaded). Counters are scoped to an FIRTrace object. + */ +NS_EXTENSION_UNAVAILABLE("FirebasePerformance does not support app extensions at this time.") +NS_SWIFT_NAME(Trace) +@interface FIRTrace : NSObject <FIRPerformanceAttributable> + +/** @brief Name of the trace. */ +@property(nonatomic, copy, readonly, nonnull) NSString *name; + +/** @brief Not a valid initializer. */ +- (nonnull instancetype)init NS_UNAVAILABLE; + +/** + * Starts the trace. + */ +- (void)start; + +/** + * Stops the trace if the trace is active. + */ +- (void)stop; + +#pragma mark - Metrics API + +/** + * Atomically increments the metric for the provided metric name with the provided value. If it is a + * new metric name, the metric value will be initialized to the value. Does nothing if the trace + * has not been started or has already been stopped. + * + * @param metricName The name of the metric to increment. + * @param incrementValue The value to increment the metric by. + */ +- (void)incrementMetric:(nonnull NSString *)metricName byInt:(int64_t)incrementValue + NS_SWIFT_NAME(incrementMetric(_:by:)); + +/** + * Gets the value of the metric for the provided metric name. If the metric doesn't exist, a 0 is + * returned. + * + * @param metricName The name of metric whose value to get. + * @return The value of the given metric or 0 if it hasn't yet been set. + */ +- (int64_t)valueForIntMetric:(nonnull NSString *)metricName + NS_SWIFT_NAME(valueForMetric(_:)); + +/** + * Sets the value of the metric for the provided metric name to the provided value. Does nothing if + * the trace has not been started or has already been stopped. + * + * @param metricName The name of the metric to set. + * @param value The value to set the metric to. + */ +- (void)setIntValue:(int64_t)value forMetric:(nonnull NSString *)metricName + NS_SWIFT_NAME(setValue(_:forMetric:)); + +@end diff --git a/StoneIsland/platforms/ios/Pods/FirebasePerformance/Frameworks/FirebasePerformance.framework/Headers/FirebasePerformance.h b/StoneIsland/platforms/ios/Pods/FirebasePerformance/Frameworks/FirebasePerformance.framework/Headers/FirebasePerformance.h new file mode 100755 index 00000000..8654e87d --- /dev/null +++ b/StoneIsland/platforms/ios/Pods/FirebasePerformance/Frameworks/FirebasePerformance.framework/Headers/FirebasePerformance.h @@ -0,0 +1,4 @@ +#import "FIRHTTPMetric.h" +#import "FIRPerformance.h" +#import "FIRPerformanceAttributable.h" +#import "FIRTrace.h" diff --git a/StoneIsland/platforms/ios/Pods/FirebasePerformance/Frameworks/FirebasePerformance.framework/Modules/module.modulemap b/StoneIsland/platforms/ios/Pods/FirebasePerformance/Frameworks/FirebasePerformance.framework/Modules/module.modulemap new file mode 100755 index 00000000..b845c5c8 --- /dev/null +++ b/StoneIsland/platforms/ios/Pods/FirebasePerformance/Frameworks/FirebasePerformance.framework/Modules/module.modulemap @@ -0,0 +1,14 @@ +framework module FirebasePerformance { + umbrella header "FirebasePerformance.h" + export * + module * { export * } + link "c++" + link "sqlite3" + link "z" + link framework "CoreFoundation" + link framework "CoreTelephony" + link framework "Foundation" + link framework "QuartzCore" + link framework "Security" + link framework "SystemConfiguration" +} diff --git a/StoneIsland/platforms/ios/Pods/FirebasePerformance/README.md b/StoneIsland/platforms/ios/Pods/FirebasePerformance/README.md new file mode 100755 index 00000000..e72f735d --- /dev/null +++ b/StoneIsland/platforms/ios/Pods/FirebasePerformance/README.md @@ -0,0 +1,17 @@ +# Firebase Performance + +Firebase Performance is a free mobile app performance analytics service. It +provides detailed information about the performance of your apps automatically, +but works at its best with Timers set by you. For more information about app +performance and many other cool mobile services, check out [Firebase] +(https://firebase.google.com). + +## Getting Started with Cocoapods + +1. Follow the instructions for + [setting up Firebase](https://developers.google.com/firebase/docs/ios/) +2. Add the following to your Podfile + + ``` + pod 'Firebase/Performance' + ``` |
