diff --git a/ios/helper/upload-symbols b/ios/helper/upload-symbols index e450db6..ace10d5 100755 Binary files a/ios/helper/upload-symbols and b/ios/helper/upload-symbols differ diff --git a/ios/manifest b/ios/manifest index b3d0026..840c798 100644 --- a/ios/manifest +++ b/ios/manifest @@ -2,13 +2,13 @@ # this is your module manifest and used by Titanium # during compilation, packaging, distribution, etc. # -version: 5.0.0 +version: 6.0.0 apiversion: 2 architectures: arm64 x86_64 description: titanium-crashlytics author: Hans Knöchel license: MIT -mac: true +mac: false copyright: Copyright (c) 2018-present by Hans Knöchel # these should not be edited @@ -16,4 +16,4 @@ name: titanium-crashlytics moduleid: ti.crashlytics guid: 108ab55a-0cbb-4c63-ade2-536dabdfa250 platform: iphone -minsdk: 10.0.0 +minsdk: 11.0.0 diff --git a/ios/platform/FirebaseCrashlytics.xcframework/Info.plist b/ios/platform/FirebaseCrashlytics.xcframework/Info.plist index 26eeba3..75f991b 100644 --- a/ios/platform/FirebaseCrashlytics.xcframework/Info.plist +++ b/ios/platform/FirebaseCrashlytics.xcframework/Info.plist @@ -19,7 +19,7 @@ LibraryIdentifier - ios-arm64_x86_64-maccatalyst + ios-arm64_x86_64-simulator LibraryPath FirebaseCrashlytics.framework SupportedArchitectures @@ -30,7 +30,7 @@ SupportedPlatform ios SupportedPlatformVariant - maccatalyst + simulator LibraryIdentifier @@ -61,30 +61,30 @@ LibraryIdentifier - ios-arm64_x86_64-simulator + ios-arm64 LibraryPath FirebaseCrashlytics.framework SupportedArchitectures arm64 - x86_64 SupportedPlatform ios - SupportedPlatformVariant - simulator LibraryIdentifier - ios-arm64 + ios-arm64_x86_64-maccatalyst LibraryPath FirebaseCrashlytics.framework SupportedArchitectures arm64 + x86_64 SupportedPlatform ios + SupportedPlatformVariant + maccatalyst CFBundlePackageType diff --git a/ios/platform/FirebaseCrashlytics.xcframework/ios-arm64/FirebaseCrashlytics.framework/FirebaseCrashlytics b/ios/platform/FirebaseCrashlytics.xcframework/ios-arm64/FirebaseCrashlytics.framework/FirebaseCrashlytics index 43de6d7..cc540c1 100644 Binary files a/ios/platform/FirebaseCrashlytics.xcframework/ios-arm64/FirebaseCrashlytics.framework/FirebaseCrashlytics and b/ios/platform/FirebaseCrashlytics.xcframework/ios-arm64/FirebaseCrashlytics.framework/FirebaseCrashlytics differ diff --git a/ios/platform/FirebaseCrashlytics.xcframework/ios-arm64/FirebaseCrashlytics.framework/Info.plist b/ios/platform/FirebaseCrashlytics.xcframework/ios-arm64/FirebaseCrashlytics.framework/Info.plist index 95c269c..4871d75 100644 --- a/ios/platform/FirebaseCrashlytics.xcframework/ios-arm64/FirebaseCrashlytics.framework/Info.plist +++ b/ios/platform/FirebaseCrashlytics.xcframework/ios-arm64/FirebaseCrashlytics.framework/Info.plist @@ -13,7 +13,7 @@ CFBundlePackageType FMWK CFBundleVersion - 9.6.0 + 10.12.0 DTSDKName iphonesimulator11.2 diff --git a/ios/platform/FirebaseCrashlytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCrashlytics.framework/FirebaseCrashlytics b/ios/platform/FirebaseCrashlytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCrashlytics.framework/FirebaseCrashlytics index d78043a..b813669 100644 Binary files a/ios/platform/FirebaseCrashlytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCrashlytics.framework/FirebaseCrashlytics and b/ios/platform/FirebaseCrashlytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCrashlytics.framework/FirebaseCrashlytics differ diff --git a/ios/platform/FirebaseCrashlytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCrashlytics.framework/Info.plist b/ios/platform/FirebaseCrashlytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCrashlytics.framework/Info.plist index 95c269c..4871d75 100644 --- a/ios/platform/FirebaseCrashlytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCrashlytics.framework/Info.plist +++ b/ios/platform/FirebaseCrashlytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseCrashlytics.framework/Info.plist @@ -13,7 +13,7 @@ CFBundlePackageType FMWK CFBundleVersion - 9.6.0 + 10.12.0 DTSDKName iphonesimulator11.2 diff --git a/ios/platform/FirebaseCrashlytics.xcframework/ios-arm64_x86_64-simulator/FirebaseCrashlytics.framework/FirebaseCrashlytics b/ios/platform/FirebaseCrashlytics.xcframework/ios-arm64_x86_64-simulator/FirebaseCrashlytics.framework/FirebaseCrashlytics index fbeaf8d..9763712 100644 Binary files a/ios/platform/FirebaseCrashlytics.xcframework/ios-arm64_x86_64-simulator/FirebaseCrashlytics.framework/FirebaseCrashlytics and b/ios/platform/FirebaseCrashlytics.xcframework/ios-arm64_x86_64-simulator/FirebaseCrashlytics.framework/FirebaseCrashlytics differ diff --git a/ios/platform/FirebaseCrashlytics.xcframework/ios-arm64_x86_64-simulator/FirebaseCrashlytics.framework/Info.plist b/ios/platform/FirebaseCrashlytics.xcframework/ios-arm64_x86_64-simulator/FirebaseCrashlytics.framework/Info.plist index 95c269c..4871d75 100644 --- a/ios/platform/FirebaseCrashlytics.xcframework/ios-arm64_x86_64-simulator/FirebaseCrashlytics.framework/Info.plist +++ b/ios/platform/FirebaseCrashlytics.xcframework/ios-arm64_x86_64-simulator/FirebaseCrashlytics.framework/Info.plist @@ -13,7 +13,7 @@ CFBundlePackageType FMWK CFBundleVersion - 9.6.0 + 10.12.0 DTSDKName iphonesimulator11.2 diff --git a/ios/platform/FirebaseCrashlytics.xcframework/macos-arm64_x86_64/FirebaseCrashlytics.framework/FirebaseCrashlytics b/ios/platform/FirebaseCrashlytics.xcframework/macos-arm64_x86_64/FirebaseCrashlytics.framework/FirebaseCrashlytics index 14be3de..300ccf7 100644 Binary files a/ios/platform/FirebaseCrashlytics.xcframework/macos-arm64_x86_64/FirebaseCrashlytics.framework/FirebaseCrashlytics and b/ios/platform/FirebaseCrashlytics.xcframework/macos-arm64_x86_64/FirebaseCrashlytics.framework/FirebaseCrashlytics differ diff --git a/ios/platform/FirebaseCrashlytics.xcframework/macos-arm64_x86_64/FirebaseCrashlytics.framework/Info.plist b/ios/platform/FirebaseCrashlytics.xcframework/macos-arm64_x86_64/FirebaseCrashlytics.framework/Info.plist index 95c269c..4871d75 100644 --- a/ios/platform/FirebaseCrashlytics.xcframework/macos-arm64_x86_64/FirebaseCrashlytics.framework/Info.plist +++ b/ios/platform/FirebaseCrashlytics.xcframework/macos-arm64_x86_64/FirebaseCrashlytics.framework/Info.plist @@ -13,7 +13,7 @@ CFBundlePackageType FMWK CFBundleVersion - 9.6.0 + 10.12.0 DTSDKName iphonesimulator11.2 diff --git a/ios/platform/FirebaseCrashlytics.xcframework/tvos-arm64/FirebaseCrashlytics.framework/FirebaseCrashlytics b/ios/platform/FirebaseCrashlytics.xcframework/tvos-arm64/FirebaseCrashlytics.framework/FirebaseCrashlytics index 80867f3..c95d461 100644 Binary files a/ios/platform/FirebaseCrashlytics.xcframework/tvos-arm64/FirebaseCrashlytics.framework/FirebaseCrashlytics and b/ios/platform/FirebaseCrashlytics.xcframework/tvos-arm64/FirebaseCrashlytics.framework/FirebaseCrashlytics differ diff --git a/ios/platform/FirebaseCrashlytics.xcframework/tvos-arm64/FirebaseCrashlytics.framework/Info.plist b/ios/platform/FirebaseCrashlytics.xcframework/tvos-arm64/FirebaseCrashlytics.framework/Info.plist index 95c269c..4871d75 100644 --- a/ios/platform/FirebaseCrashlytics.xcframework/tvos-arm64/FirebaseCrashlytics.framework/Info.plist +++ b/ios/platform/FirebaseCrashlytics.xcframework/tvos-arm64/FirebaseCrashlytics.framework/Info.plist @@ -13,7 +13,7 @@ CFBundlePackageType FMWK CFBundleVersion - 9.6.0 + 10.12.0 DTSDKName iphonesimulator11.2 diff --git a/ios/platform/FirebaseCrashlytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseCrashlytics.framework/FirebaseCrashlytics b/ios/platform/FirebaseCrashlytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseCrashlytics.framework/FirebaseCrashlytics index 70e1fcb..9244425 100644 Binary files a/ios/platform/FirebaseCrashlytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseCrashlytics.framework/FirebaseCrashlytics and b/ios/platform/FirebaseCrashlytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseCrashlytics.framework/FirebaseCrashlytics differ diff --git a/ios/platform/FirebaseCrashlytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseCrashlytics.framework/Info.plist b/ios/platform/FirebaseCrashlytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseCrashlytics.framework/Info.plist index 95c269c..4871d75 100644 --- a/ios/platform/FirebaseCrashlytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseCrashlytics.framework/Info.plist +++ b/ios/platform/FirebaseCrashlytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseCrashlytics.framework/Info.plist @@ -13,7 +13,7 @@ CFBundlePackageType FMWK CFBundleVersion - 9.6.0 + 10.12.0 DTSDKName iphonesimulator11.2 diff --git a/ios/platform/FirebaseSessions.xcframework/Info.plist b/ios/platform/FirebaseSessions.xcframework/Info.plist new file mode 100644 index 0000000..27c3441 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/Info.plist @@ -0,0 +1,95 @@ + + + + + AvailableLibraries + + + LibraryIdentifier + ios-arm64 + LibraryPath + FirebaseSessions.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + LibraryIdentifier + tvos-arm64_x86_64-simulator + LibraryPath + FirebaseSessions.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + tvos + SupportedPlatformVariant + simulator + + + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + FirebaseSessions.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + LibraryIdentifier + macos-arm64_x86_64 + LibraryPath + FirebaseSessions.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + macos + + + LibraryIdentifier + tvos-arm64 + LibraryPath + FirebaseSessions.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + tvos + + + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + FirebaseSessions.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64/FirebaseSessions.framework/FirebaseSessions b/ios/platform/FirebaseSessions.xcframework/ios-arm64/FirebaseSessions.framework/FirebaseSessions new file mode 100644 index 0000000..57adea9 Binary files /dev/null and b/ios/platform/FirebaseSessions.xcframework/ios-arm64/FirebaseSessions.framework/FirebaseSessions differ diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64/FirebaseSessions.framework/Headers/FIRSESNanoPBHelpers.h b/ios/platform/FirebaseSessions.xcframework/ios-arm64/FirebaseSessions.framework/Headers/FIRSESNanoPBHelpers.h new file mode 100644 index 0000000..8956ff0 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/ios-arm64/FirebaseSessions.framework/Headers/FIRSESNanoPBHelpers.h @@ -0,0 +1,96 @@ +// +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#ifndef FIRSESNanoPBHelpers_h +#define FIRSESNanoPBHelpers_h + +#import + +#import +#if __has_include("CoreTelephony/CTTelephonyNetworkInfo.h") && !TARGET_OS_MACCATALYST && \ + !TARGET_OS_OSX && !TARGET_OS_TV +#define TARGET_HAS_MOBILE_CONNECTIVITY +#import +#import +#endif + +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Deinitializes a nanopb struct. Rewritten here to expose to Swift, since `pb_free` is a macro. +void nanopb_free(void* _Nullable); + +/// Returns an error associated with the istream. Written in Objective-C because Swift does not +/// support C language macros +NSString* FIRSESPBGetError(pb_istream_t istream); + +// It seems impossible to specify the nullability of the `fields` parameter below, +// yet the compiler complains that it's missing a nullability specifier. Google +// yields no results at this time. +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wnullability-completeness" +NSData* _Nullable FIRSESEncodeProto(const pb_field_t fields[], + const void* _Nonnull proto, + NSError** error); +#pragma clang diagnostic pop + +/// Mallocs a pb_bytes_array and copies the given NSData bytes into the bytes array. +/// @note Memory needs to be freed manually, through pb_free or pb_release. +/// @param data The data to copy into the new bytes array. +pb_bytes_array_t* _Nullable FIRSESEncodeData(NSData* _Nullable data); + +/// Mallocs a pb_bytes_array and copies the given NSString's bytes into the bytes array. +/// @note Memory needs to be freed manually, through pb_free or pb_release. +/// @param string The string to encode as pb_bytes. +pb_bytes_array_t* _Nullable FIRSESEncodeString(NSString* _Nullable string); + +/// Decodes an array of nanopb bytes into an NSData object +/// @param pbData nanopb data +NSData* FIRSESDecodeData(pb_bytes_array_t* pbData); + +/// Decodes an array of nanopb bytes into an NSString object +/// @param pbData nanopb data +NSString* FIRSESDecodeString(pb_bytes_array_t* pbData); + +/// Checks if 2 nanopb arrays are equal +/// @param array array to check +/// @param expected expected value of the array +BOOL FIRSESIsPBArrayEqual(pb_bytes_array_t* _Nullable array, pb_bytes_array_t* _Nullable expected); + +/// Checks if a nanopb string is equal to an NSString +/// @param pbString nanopb string to check +/// @param str NSString that's expected +BOOL FIRSESIsPBStringEqual(pb_bytes_array_t* _Nullable pbString, NSString* _Nullable str); + +/// Checks if a nanopb array is equal to NSData +/// @param pbArray nanopb array to check +/// @param data NSData that's expected +BOOL FIRSESIsPBDataEqual(pb_bytes_array_t* _Nullable pbArray, NSData* _Nullable data); + +/// Returns the protobuf tag number. Use this to specify which oneof message type we are +/// using for the platform\_info field. This function is required to be in Objective-C because +/// Swift does not support c-style macros. +pb_size_t FIRSESGetAppleApplicationInfoTag(void); + +/// Returns sysctl entry, useful for obtaining OS build version from the kernel. Copied from a +/// private method in GULAppEnvironmentUtil. +NSString* _Nullable FIRSESGetSysctlEntry(const char* sysctlKey); + +NS_ASSUME_NONNULL_END + +#endif /* FIRSESNanoPBHelpers_h */ diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64/FirebaseSessions.framework/Headers/FirebaseSessions-Swift.h b/ios/platform/FirebaseSessions.xcframework/ios-arm64/FirebaseSessions.framework/Headers/FirebaseSessions-Swift.h new file mode 100644 index 0000000..2fc8c03 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/ios-arm64/FirebaseSessions.framework/Headers/FirebaseSessions-Swift.h @@ -0,0 +1,265 @@ +// Generated by Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) +#ifndef FIREBASESESSIONS_SWIFT_H +#define FIREBASESESSIONS_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseSessions",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + + +@class NSString; + +/// Session Payload is a container for Session Data passed to Subscribers +/// whenever the Session changes +SWIFT_CLASS_NAMED("SessionDetails") +@interface FIRSessionDetails : NSObject +@property (nonatomic, copy) NSString * _Nullable sessionId; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +enum FIRSessionsSubscriberName : NSInteger; + +SWIFT_CLASS_NAMED("SessionsDependencies") +@interface FIRSessionsDependencies : NSObject ++ (void)addDependencyWithName:(enum FIRSessionsSubscriberName)name; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol FIRSessionsSubscriber; + +SWIFT_PROTOCOL_NAMED("SessionsProvider") +@protocol FIRSessionsProvider +- (void)registerWithSubscriber:(id _Nonnull)subscriber; +@end + + +/// Sessions Subscriber is an interface that dependent SDKs +/// must implement. +SWIFT_PROTOCOL_NAMED("SessionsSubscriber") +@protocol FIRSessionsSubscriber +- (void)onSessionChanged:(FIRSessionDetails * _Nonnull)session; +@property (nonatomic, readonly) BOOL isDataCollectionEnabled; +@property (nonatomic, readonly) enum FIRSessionsSubscriberName sessionsSubscriberName; +@end + +/// Session Subscriber Names are used for identifying subscribers +typedef SWIFT_ENUM_NAMED(NSInteger, FIRSessionsSubscriberName, "SessionsSubscriberName", open) { + FIRSessionsSubscriberNameUnknown = 0, + FIRSessionsSubscriberNameCrashlytics = 1, + FIRSessionsSubscriberNamePerformance = 2, +}; + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64/FirebaseSessions.framework/Headers/FirebaseSessions-umbrella.h b/ios/platform/FirebaseSessions.xcframework/ios-arm64/FirebaseSessions.framework/Headers/FirebaseSessions-umbrella.h new file mode 100644 index 0000000..f0032f8 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/ios-arm64/FirebaseSessions.framework/Headers/FirebaseSessions-umbrella.h @@ -0,0 +1,18 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRSESNanoPBHelpers.h" +#import "sessions.nanopb.h" + +FOUNDATION_EXPORT double FirebaseSessionsVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseSessionsVersionString[]; + diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64/FirebaseSessions.framework/Headers/sessions.nanopb.h b/ios/platform/FirebaseSessions.xcframework/ios-arm64/FirebaseSessions.framework/Headers/sessions.nanopb.h new file mode 100644 index 0000000..c8cfeb8 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/ios-arm64/FirebaseSessions.framework/Headers/sessions.nanopb.h @@ -0,0 +1,268 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/* Automatically generated nanopb header */ +/* Generated by nanopb-0.3.9.9 */ + +#ifndef PB_FIREBASE_APPQUALITY_SESSIONS_SESSIONS_NANOPB_H_INCLUDED +#define PB_FIREBASE_APPQUALITY_SESSIONS_SESSIONS_NANOPB_H_INCLUDED +#include + +/* @@protoc_insertion_point(includes) */ +#if PB_PROTO_HEADER_VERSION != 30 +#error Regenerate this file with the current version of nanopb generator. +#endif + + +/* Enum definitions */ +typedef enum _firebase_appquality_sessions_EventType { + firebase_appquality_sessions_EventType_EVENT_TYPE_UNKNOWN = 0, + firebase_appquality_sessions_EventType_SESSION_START = 1 +} firebase_appquality_sessions_EventType; +#define _firebase_appquality_sessions_EventType_MIN firebase_appquality_sessions_EventType_EVENT_TYPE_UNKNOWN +#define _firebase_appquality_sessions_EventType_MAX firebase_appquality_sessions_EventType_SESSION_START +#define _firebase_appquality_sessions_EventType_ARRAYSIZE ((firebase_appquality_sessions_EventType)(firebase_appquality_sessions_EventType_SESSION_START+1)) + +typedef enum _firebase_appquality_sessions_DataCollectionState { + firebase_appquality_sessions_DataCollectionState_COLLECTION_UNKNOWN = 0, + firebase_appquality_sessions_DataCollectionState_COLLECTION_SDK_NOT_INSTALLED = 1, + firebase_appquality_sessions_DataCollectionState_COLLECTION_ENABLED = 2, + firebase_appquality_sessions_DataCollectionState_COLLECTION_DISABLED = 3, + firebase_appquality_sessions_DataCollectionState_COLLECTION_DISABLED_REMOTE = 4, + firebase_appquality_sessions_DataCollectionState_COLLECTION_SAMPLED = 5 +} firebase_appquality_sessions_DataCollectionState; +#define _firebase_appquality_sessions_DataCollectionState_MIN firebase_appquality_sessions_DataCollectionState_COLLECTION_UNKNOWN +#define _firebase_appquality_sessions_DataCollectionState_MAX firebase_appquality_sessions_DataCollectionState_COLLECTION_SAMPLED +#define _firebase_appquality_sessions_DataCollectionState_ARRAYSIZE ((firebase_appquality_sessions_DataCollectionState)(firebase_appquality_sessions_DataCollectionState_COLLECTION_SAMPLED+1)) + +typedef enum _firebase_appquality_sessions_OsName { + firebase_appquality_sessions_OsName_UNKNOWN_OSNAME = 0, + firebase_appquality_sessions_OsName_MACOS = 1, + firebase_appquality_sessions_OsName_MACCATALYST = 2, + firebase_appquality_sessions_OsName_IOS_ON_MAC = 3, + firebase_appquality_sessions_OsName_IOS = 4, + firebase_appquality_sessions_OsName_TVOS = 5, + firebase_appquality_sessions_OsName_WATCHOS = 6, + firebase_appquality_sessions_OsName_IPADOS = 7, + firebase_appquality_sessions_OsName_UNSPECIFIED = 8 +} firebase_appquality_sessions_OsName; +#define _firebase_appquality_sessions_OsName_MIN firebase_appquality_sessions_OsName_UNKNOWN_OSNAME +#define _firebase_appquality_sessions_OsName_MAX firebase_appquality_sessions_OsName_UNSPECIFIED +#define _firebase_appquality_sessions_OsName_ARRAYSIZE ((firebase_appquality_sessions_OsName)(firebase_appquality_sessions_OsName_UNSPECIFIED+1)) + +typedef enum _firebase_appquality_sessions_LogEnvironment { + firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_UNKNOWN = 0, + firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_AUTOPUSH = 1, + firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_STAGING = 2, + firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_PROD = 3 +} firebase_appquality_sessions_LogEnvironment; +#define _firebase_appquality_sessions_LogEnvironment_MIN firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_UNKNOWN +#define _firebase_appquality_sessions_LogEnvironment_MAX firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_PROD +#define _firebase_appquality_sessions_LogEnvironment_ARRAYSIZE ((firebase_appquality_sessions_LogEnvironment)(firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_PROD+1)) + +typedef enum _firebase_appquality_sessions_NetworkConnectionInfo_NetworkType { + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE = 0, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_WIFI = 1, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_MMS = 2, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_SUPL = 3, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_DUN = 4, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_HIPRI = 5, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_WIMAX = 6, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_BLUETOOTH = 7, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_DUMMY = 8, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_ETHERNET = 9, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_FOTA = 10, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_IMS = 11, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_CBS = 12, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_WIFI_P2P = 13, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_IA = 14, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_EMERGENCY = 15, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_PROXY = 16, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_VPN = 17 +} firebase_appquality_sessions_NetworkConnectionInfo_NetworkType; +#define _firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MIN firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE +#define _firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MAX firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_VPN +#define _firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_ARRAYSIZE ((firebase_appquality_sessions_NetworkConnectionInfo_NetworkType)(firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_VPN+1)) + +typedef enum _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype { + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_UNKNOWN_MOBILE_SUBTYPE = 0, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_GPRS = 1, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_EDGE = 2, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_UMTS = 3, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_CDMA = 4, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_EVDO_0 = 5, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_EVDO_A = 6, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_RTT = 7, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_HSDPA = 8, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_HSUPA = 9, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_HSPA = 10, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_IDEN = 11, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_EVDO_B = 12, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_LTE = 13, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_EHRPD = 14, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_HSPAP = 15, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_GSM = 16, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_TD_SCDMA = 17, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_IWLAN = 18, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_LTE_CA = 19, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_NR = 20, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_COMBINED = 100 +} firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype; +#define _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_MIN firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_UNKNOWN_MOBILE_SUBTYPE +#define _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_MAX firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_COMBINED +#define _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_ARRAYSIZE ((firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype)(firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_COMBINED+1)) + +/* Struct definitions */ +typedef struct _firebase_appquality_sessions_AndroidApplicationInfo { + pb_bytes_array_t *package_name; + pb_bytes_array_t *version_name; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_AndroidApplicationInfo) */ +} firebase_appquality_sessions_AndroidApplicationInfo; + +typedef struct _firebase_appquality_sessions_DataCollectionStatus { + firebase_appquality_sessions_DataCollectionState performance; + firebase_appquality_sessions_DataCollectionState crashlytics; + double session_sampling_rate; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_DataCollectionStatus) */ +} firebase_appquality_sessions_DataCollectionStatus; + +typedef struct _firebase_appquality_sessions_NetworkConnectionInfo { + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType network_type; + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype mobile_subtype; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_NetworkConnectionInfo) */ +} firebase_appquality_sessions_NetworkConnectionInfo; + +typedef struct _firebase_appquality_sessions_AppleApplicationInfo { + pb_bytes_array_t *bundle_short_version; + firebase_appquality_sessions_NetworkConnectionInfo network_connection_info; + firebase_appquality_sessions_OsName os_name; + pb_bytes_array_t *mcc_mnc; + pb_bytes_array_t *app_build_version; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_AppleApplicationInfo) */ +} firebase_appquality_sessions_AppleApplicationInfo; + +typedef struct _firebase_appquality_sessions_SessionInfo { + pb_bytes_array_t *session_id; + pb_bytes_array_t *firebase_installation_id; + int64_t event_timestamp_us; + firebase_appquality_sessions_DataCollectionStatus data_collection_status; + pb_bytes_array_t *first_session_id; + int32_t session_index; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_SessionInfo) */ +} firebase_appquality_sessions_SessionInfo; + +typedef struct _firebase_appquality_sessions_ApplicationInfo { + pb_bytes_array_t *app_id; + pb_bytes_array_t *device_model; + pb_bytes_array_t *development_platform_name; + pb_bytes_array_t *development_platform_version; + pb_size_t which_platform_info; + union { + firebase_appquality_sessions_AndroidApplicationInfo android_app_info; + firebase_appquality_sessions_AppleApplicationInfo apple_app_info; + }; + pb_bytes_array_t *session_sdk_version; + firebase_appquality_sessions_LogEnvironment log_environment; + pb_bytes_array_t *os_version; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_ApplicationInfo) */ +} firebase_appquality_sessions_ApplicationInfo; + +typedef struct _firebase_appquality_sessions_SessionEvent { + firebase_appquality_sessions_EventType event_type; + firebase_appquality_sessions_SessionInfo session_data; + firebase_appquality_sessions_ApplicationInfo application_info; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_SessionEvent) */ +} firebase_appquality_sessions_SessionEvent; + +/* Default values for struct fields */ + +/* Initializer values for message structs */ +#define firebase_appquality_sessions_SessionEvent_init_default {_firebase_appquality_sessions_EventType_MIN, firebase_appquality_sessions_SessionInfo_init_default, firebase_appquality_sessions_ApplicationInfo_init_default} +#define firebase_appquality_sessions_NetworkConnectionInfo_init_default {_firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MIN, _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_MIN} +#define firebase_appquality_sessions_SessionInfo_init_default {NULL, NULL, 0, firebase_appquality_sessions_DataCollectionStatus_init_default, NULL, 0} +#define firebase_appquality_sessions_DataCollectionStatus_init_default {_firebase_appquality_sessions_DataCollectionState_MIN, _firebase_appquality_sessions_DataCollectionState_MIN, 0} +#define firebase_appquality_sessions_ApplicationInfo_init_default {NULL, NULL, NULL, NULL, 0, {firebase_appquality_sessions_AndroidApplicationInfo_init_default}, NULL, _firebase_appquality_sessions_LogEnvironment_MIN, NULL} +#define firebase_appquality_sessions_AndroidApplicationInfo_init_default {NULL, NULL} +#define firebase_appquality_sessions_AppleApplicationInfo_init_default {NULL, firebase_appquality_sessions_NetworkConnectionInfo_init_default, _firebase_appquality_sessions_OsName_MIN, NULL, NULL} +#define firebase_appquality_sessions_SessionEvent_init_zero {_firebase_appquality_sessions_EventType_MIN, firebase_appquality_sessions_SessionInfo_init_zero, firebase_appquality_sessions_ApplicationInfo_init_zero} +#define firebase_appquality_sessions_NetworkConnectionInfo_init_zero {_firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MIN, _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_MIN} +#define firebase_appquality_sessions_SessionInfo_init_zero {NULL, NULL, 0, firebase_appquality_sessions_DataCollectionStatus_init_zero, NULL, 0} +#define firebase_appquality_sessions_DataCollectionStatus_init_zero {_firebase_appquality_sessions_DataCollectionState_MIN, _firebase_appquality_sessions_DataCollectionState_MIN, 0} +#define firebase_appquality_sessions_ApplicationInfo_init_zero {NULL, NULL, NULL, NULL, 0, {firebase_appquality_sessions_AndroidApplicationInfo_init_zero}, NULL, _firebase_appquality_sessions_LogEnvironment_MIN, NULL} +#define firebase_appquality_sessions_AndroidApplicationInfo_init_zero {NULL, NULL} +#define firebase_appquality_sessions_AppleApplicationInfo_init_zero {NULL, firebase_appquality_sessions_NetworkConnectionInfo_init_zero, _firebase_appquality_sessions_OsName_MIN, NULL, NULL} + +/* Field tags (for use in manual encoding/decoding) */ +#define firebase_appquality_sessions_AndroidApplicationInfo_package_name_tag 1 +#define firebase_appquality_sessions_AndroidApplicationInfo_version_name_tag 3 +#define firebase_appquality_sessions_DataCollectionStatus_performance_tag 1 +#define firebase_appquality_sessions_DataCollectionStatus_crashlytics_tag 2 +#define firebase_appquality_sessions_DataCollectionStatus_session_sampling_rate_tag 3 +#define firebase_appquality_sessions_NetworkConnectionInfo_network_type_tag 1 +#define firebase_appquality_sessions_NetworkConnectionInfo_mobile_subtype_tag 2 +#define firebase_appquality_sessions_AppleApplicationInfo_bundle_short_version_tag 1 +#define firebase_appquality_sessions_AppleApplicationInfo_app_build_version_tag 6 +#define firebase_appquality_sessions_AppleApplicationInfo_network_connection_info_tag 3 +#define firebase_appquality_sessions_AppleApplicationInfo_os_name_tag 4 +#define firebase_appquality_sessions_AppleApplicationInfo_mcc_mnc_tag 5 +#define firebase_appquality_sessions_SessionInfo_session_id_tag 1 +#define firebase_appquality_sessions_SessionInfo_first_session_id_tag 7 +#define firebase_appquality_sessions_SessionInfo_session_index_tag 8 +#define firebase_appquality_sessions_SessionInfo_firebase_installation_id_tag 3 +#define firebase_appquality_sessions_SessionInfo_event_timestamp_us_tag 4 +#define firebase_appquality_sessions_SessionInfo_data_collection_status_tag 6 +#define firebase_appquality_sessions_ApplicationInfo_android_app_info_tag 5 +#define firebase_appquality_sessions_ApplicationInfo_apple_app_info_tag 6 +#define firebase_appquality_sessions_ApplicationInfo_app_id_tag 1 +#define firebase_appquality_sessions_ApplicationInfo_device_model_tag 2 +#define firebase_appquality_sessions_ApplicationInfo_development_platform_name_tag 3 +#define firebase_appquality_sessions_ApplicationInfo_development_platform_version_tag 4 +#define firebase_appquality_sessions_ApplicationInfo_session_sdk_version_tag 7 +#define firebase_appquality_sessions_ApplicationInfo_os_version_tag 9 +#define firebase_appquality_sessions_ApplicationInfo_log_environment_tag 8 +#define firebase_appquality_sessions_SessionEvent_event_type_tag 1 +#define firebase_appquality_sessions_SessionEvent_session_data_tag 2 +#define firebase_appquality_sessions_SessionEvent_application_info_tag 3 + +/* Struct field encoding specification for nanopb */ +extern const pb_field_t firebase_appquality_sessions_SessionEvent_fields[4]; +extern const pb_field_t firebase_appquality_sessions_NetworkConnectionInfo_fields[3]; +extern const pb_field_t firebase_appquality_sessions_SessionInfo_fields[7]; +extern const pb_field_t firebase_appquality_sessions_DataCollectionStatus_fields[4]; +extern const pb_field_t firebase_appquality_sessions_ApplicationInfo_fields[10]; +extern const pb_field_t firebase_appquality_sessions_AndroidApplicationInfo_fields[3]; +extern const pb_field_t firebase_appquality_sessions_AppleApplicationInfo_fields[6]; + +/* Maximum encoded size of messages (where known) */ +/* firebase_appquality_sessions_SessionEvent_size depends on runtime parameters */ +#define firebase_appquality_sessions_NetworkConnectionInfo_size 4 +/* firebase_appquality_sessions_SessionInfo_size depends on runtime parameters */ +#define firebase_appquality_sessions_DataCollectionStatus_size 13 +/* firebase_appquality_sessions_ApplicationInfo_size depends on runtime parameters */ +/* firebase_appquality_sessions_AndroidApplicationInfo_size depends on runtime parameters */ +/* firebase_appquality_sessions_AppleApplicationInfo_size depends on runtime parameters */ + +/* Message IDs (where set with "msgid" option) */ +#ifdef PB_MSGID + +#define SESSIONS_MESSAGES \ + + +#endif + +/* @@protoc_insertion_point(eof) */ + +#endif diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64/FirebaseSessions.framework/Info.plist b/ios/platform/FirebaseSessions.xcframework/ios-arm64/FirebaseSessions.framework/Info.plist new file mode 100644 index 0000000..ec3a735 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/ios-arm64/FirebaseSessions.framework/Info.plist @@ -0,0 +1,20 @@ + + + + + CFBundleExecutable + FirebaseSessions + CFBundleIdentifier + com.firebase.Firebase-FirebaseSessions + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseSessions + CFBundlePackageType + FMWK + CFBundleVersion + 10.12.0 + DTSDKName + iphonesimulator11.2 + + diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo b/ios/platform/FirebaseSessions.xcframework/ios-arm64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo new file mode 100644 index 0000000..5d4a3df Binary files /dev/null and b/ios/platform/FirebaseSessions.xcframework/ios-arm64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo differ diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-ios.swiftdoc b/ios/platform/FirebaseSessions.xcframework/ios-arm64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-ios.swiftdoc new file mode 100644 index 0000000..4a2d0f7 Binary files /dev/null and b/ios/platform/FirebaseSessions.xcframework/ios-arm64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-ios.swiftinterface b/ios/platform/FirebaseSessions.xcframework/ios-arm64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-ios.swiftinterface new file mode 100644 index 0000000..6bfea99 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/ios-arm64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-ios.swiftinterface @@ -0,0 +1,72 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseSessions +@_exported import FirebaseSessions +import Foundation +import Swift +import UIKit +import _Concurrency +extension FirebaseSessions._firebase_appquality_sessions_EventType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension FirebaseSessions._firebase_appquality_sessions_DataCollectionState : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension FirebaseSessions._firebase_appquality_sessions_OsName : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension FirebaseSessions._firebase_appquality_sessions_LogEnvironment : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension Swift.UnsafeMutablePointer : Swift.CustomStringConvertible where Pointee == nanopb.pb_bytes_array_t { + public var description: Swift.String { + get + } +} +extension Swift.Optional : Swift.CustomStringConvertible where Wrapped == Swift.UnsafeMutablePointer { + public var description: Swift.String { + get + } +} +@_inheritsConvenienceInitializers @objc(FIRSessionsDependencies) public class SessionsDependencies : ObjectiveC.NSObject { + @objc public static func addDependency(name: FirebaseSessions.SessionsSubscriberName) + @objc override dynamic public init() + @objc deinit +} +@objc(FIRSessionsProvider) public protocol SessionsProvider { + @objc func register(subscriber: FirebaseSessions.SessionsSubscriber) +} +@objc(FIRSessionsSubscriber) public protocol SessionsSubscriber { + @objc func onSessionChanged(_ session: FirebaseSessions.SessionDetails) + @objc var isDataCollectionEnabled: Swift.Bool { get } + @objc var sessionsSubscriberName: FirebaseSessions.SessionsSubscriberName { get } +} +@objc(FIRSessionDetails) public class SessionDetails : ObjectiveC.NSObject { + @objc public var sessionId: Swift.String? + public init(sessionId: Swift.String?) + @objc deinit +} +@objc(FIRSessionsSubscriberName) public enum SessionsSubscriberName : Swift.Int, Swift.CustomStringConvertible { + case Unknown + case Crashlytics + case Performance + public var description: Swift.String { + get + } + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +extension FirebaseSessions.SessionsSubscriberName : Swift.Equatable {} +extension FirebaseSessions.SessionsSubscriberName : Swift.Hashable {} +extension FirebaseSessions.SessionsSubscriberName : Swift.RawRepresentable {} diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64/FirebaseSessions.framework/Modules/module.modulemap b/ios/platform/FirebaseSessions.xcframework/ios-arm64/FirebaseSessions.framework/Modules/module.modulemap new file mode 100644 index 0000000..3072d37 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/ios-arm64/FirebaseSessions.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FirebaseSessions { + umbrella header "FirebaseSessions-umbrella.h" + + export * + module * { export * } +} + +module FirebaseSessions.Swift { + header "FirebaseSessions-Swift.h" + requires objc +} diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/FirebaseSessions b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/FirebaseSessions new file mode 100644 index 0000000..e26157d Binary files /dev/null and b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/FirebaseSessions differ diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Headers/FIRSESNanoPBHelpers.h b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Headers/FIRSESNanoPBHelpers.h new file mode 100644 index 0000000..8956ff0 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Headers/FIRSESNanoPBHelpers.h @@ -0,0 +1,96 @@ +// +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#ifndef FIRSESNanoPBHelpers_h +#define FIRSESNanoPBHelpers_h + +#import + +#import +#if __has_include("CoreTelephony/CTTelephonyNetworkInfo.h") && !TARGET_OS_MACCATALYST && \ + !TARGET_OS_OSX && !TARGET_OS_TV +#define TARGET_HAS_MOBILE_CONNECTIVITY +#import +#import +#endif + +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Deinitializes a nanopb struct. Rewritten here to expose to Swift, since `pb_free` is a macro. +void nanopb_free(void* _Nullable); + +/// Returns an error associated with the istream. Written in Objective-C because Swift does not +/// support C language macros +NSString* FIRSESPBGetError(pb_istream_t istream); + +// It seems impossible to specify the nullability of the `fields` parameter below, +// yet the compiler complains that it's missing a nullability specifier. Google +// yields no results at this time. +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wnullability-completeness" +NSData* _Nullable FIRSESEncodeProto(const pb_field_t fields[], + const void* _Nonnull proto, + NSError** error); +#pragma clang diagnostic pop + +/// Mallocs a pb_bytes_array and copies the given NSData bytes into the bytes array. +/// @note Memory needs to be freed manually, through pb_free or pb_release. +/// @param data The data to copy into the new bytes array. +pb_bytes_array_t* _Nullable FIRSESEncodeData(NSData* _Nullable data); + +/// Mallocs a pb_bytes_array and copies the given NSString's bytes into the bytes array. +/// @note Memory needs to be freed manually, through pb_free or pb_release. +/// @param string The string to encode as pb_bytes. +pb_bytes_array_t* _Nullable FIRSESEncodeString(NSString* _Nullable string); + +/// Decodes an array of nanopb bytes into an NSData object +/// @param pbData nanopb data +NSData* FIRSESDecodeData(pb_bytes_array_t* pbData); + +/// Decodes an array of nanopb bytes into an NSString object +/// @param pbData nanopb data +NSString* FIRSESDecodeString(pb_bytes_array_t* pbData); + +/// Checks if 2 nanopb arrays are equal +/// @param array array to check +/// @param expected expected value of the array +BOOL FIRSESIsPBArrayEqual(pb_bytes_array_t* _Nullable array, pb_bytes_array_t* _Nullable expected); + +/// Checks if a nanopb string is equal to an NSString +/// @param pbString nanopb string to check +/// @param str NSString that's expected +BOOL FIRSESIsPBStringEqual(pb_bytes_array_t* _Nullable pbString, NSString* _Nullable str); + +/// Checks if a nanopb array is equal to NSData +/// @param pbArray nanopb array to check +/// @param data NSData that's expected +BOOL FIRSESIsPBDataEqual(pb_bytes_array_t* _Nullable pbArray, NSData* _Nullable data); + +/// Returns the protobuf tag number. Use this to specify which oneof message type we are +/// using for the platform\_info field. This function is required to be in Objective-C because +/// Swift does not support c-style macros. +pb_size_t FIRSESGetAppleApplicationInfoTag(void); + +/// Returns sysctl entry, useful for obtaining OS build version from the kernel. Copied from a +/// private method in GULAppEnvironmentUtil. +NSString* _Nullable FIRSESGetSysctlEntry(const char* sysctlKey); + +NS_ASSUME_NONNULL_END + +#endif /* FIRSESNanoPBHelpers_h */ diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Headers/FirebaseSessions-Swift.h b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Headers/FirebaseSessions-Swift.h new file mode 100644 index 0000000..2fc8c03 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Headers/FirebaseSessions-Swift.h @@ -0,0 +1,265 @@ +// Generated by Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) +#ifndef FIREBASESESSIONS_SWIFT_H +#define FIREBASESESSIONS_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseSessions",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + + +@class NSString; + +/// Session Payload is a container for Session Data passed to Subscribers +/// whenever the Session changes +SWIFT_CLASS_NAMED("SessionDetails") +@interface FIRSessionDetails : NSObject +@property (nonatomic, copy) NSString * _Nullable sessionId; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +enum FIRSessionsSubscriberName : NSInteger; + +SWIFT_CLASS_NAMED("SessionsDependencies") +@interface FIRSessionsDependencies : NSObject ++ (void)addDependencyWithName:(enum FIRSessionsSubscriberName)name; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol FIRSessionsSubscriber; + +SWIFT_PROTOCOL_NAMED("SessionsProvider") +@protocol FIRSessionsProvider +- (void)registerWithSubscriber:(id _Nonnull)subscriber; +@end + + +/// Sessions Subscriber is an interface that dependent SDKs +/// must implement. +SWIFT_PROTOCOL_NAMED("SessionsSubscriber") +@protocol FIRSessionsSubscriber +- (void)onSessionChanged:(FIRSessionDetails * _Nonnull)session; +@property (nonatomic, readonly) BOOL isDataCollectionEnabled; +@property (nonatomic, readonly) enum FIRSessionsSubscriberName sessionsSubscriberName; +@end + +/// Session Subscriber Names are used for identifying subscribers +typedef SWIFT_ENUM_NAMED(NSInteger, FIRSessionsSubscriberName, "SessionsSubscriberName", open) { + FIRSessionsSubscriberNameUnknown = 0, + FIRSessionsSubscriberNameCrashlytics = 1, + FIRSessionsSubscriberNamePerformance = 2, +}; + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Headers/FirebaseSessions-umbrella.h b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Headers/FirebaseSessions-umbrella.h new file mode 100644 index 0000000..f0032f8 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Headers/FirebaseSessions-umbrella.h @@ -0,0 +1,18 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRSESNanoPBHelpers.h" +#import "sessions.nanopb.h" + +FOUNDATION_EXPORT double FirebaseSessionsVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseSessionsVersionString[]; + diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Headers/sessions.nanopb.h b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Headers/sessions.nanopb.h new file mode 100644 index 0000000..c8cfeb8 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Headers/sessions.nanopb.h @@ -0,0 +1,268 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/* Automatically generated nanopb header */ +/* Generated by nanopb-0.3.9.9 */ + +#ifndef PB_FIREBASE_APPQUALITY_SESSIONS_SESSIONS_NANOPB_H_INCLUDED +#define PB_FIREBASE_APPQUALITY_SESSIONS_SESSIONS_NANOPB_H_INCLUDED +#include + +/* @@protoc_insertion_point(includes) */ +#if PB_PROTO_HEADER_VERSION != 30 +#error Regenerate this file with the current version of nanopb generator. +#endif + + +/* Enum definitions */ +typedef enum _firebase_appquality_sessions_EventType { + firebase_appquality_sessions_EventType_EVENT_TYPE_UNKNOWN = 0, + firebase_appquality_sessions_EventType_SESSION_START = 1 +} firebase_appquality_sessions_EventType; +#define _firebase_appquality_sessions_EventType_MIN firebase_appquality_sessions_EventType_EVENT_TYPE_UNKNOWN +#define _firebase_appquality_sessions_EventType_MAX firebase_appquality_sessions_EventType_SESSION_START +#define _firebase_appquality_sessions_EventType_ARRAYSIZE ((firebase_appquality_sessions_EventType)(firebase_appquality_sessions_EventType_SESSION_START+1)) + +typedef enum _firebase_appquality_sessions_DataCollectionState { + firebase_appquality_sessions_DataCollectionState_COLLECTION_UNKNOWN = 0, + firebase_appquality_sessions_DataCollectionState_COLLECTION_SDK_NOT_INSTALLED = 1, + firebase_appquality_sessions_DataCollectionState_COLLECTION_ENABLED = 2, + firebase_appquality_sessions_DataCollectionState_COLLECTION_DISABLED = 3, + firebase_appquality_sessions_DataCollectionState_COLLECTION_DISABLED_REMOTE = 4, + firebase_appquality_sessions_DataCollectionState_COLLECTION_SAMPLED = 5 +} firebase_appquality_sessions_DataCollectionState; +#define _firebase_appquality_sessions_DataCollectionState_MIN firebase_appquality_sessions_DataCollectionState_COLLECTION_UNKNOWN +#define _firebase_appquality_sessions_DataCollectionState_MAX firebase_appquality_sessions_DataCollectionState_COLLECTION_SAMPLED +#define _firebase_appquality_sessions_DataCollectionState_ARRAYSIZE ((firebase_appquality_sessions_DataCollectionState)(firebase_appquality_sessions_DataCollectionState_COLLECTION_SAMPLED+1)) + +typedef enum _firebase_appquality_sessions_OsName { + firebase_appquality_sessions_OsName_UNKNOWN_OSNAME = 0, + firebase_appquality_sessions_OsName_MACOS = 1, + firebase_appquality_sessions_OsName_MACCATALYST = 2, + firebase_appquality_sessions_OsName_IOS_ON_MAC = 3, + firebase_appquality_sessions_OsName_IOS = 4, + firebase_appquality_sessions_OsName_TVOS = 5, + firebase_appquality_sessions_OsName_WATCHOS = 6, + firebase_appquality_sessions_OsName_IPADOS = 7, + firebase_appquality_sessions_OsName_UNSPECIFIED = 8 +} firebase_appquality_sessions_OsName; +#define _firebase_appquality_sessions_OsName_MIN firebase_appquality_sessions_OsName_UNKNOWN_OSNAME +#define _firebase_appquality_sessions_OsName_MAX firebase_appquality_sessions_OsName_UNSPECIFIED +#define _firebase_appquality_sessions_OsName_ARRAYSIZE ((firebase_appquality_sessions_OsName)(firebase_appquality_sessions_OsName_UNSPECIFIED+1)) + +typedef enum _firebase_appquality_sessions_LogEnvironment { + firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_UNKNOWN = 0, + firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_AUTOPUSH = 1, + firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_STAGING = 2, + firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_PROD = 3 +} firebase_appquality_sessions_LogEnvironment; +#define _firebase_appquality_sessions_LogEnvironment_MIN firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_UNKNOWN +#define _firebase_appquality_sessions_LogEnvironment_MAX firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_PROD +#define _firebase_appquality_sessions_LogEnvironment_ARRAYSIZE ((firebase_appquality_sessions_LogEnvironment)(firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_PROD+1)) + +typedef enum _firebase_appquality_sessions_NetworkConnectionInfo_NetworkType { + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE = 0, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_WIFI = 1, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_MMS = 2, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_SUPL = 3, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_DUN = 4, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_HIPRI = 5, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_WIMAX = 6, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_BLUETOOTH = 7, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_DUMMY = 8, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_ETHERNET = 9, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_FOTA = 10, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_IMS = 11, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_CBS = 12, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_WIFI_P2P = 13, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_IA = 14, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_EMERGENCY = 15, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_PROXY = 16, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_VPN = 17 +} firebase_appquality_sessions_NetworkConnectionInfo_NetworkType; +#define _firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MIN firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE +#define _firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MAX firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_VPN +#define _firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_ARRAYSIZE ((firebase_appquality_sessions_NetworkConnectionInfo_NetworkType)(firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_VPN+1)) + +typedef enum _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype { + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_UNKNOWN_MOBILE_SUBTYPE = 0, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_GPRS = 1, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_EDGE = 2, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_UMTS = 3, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_CDMA = 4, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_EVDO_0 = 5, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_EVDO_A = 6, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_RTT = 7, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_HSDPA = 8, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_HSUPA = 9, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_HSPA = 10, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_IDEN = 11, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_EVDO_B = 12, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_LTE = 13, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_EHRPD = 14, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_HSPAP = 15, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_GSM = 16, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_TD_SCDMA = 17, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_IWLAN = 18, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_LTE_CA = 19, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_NR = 20, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_COMBINED = 100 +} firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype; +#define _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_MIN firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_UNKNOWN_MOBILE_SUBTYPE +#define _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_MAX firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_COMBINED +#define _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_ARRAYSIZE ((firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype)(firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_COMBINED+1)) + +/* Struct definitions */ +typedef struct _firebase_appquality_sessions_AndroidApplicationInfo { + pb_bytes_array_t *package_name; + pb_bytes_array_t *version_name; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_AndroidApplicationInfo) */ +} firebase_appquality_sessions_AndroidApplicationInfo; + +typedef struct _firebase_appquality_sessions_DataCollectionStatus { + firebase_appquality_sessions_DataCollectionState performance; + firebase_appquality_sessions_DataCollectionState crashlytics; + double session_sampling_rate; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_DataCollectionStatus) */ +} firebase_appquality_sessions_DataCollectionStatus; + +typedef struct _firebase_appquality_sessions_NetworkConnectionInfo { + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType network_type; + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype mobile_subtype; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_NetworkConnectionInfo) */ +} firebase_appquality_sessions_NetworkConnectionInfo; + +typedef struct _firebase_appquality_sessions_AppleApplicationInfo { + pb_bytes_array_t *bundle_short_version; + firebase_appquality_sessions_NetworkConnectionInfo network_connection_info; + firebase_appquality_sessions_OsName os_name; + pb_bytes_array_t *mcc_mnc; + pb_bytes_array_t *app_build_version; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_AppleApplicationInfo) */ +} firebase_appquality_sessions_AppleApplicationInfo; + +typedef struct _firebase_appquality_sessions_SessionInfo { + pb_bytes_array_t *session_id; + pb_bytes_array_t *firebase_installation_id; + int64_t event_timestamp_us; + firebase_appquality_sessions_DataCollectionStatus data_collection_status; + pb_bytes_array_t *first_session_id; + int32_t session_index; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_SessionInfo) */ +} firebase_appquality_sessions_SessionInfo; + +typedef struct _firebase_appquality_sessions_ApplicationInfo { + pb_bytes_array_t *app_id; + pb_bytes_array_t *device_model; + pb_bytes_array_t *development_platform_name; + pb_bytes_array_t *development_platform_version; + pb_size_t which_platform_info; + union { + firebase_appquality_sessions_AndroidApplicationInfo android_app_info; + firebase_appquality_sessions_AppleApplicationInfo apple_app_info; + }; + pb_bytes_array_t *session_sdk_version; + firebase_appquality_sessions_LogEnvironment log_environment; + pb_bytes_array_t *os_version; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_ApplicationInfo) */ +} firebase_appquality_sessions_ApplicationInfo; + +typedef struct _firebase_appquality_sessions_SessionEvent { + firebase_appquality_sessions_EventType event_type; + firebase_appquality_sessions_SessionInfo session_data; + firebase_appquality_sessions_ApplicationInfo application_info; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_SessionEvent) */ +} firebase_appquality_sessions_SessionEvent; + +/* Default values for struct fields */ + +/* Initializer values for message structs */ +#define firebase_appquality_sessions_SessionEvent_init_default {_firebase_appquality_sessions_EventType_MIN, firebase_appquality_sessions_SessionInfo_init_default, firebase_appquality_sessions_ApplicationInfo_init_default} +#define firebase_appquality_sessions_NetworkConnectionInfo_init_default {_firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MIN, _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_MIN} +#define firebase_appquality_sessions_SessionInfo_init_default {NULL, NULL, 0, firebase_appquality_sessions_DataCollectionStatus_init_default, NULL, 0} +#define firebase_appquality_sessions_DataCollectionStatus_init_default {_firebase_appquality_sessions_DataCollectionState_MIN, _firebase_appquality_sessions_DataCollectionState_MIN, 0} +#define firebase_appquality_sessions_ApplicationInfo_init_default {NULL, NULL, NULL, NULL, 0, {firebase_appquality_sessions_AndroidApplicationInfo_init_default}, NULL, _firebase_appquality_sessions_LogEnvironment_MIN, NULL} +#define firebase_appquality_sessions_AndroidApplicationInfo_init_default {NULL, NULL} +#define firebase_appquality_sessions_AppleApplicationInfo_init_default {NULL, firebase_appquality_sessions_NetworkConnectionInfo_init_default, _firebase_appquality_sessions_OsName_MIN, NULL, NULL} +#define firebase_appquality_sessions_SessionEvent_init_zero {_firebase_appquality_sessions_EventType_MIN, firebase_appquality_sessions_SessionInfo_init_zero, firebase_appquality_sessions_ApplicationInfo_init_zero} +#define firebase_appquality_sessions_NetworkConnectionInfo_init_zero {_firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MIN, _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_MIN} +#define firebase_appquality_sessions_SessionInfo_init_zero {NULL, NULL, 0, firebase_appquality_sessions_DataCollectionStatus_init_zero, NULL, 0} +#define firebase_appquality_sessions_DataCollectionStatus_init_zero {_firebase_appquality_sessions_DataCollectionState_MIN, _firebase_appquality_sessions_DataCollectionState_MIN, 0} +#define firebase_appquality_sessions_ApplicationInfo_init_zero {NULL, NULL, NULL, NULL, 0, {firebase_appquality_sessions_AndroidApplicationInfo_init_zero}, NULL, _firebase_appquality_sessions_LogEnvironment_MIN, NULL} +#define firebase_appquality_sessions_AndroidApplicationInfo_init_zero {NULL, NULL} +#define firebase_appquality_sessions_AppleApplicationInfo_init_zero {NULL, firebase_appquality_sessions_NetworkConnectionInfo_init_zero, _firebase_appquality_sessions_OsName_MIN, NULL, NULL} + +/* Field tags (for use in manual encoding/decoding) */ +#define firebase_appquality_sessions_AndroidApplicationInfo_package_name_tag 1 +#define firebase_appquality_sessions_AndroidApplicationInfo_version_name_tag 3 +#define firebase_appquality_sessions_DataCollectionStatus_performance_tag 1 +#define firebase_appquality_sessions_DataCollectionStatus_crashlytics_tag 2 +#define firebase_appquality_sessions_DataCollectionStatus_session_sampling_rate_tag 3 +#define firebase_appquality_sessions_NetworkConnectionInfo_network_type_tag 1 +#define firebase_appquality_sessions_NetworkConnectionInfo_mobile_subtype_tag 2 +#define firebase_appquality_sessions_AppleApplicationInfo_bundle_short_version_tag 1 +#define firebase_appquality_sessions_AppleApplicationInfo_app_build_version_tag 6 +#define firebase_appquality_sessions_AppleApplicationInfo_network_connection_info_tag 3 +#define firebase_appquality_sessions_AppleApplicationInfo_os_name_tag 4 +#define firebase_appquality_sessions_AppleApplicationInfo_mcc_mnc_tag 5 +#define firebase_appquality_sessions_SessionInfo_session_id_tag 1 +#define firebase_appquality_sessions_SessionInfo_first_session_id_tag 7 +#define firebase_appquality_sessions_SessionInfo_session_index_tag 8 +#define firebase_appquality_sessions_SessionInfo_firebase_installation_id_tag 3 +#define firebase_appquality_sessions_SessionInfo_event_timestamp_us_tag 4 +#define firebase_appquality_sessions_SessionInfo_data_collection_status_tag 6 +#define firebase_appquality_sessions_ApplicationInfo_android_app_info_tag 5 +#define firebase_appquality_sessions_ApplicationInfo_apple_app_info_tag 6 +#define firebase_appquality_sessions_ApplicationInfo_app_id_tag 1 +#define firebase_appquality_sessions_ApplicationInfo_device_model_tag 2 +#define firebase_appquality_sessions_ApplicationInfo_development_platform_name_tag 3 +#define firebase_appquality_sessions_ApplicationInfo_development_platform_version_tag 4 +#define firebase_appquality_sessions_ApplicationInfo_session_sdk_version_tag 7 +#define firebase_appquality_sessions_ApplicationInfo_os_version_tag 9 +#define firebase_appquality_sessions_ApplicationInfo_log_environment_tag 8 +#define firebase_appquality_sessions_SessionEvent_event_type_tag 1 +#define firebase_appquality_sessions_SessionEvent_session_data_tag 2 +#define firebase_appquality_sessions_SessionEvent_application_info_tag 3 + +/* Struct field encoding specification for nanopb */ +extern const pb_field_t firebase_appquality_sessions_SessionEvent_fields[4]; +extern const pb_field_t firebase_appquality_sessions_NetworkConnectionInfo_fields[3]; +extern const pb_field_t firebase_appquality_sessions_SessionInfo_fields[7]; +extern const pb_field_t firebase_appquality_sessions_DataCollectionStatus_fields[4]; +extern const pb_field_t firebase_appquality_sessions_ApplicationInfo_fields[10]; +extern const pb_field_t firebase_appquality_sessions_AndroidApplicationInfo_fields[3]; +extern const pb_field_t firebase_appquality_sessions_AppleApplicationInfo_fields[6]; + +/* Maximum encoded size of messages (where known) */ +/* firebase_appquality_sessions_SessionEvent_size depends on runtime parameters */ +#define firebase_appquality_sessions_NetworkConnectionInfo_size 4 +/* firebase_appquality_sessions_SessionInfo_size depends on runtime parameters */ +#define firebase_appquality_sessions_DataCollectionStatus_size 13 +/* firebase_appquality_sessions_ApplicationInfo_size depends on runtime parameters */ +/* firebase_appquality_sessions_AndroidApplicationInfo_size depends on runtime parameters */ +/* firebase_appquality_sessions_AppleApplicationInfo_size depends on runtime parameters */ + +/* Message IDs (where set with "msgid" option) */ +#ifdef PB_MSGID + +#define SESSIONS_MESSAGES \ + + +#endif + +/* @@protoc_insertion_point(eof) */ + +#endif diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Info.plist b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Info.plist new file mode 100644 index 0000000..ec3a735 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Info.plist @@ -0,0 +1,20 @@ + + + + + CFBundleExecutable + FirebaseSessions + CFBundleIdentifier + com.firebase.Firebase-FirebaseSessions + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseSessions + CFBundlePackageType + FMWK + CFBundleVersion + 10.12.0 + DTSDKName + iphonesimulator11.2 + + diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/Project/arm64-apple-ios-macabi.swiftsourceinfo b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/Project/arm64-apple-ios-macabi.swiftsourceinfo new file mode 100644 index 0000000..186ff56 Binary files /dev/null and b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/Project/arm64-apple-ios-macabi.swiftsourceinfo differ diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/Project/x86_64-apple-ios-macabi.swiftsourceinfo b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/Project/x86_64-apple-ios-macabi.swiftsourceinfo new file mode 100644 index 0000000..2970df4 Binary files /dev/null and b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/Project/x86_64-apple-ios-macabi.swiftsourceinfo differ diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-ios-macabi.swiftdoc b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-ios-macabi.swiftdoc new file mode 100644 index 0000000..491d7c8 Binary files /dev/null and b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-ios-macabi.swiftdoc differ diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-ios-macabi.swiftinterface b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-ios-macabi.swiftinterface new file mode 100644 index 0000000..39bdaca --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-ios-macabi.swiftinterface @@ -0,0 +1,72 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) +// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseSessions +@_exported import FirebaseSessions +import Foundation +import Swift +import UIKit +import _Concurrency +extension FirebaseSessions._firebase_appquality_sessions_EventType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension FirebaseSessions._firebase_appquality_sessions_DataCollectionState : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension FirebaseSessions._firebase_appquality_sessions_OsName : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension FirebaseSessions._firebase_appquality_sessions_LogEnvironment : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension Swift.UnsafeMutablePointer : Swift.CustomStringConvertible where Pointee == nanopb.pb_bytes_array_t { + public var description: Swift.String { + get + } +} +extension Swift.Optional : Swift.CustomStringConvertible where Wrapped == Swift.UnsafeMutablePointer { + public var description: Swift.String { + get + } +} +@_inheritsConvenienceInitializers @objc(FIRSessionsDependencies) public class SessionsDependencies : ObjectiveC.NSObject { + @objc public static func addDependency(name: FirebaseSessions.SessionsSubscriberName) + @objc override dynamic public init() + @objc deinit +} +@objc(FIRSessionsProvider) public protocol SessionsProvider { + @objc func register(subscriber: FirebaseSessions.SessionsSubscriber) +} +@objc(FIRSessionsSubscriber) public protocol SessionsSubscriber { + @objc func onSessionChanged(_ session: FirebaseSessions.SessionDetails) + @objc var isDataCollectionEnabled: Swift.Bool { get } + @objc var sessionsSubscriberName: FirebaseSessions.SessionsSubscriberName { get } +} +@objc(FIRSessionDetails) public class SessionDetails : ObjectiveC.NSObject { + @objc public var sessionId: Swift.String? + public init(sessionId: Swift.String?) + @objc deinit +} +@objc(FIRSessionsSubscriberName) public enum SessionsSubscriberName : Swift.Int, Swift.CustomStringConvertible { + case Unknown + case Crashlytics + case Performance + public var description: Swift.String { + get + } + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +extension FirebaseSessions.SessionsSubscriberName : Swift.Equatable {} +extension FirebaseSessions.SessionsSubscriberName : Swift.Hashable {} +extension FirebaseSessions.SessionsSubscriberName : Swift.RawRepresentable {} diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/x86_64-apple-ios-macabi.swiftdoc b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/x86_64-apple-ios-macabi.swiftdoc new file mode 100644 index 0000000..2c2efa0 Binary files /dev/null and b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/x86_64-apple-ios-macabi.swiftdoc differ diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/x86_64-apple-ios-macabi.swiftinterface b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/x86_64-apple-ios-macabi.swiftinterface new file mode 100644 index 0000000..4761d4d --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/x86_64-apple-ios-macabi.swiftinterface @@ -0,0 +1,72 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) +// swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseSessions +@_exported import FirebaseSessions +import Foundation +import Swift +import UIKit +import _Concurrency +extension FirebaseSessions._firebase_appquality_sessions_EventType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension FirebaseSessions._firebase_appquality_sessions_DataCollectionState : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension FirebaseSessions._firebase_appquality_sessions_OsName : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension FirebaseSessions._firebase_appquality_sessions_LogEnvironment : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension Swift.UnsafeMutablePointer : Swift.CustomStringConvertible where Pointee == nanopb.pb_bytes_array_t { + public var description: Swift.String { + get + } +} +extension Swift.Optional : Swift.CustomStringConvertible where Wrapped == Swift.UnsafeMutablePointer { + public var description: Swift.String { + get + } +} +@_inheritsConvenienceInitializers @objc(FIRSessionsDependencies) public class SessionsDependencies : ObjectiveC.NSObject { + @objc public static func addDependency(name: FirebaseSessions.SessionsSubscriberName) + @objc override dynamic public init() + @objc deinit +} +@objc(FIRSessionsProvider) public protocol SessionsProvider { + @objc func register(subscriber: FirebaseSessions.SessionsSubscriber) +} +@objc(FIRSessionsSubscriber) public protocol SessionsSubscriber { + @objc func onSessionChanged(_ session: FirebaseSessions.SessionDetails) + @objc var isDataCollectionEnabled: Swift.Bool { get } + @objc var sessionsSubscriberName: FirebaseSessions.SessionsSubscriberName { get } +} +@objc(FIRSessionDetails) public class SessionDetails : ObjectiveC.NSObject { + @objc public var sessionId: Swift.String? + public init(sessionId: Swift.String?) + @objc deinit +} +@objc(FIRSessionsSubscriberName) public enum SessionsSubscriberName : Swift.Int, Swift.CustomStringConvertible { + case Unknown + case Crashlytics + case Performance + public var description: Swift.String { + get + } + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +extension FirebaseSessions.SessionsSubscriberName : Swift.Equatable {} +extension FirebaseSessions.SessionsSubscriberName : Swift.Hashable {} +extension FirebaseSessions.SessionsSubscriberName : Swift.RawRepresentable {} diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Modules/module.modulemap b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Modules/module.modulemap new file mode 100644 index 0000000..3072d37 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseSessions.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FirebaseSessions { + umbrella header "FirebaseSessions-umbrella.h" + + export * + module * { export * } +} + +module FirebaseSessions.Swift { + header "FirebaseSessions-Swift.h" + requires objc +} diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/FirebaseSessions b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/FirebaseSessions new file mode 100644 index 0000000..28c0923 Binary files /dev/null and b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/FirebaseSessions differ diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Headers/FIRSESNanoPBHelpers.h b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Headers/FIRSESNanoPBHelpers.h new file mode 100644 index 0000000..8956ff0 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Headers/FIRSESNanoPBHelpers.h @@ -0,0 +1,96 @@ +// +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#ifndef FIRSESNanoPBHelpers_h +#define FIRSESNanoPBHelpers_h + +#import + +#import +#if __has_include("CoreTelephony/CTTelephonyNetworkInfo.h") && !TARGET_OS_MACCATALYST && \ + !TARGET_OS_OSX && !TARGET_OS_TV +#define TARGET_HAS_MOBILE_CONNECTIVITY +#import +#import +#endif + +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Deinitializes a nanopb struct. Rewritten here to expose to Swift, since `pb_free` is a macro. +void nanopb_free(void* _Nullable); + +/// Returns an error associated with the istream. Written in Objective-C because Swift does not +/// support C language macros +NSString* FIRSESPBGetError(pb_istream_t istream); + +// It seems impossible to specify the nullability of the `fields` parameter below, +// yet the compiler complains that it's missing a nullability specifier. Google +// yields no results at this time. +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wnullability-completeness" +NSData* _Nullable FIRSESEncodeProto(const pb_field_t fields[], + const void* _Nonnull proto, + NSError** error); +#pragma clang diagnostic pop + +/// Mallocs a pb_bytes_array and copies the given NSData bytes into the bytes array. +/// @note Memory needs to be freed manually, through pb_free or pb_release. +/// @param data The data to copy into the new bytes array. +pb_bytes_array_t* _Nullable FIRSESEncodeData(NSData* _Nullable data); + +/// Mallocs a pb_bytes_array and copies the given NSString's bytes into the bytes array. +/// @note Memory needs to be freed manually, through pb_free or pb_release. +/// @param string The string to encode as pb_bytes. +pb_bytes_array_t* _Nullable FIRSESEncodeString(NSString* _Nullable string); + +/// Decodes an array of nanopb bytes into an NSData object +/// @param pbData nanopb data +NSData* FIRSESDecodeData(pb_bytes_array_t* pbData); + +/// Decodes an array of nanopb bytes into an NSString object +/// @param pbData nanopb data +NSString* FIRSESDecodeString(pb_bytes_array_t* pbData); + +/// Checks if 2 nanopb arrays are equal +/// @param array array to check +/// @param expected expected value of the array +BOOL FIRSESIsPBArrayEqual(pb_bytes_array_t* _Nullable array, pb_bytes_array_t* _Nullable expected); + +/// Checks if a nanopb string is equal to an NSString +/// @param pbString nanopb string to check +/// @param str NSString that's expected +BOOL FIRSESIsPBStringEqual(pb_bytes_array_t* _Nullable pbString, NSString* _Nullable str); + +/// Checks if a nanopb array is equal to NSData +/// @param pbArray nanopb array to check +/// @param data NSData that's expected +BOOL FIRSESIsPBDataEqual(pb_bytes_array_t* _Nullable pbArray, NSData* _Nullable data); + +/// Returns the protobuf tag number. Use this to specify which oneof message type we are +/// using for the platform\_info field. This function is required to be in Objective-C because +/// Swift does not support c-style macros. +pb_size_t FIRSESGetAppleApplicationInfoTag(void); + +/// Returns sysctl entry, useful for obtaining OS build version from the kernel. Copied from a +/// private method in GULAppEnvironmentUtil. +NSString* _Nullable FIRSESGetSysctlEntry(const char* sysctlKey); + +NS_ASSUME_NONNULL_END + +#endif /* FIRSESNanoPBHelpers_h */ diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Headers/FirebaseSessions-Swift.h b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Headers/FirebaseSessions-Swift.h new file mode 100644 index 0000000..2fc8c03 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Headers/FirebaseSessions-Swift.h @@ -0,0 +1,265 @@ +// Generated by Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) +#ifndef FIREBASESESSIONS_SWIFT_H +#define FIREBASESESSIONS_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseSessions",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + + +@class NSString; + +/// Session Payload is a container for Session Data passed to Subscribers +/// whenever the Session changes +SWIFT_CLASS_NAMED("SessionDetails") +@interface FIRSessionDetails : NSObject +@property (nonatomic, copy) NSString * _Nullable sessionId; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +enum FIRSessionsSubscriberName : NSInteger; + +SWIFT_CLASS_NAMED("SessionsDependencies") +@interface FIRSessionsDependencies : NSObject ++ (void)addDependencyWithName:(enum FIRSessionsSubscriberName)name; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol FIRSessionsSubscriber; + +SWIFT_PROTOCOL_NAMED("SessionsProvider") +@protocol FIRSessionsProvider +- (void)registerWithSubscriber:(id _Nonnull)subscriber; +@end + + +/// Sessions Subscriber is an interface that dependent SDKs +/// must implement. +SWIFT_PROTOCOL_NAMED("SessionsSubscriber") +@protocol FIRSessionsSubscriber +- (void)onSessionChanged:(FIRSessionDetails * _Nonnull)session; +@property (nonatomic, readonly) BOOL isDataCollectionEnabled; +@property (nonatomic, readonly) enum FIRSessionsSubscriberName sessionsSubscriberName; +@end + +/// Session Subscriber Names are used for identifying subscribers +typedef SWIFT_ENUM_NAMED(NSInteger, FIRSessionsSubscriberName, "SessionsSubscriberName", open) { + FIRSessionsSubscriberNameUnknown = 0, + FIRSessionsSubscriberNameCrashlytics = 1, + FIRSessionsSubscriberNamePerformance = 2, +}; + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Headers/FirebaseSessions-umbrella.h b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Headers/FirebaseSessions-umbrella.h new file mode 100644 index 0000000..f0032f8 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Headers/FirebaseSessions-umbrella.h @@ -0,0 +1,18 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRSESNanoPBHelpers.h" +#import "sessions.nanopb.h" + +FOUNDATION_EXPORT double FirebaseSessionsVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseSessionsVersionString[]; + diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Headers/sessions.nanopb.h b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Headers/sessions.nanopb.h new file mode 100644 index 0000000..c8cfeb8 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Headers/sessions.nanopb.h @@ -0,0 +1,268 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/* Automatically generated nanopb header */ +/* Generated by nanopb-0.3.9.9 */ + +#ifndef PB_FIREBASE_APPQUALITY_SESSIONS_SESSIONS_NANOPB_H_INCLUDED +#define PB_FIREBASE_APPQUALITY_SESSIONS_SESSIONS_NANOPB_H_INCLUDED +#include + +/* @@protoc_insertion_point(includes) */ +#if PB_PROTO_HEADER_VERSION != 30 +#error Regenerate this file with the current version of nanopb generator. +#endif + + +/* Enum definitions */ +typedef enum _firebase_appquality_sessions_EventType { + firebase_appquality_sessions_EventType_EVENT_TYPE_UNKNOWN = 0, + firebase_appquality_sessions_EventType_SESSION_START = 1 +} firebase_appquality_sessions_EventType; +#define _firebase_appquality_sessions_EventType_MIN firebase_appquality_sessions_EventType_EVENT_TYPE_UNKNOWN +#define _firebase_appquality_sessions_EventType_MAX firebase_appquality_sessions_EventType_SESSION_START +#define _firebase_appquality_sessions_EventType_ARRAYSIZE ((firebase_appquality_sessions_EventType)(firebase_appquality_sessions_EventType_SESSION_START+1)) + +typedef enum _firebase_appquality_sessions_DataCollectionState { + firebase_appquality_sessions_DataCollectionState_COLLECTION_UNKNOWN = 0, + firebase_appquality_sessions_DataCollectionState_COLLECTION_SDK_NOT_INSTALLED = 1, + firebase_appquality_sessions_DataCollectionState_COLLECTION_ENABLED = 2, + firebase_appquality_sessions_DataCollectionState_COLLECTION_DISABLED = 3, + firebase_appquality_sessions_DataCollectionState_COLLECTION_DISABLED_REMOTE = 4, + firebase_appquality_sessions_DataCollectionState_COLLECTION_SAMPLED = 5 +} firebase_appquality_sessions_DataCollectionState; +#define _firebase_appquality_sessions_DataCollectionState_MIN firebase_appquality_sessions_DataCollectionState_COLLECTION_UNKNOWN +#define _firebase_appquality_sessions_DataCollectionState_MAX firebase_appquality_sessions_DataCollectionState_COLLECTION_SAMPLED +#define _firebase_appquality_sessions_DataCollectionState_ARRAYSIZE ((firebase_appquality_sessions_DataCollectionState)(firebase_appquality_sessions_DataCollectionState_COLLECTION_SAMPLED+1)) + +typedef enum _firebase_appquality_sessions_OsName { + firebase_appquality_sessions_OsName_UNKNOWN_OSNAME = 0, + firebase_appquality_sessions_OsName_MACOS = 1, + firebase_appquality_sessions_OsName_MACCATALYST = 2, + firebase_appquality_sessions_OsName_IOS_ON_MAC = 3, + firebase_appquality_sessions_OsName_IOS = 4, + firebase_appquality_sessions_OsName_TVOS = 5, + firebase_appquality_sessions_OsName_WATCHOS = 6, + firebase_appquality_sessions_OsName_IPADOS = 7, + firebase_appquality_sessions_OsName_UNSPECIFIED = 8 +} firebase_appquality_sessions_OsName; +#define _firebase_appquality_sessions_OsName_MIN firebase_appquality_sessions_OsName_UNKNOWN_OSNAME +#define _firebase_appquality_sessions_OsName_MAX firebase_appquality_sessions_OsName_UNSPECIFIED +#define _firebase_appquality_sessions_OsName_ARRAYSIZE ((firebase_appquality_sessions_OsName)(firebase_appquality_sessions_OsName_UNSPECIFIED+1)) + +typedef enum _firebase_appquality_sessions_LogEnvironment { + firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_UNKNOWN = 0, + firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_AUTOPUSH = 1, + firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_STAGING = 2, + firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_PROD = 3 +} firebase_appquality_sessions_LogEnvironment; +#define _firebase_appquality_sessions_LogEnvironment_MIN firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_UNKNOWN +#define _firebase_appquality_sessions_LogEnvironment_MAX firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_PROD +#define _firebase_appquality_sessions_LogEnvironment_ARRAYSIZE ((firebase_appquality_sessions_LogEnvironment)(firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_PROD+1)) + +typedef enum _firebase_appquality_sessions_NetworkConnectionInfo_NetworkType { + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE = 0, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_WIFI = 1, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_MMS = 2, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_SUPL = 3, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_DUN = 4, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_HIPRI = 5, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_WIMAX = 6, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_BLUETOOTH = 7, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_DUMMY = 8, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_ETHERNET = 9, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_FOTA = 10, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_IMS = 11, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_CBS = 12, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_WIFI_P2P = 13, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_IA = 14, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_EMERGENCY = 15, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_PROXY = 16, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_VPN = 17 +} firebase_appquality_sessions_NetworkConnectionInfo_NetworkType; +#define _firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MIN firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE +#define _firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MAX firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_VPN +#define _firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_ARRAYSIZE ((firebase_appquality_sessions_NetworkConnectionInfo_NetworkType)(firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_VPN+1)) + +typedef enum _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype { + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_UNKNOWN_MOBILE_SUBTYPE = 0, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_GPRS = 1, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_EDGE = 2, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_UMTS = 3, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_CDMA = 4, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_EVDO_0 = 5, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_EVDO_A = 6, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_RTT = 7, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_HSDPA = 8, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_HSUPA = 9, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_HSPA = 10, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_IDEN = 11, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_EVDO_B = 12, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_LTE = 13, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_EHRPD = 14, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_HSPAP = 15, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_GSM = 16, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_TD_SCDMA = 17, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_IWLAN = 18, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_LTE_CA = 19, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_NR = 20, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_COMBINED = 100 +} firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype; +#define _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_MIN firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_UNKNOWN_MOBILE_SUBTYPE +#define _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_MAX firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_COMBINED +#define _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_ARRAYSIZE ((firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype)(firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_COMBINED+1)) + +/* Struct definitions */ +typedef struct _firebase_appquality_sessions_AndroidApplicationInfo { + pb_bytes_array_t *package_name; + pb_bytes_array_t *version_name; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_AndroidApplicationInfo) */ +} firebase_appquality_sessions_AndroidApplicationInfo; + +typedef struct _firebase_appquality_sessions_DataCollectionStatus { + firebase_appquality_sessions_DataCollectionState performance; + firebase_appquality_sessions_DataCollectionState crashlytics; + double session_sampling_rate; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_DataCollectionStatus) */ +} firebase_appquality_sessions_DataCollectionStatus; + +typedef struct _firebase_appquality_sessions_NetworkConnectionInfo { + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType network_type; + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype mobile_subtype; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_NetworkConnectionInfo) */ +} firebase_appquality_sessions_NetworkConnectionInfo; + +typedef struct _firebase_appquality_sessions_AppleApplicationInfo { + pb_bytes_array_t *bundle_short_version; + firebase_appquality_sessions_NetworkConnectionInfo network_connection_info; + firebase_appquality_sessions_OsName os_name; + pb_bytes_array_t *mcc_mnc; + pb_bytes_array_t *app_build_version; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_AppleApplicationInfo) */ +} firebase_appquality_sessions_AppleApplicationInfo; + +typedef struct _firebase_appquality_sessions_SessionInfo { + pb_bytes_array_t *session_id; + pb_bytes_array_t *firebase_installation_id; + int64_t event_timestamp_us; + firebase_appquality_sessions_DataCollectionStatus data_collection_status; + pb_bytes_array_t *first_session_id; + int32_t session_index; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_SessionInfo) */ +} firebase_appquality_sessions_SessionInfo; + +typedef struct _firebase_appquality_sessions_ApplicationInfo { + pb_bytes_array_t *app_id; + pb_bytes_array_t *device_model; + pb_bytes_array_t *development_platform_name; + pb_bytes_array_t *development_platform_version; + pb_size_t which_platform_info; + union { + firebase_appquality_sessions_AndroidApplicationInfo android_app_info; + firebase_appquality_sessions_AppleApplicationInfo apple_app_info; + }; + pb_bytes_array_t *session_sdk_version; + firebase_appquality_sessions_LogEnvironment log_environment; + pb_bytes_array_t *os_version; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_ApplicationInfo) */ +} firebase_appquality_sessions_ApplicationInfo; + +typedef struct _firebase_appquality_sessions_SessionEvent { + firebase_appquality_sessions_EventType event_type; + firebase_appquality_sessions_SessionInfo session_data; + firebase_appquality_sessions_ApplicationInfo application_info; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_SessionEvent) */ +} firebase_appquality_sessions_SessionEvent; + +/* Default values for struct fields */ + +/* Initializer values for message structs */ +#define firebase_appquality_sessions_SessionEvent_init_default {_firebase_appquality_sessions_EventType_MIN, firebase_appquality_sessions_SessionInfo_init_default, firebase_appquality_sessions_ApplicationInfo_init_default} +#define firebase_appquality_sessions_NetworkConnectionInfo_init_default {_firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MIN, _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_MIN} +#define firebase_appquality_sessions_SessionInfo_init_default {NULL, NULL, 0, firebase_appquality_sessions_DataCollectionStatus_init_default, NULL, 0} +#define firebase_appquality_sessions_DataCollectionStatus_init_default {_firebase_appquality_sessions_DataCollectionState_MIN, _firebase_appquality_sessions_DataCollectionState_MIN, 0} +#define firebase_appquality_sessions_ApplicationInfo_init_default {NULL, NULL, NULL, NULL, 0, {firebase_appquality_sessions_AndroidApplicationInfo_init_default}, NULL, _firebase_appquality_sessions_LogEnvironment_MIN, NULL} +#define firebase_appquality_sessions_AndroidApplicationInfo_init_default {NULL, NULL} +#define firebase_appquality_sessions_AppleApplicationInfo_init_default {NULL, firebase_appquality_sessions_NetworkConnectionInfo_init_default, _firebase_appquality_sessions_OsName_MIN, NULL, NULL} +#define firebase_appquality_sessions_SessionEvent_init_zero {_firebase_appquality_sessions_EventType_MIN, firebase_appquality_sessions_SessionInfo_init_zero, firebase_appquality_sessions_ApplicationInfo_init_zero} +#define firebase_appquality_sessions_NetworkConnectionInfo_init_zero {_firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MIN, _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_MIN} +#define firebase_appquality_sessions_SessionInfo_init_zero {NULL, NULL, 0, firebase_appquality_sessions_DataCollectionStatus_init_zero, NULL, 0} +#define firebase_appquality_sessions_DataCollectionStatus_init_zero {_firebase_appquality_sessions_DataCollectionState_MIN, _firebase_appquality_sessions_DataCollectionState_MIN, 0} +#define firebase_appquality_sessions_ApplicationInfo_init_zero {NULL, NULL, NULL, NULL, 0, {firebase_appquality_sessions_AndroidApplicationInfo_init_zero}, NULL, _firebase_appquality_sessions_LogEnvironment_MIN, NULL} +#define firebase_appquality_sessions_AndroidApplicationInfo_init_zero {NULL, NULL} +#define firebase_appquality_sessions_AppleApplicationInfo_init_zero {NULL, firebase_appquality_sessions_NetworkConnectionInfo_init_zero, _firebase_appquality_sessions_OsName_MIN, NULL, NULL} + +/* Field tags (for use in manual encoding/decoding) */ +#define firebase_appquality_sessions_AndroidApplicationInfo_package_name_tag 1 +#define firebase_appquality_sessions_AndroidApplicationInfo_version_name_tag 3 +#define firebase_appquality_sessions_DataCollectionStatus_performance_tag 1 +#define firebase_appquality_sessions_DataCollectionStatus_crashlytics_tag 2 +#define firebase_appquality_sessions_DataCollectionStatus_session_sampling_rate_tag 3 +#define firebase_appquality_sessions_NetworkConnectionInfo_network_type_tag 1 +#define firebase_appquality_sessions_NetworkConnectionInfo_mobile_subtype_tag 2 +#define firebase_appquality_sessions_AppleApplicationInfo_bundle_short_version_tag 1 +#define firebase_appquality_sessions_AppleApplicationInfo_app_build_version_tag 6 +#define firebase_appquality_sessions_AppleApplicationInfo_network_connection_info_tag 3 +#define firebase_appquality_sessions_AppleApplicationInfo_os_name_tag 4 +#define firebase_appquality_sessions_AppleApplicationInfo_mcc_mnc_tag 5 +#define firebase_appquality_sessions_SessionInfo_session_id_tag 1 +#define firebase_appquality_sessions_SessionInfo_first_session_id_tag 7 +#define firebase_appquality_sessions_SessionInfo_session_index_tag 8 +#define firebase_appquality_sessions_SessionInfo_firebase_installation_id_tag 3 +#define firebase_appquality_sessions_SessionInfo_event_timestamp_us_tag 4 +#define firebase_appquality_sessions_SessionInfo_data_collection_status_tag 6 +#define firebase_appquality_sessions_ApplicationInfo_android_app_info_tag 5 +#define firebase_appquality_sessions_ApplicationInfo_apple_app_info_tag 6 +#define firebase_appquality_sessions_ApplicationInfo_app_id_tag 1 +#define firebase_appquality_sessions_ApplicationInfo_device_model_tag 2 +#define firebase_appquality_sessions_ApplicationInfo_development_platform_name_tag 3 +#define firebase_appquality_sessions_ApplicationInfo_development_platform_version_tag 4 +#define firebase_appquality_sessions_ApplicationInfo_session_sdk_version_tag 7 +#define firebase_appquality_sessions_ApplicationInfo_os_version_tag 9 +#define firebase_appquality_sessions_ApplicationInfo_log_environment_tag 8 +#define firebase_appquality_sessions_SessionEvent_event_type_tag 1 +#define firebase_appquality_sessions_SessionEvent_session_data_tag 2 +#define firebase_appquality_sessions_SessionEvent_application_info_tag 3 + +/* Struct field encoding specification for nanopb */ +extern const pb_field_t firebase_appquality_sessions_SessionEvent_fields[4]; +extern const pb_field_t firebase_appquality_sessions_NetworkConnectionInfo_fields[3]; +extern const pb_field_t firebase_appquality_sessions_SessionInfo_fields[7]; +extern const pb_field_t firebase_appquality_sessions_DataCollectionStatus_fields[4]; +extern const pb_field_t firebase_appquality_sessions_ApplicationInfo_fields[10]; +extern const pb_field_t firebase_appquality_sessions_AndroidApplicationInfo_fields[3]; +extern const pb_field_t firebase_appquality_sessions_AppleApplicationInfo_fields[6]; + +/* Maximum encoded size of messages (where known) */ +/* firebase_appquality_sessions_SessionEvent_size depends on runtime parameters */ +#define firebase_appquality_sessions_NetworkConnectionInfo_size 4 +/* firebase_appquality_sessions_SessionInfo_size depends on runtime parameters */ +#define firebase_appquality_sessions_DataCollectionStatus_size 13 +/* firebase_appquality_sessions_ApplicationInfo_size depends on runtime parameters */ +/* firebase_appquality_sessions_AndroidApplicationInfo_size depends on runtime parameters */ +/* firebase_appquality_sessions_AppleApplicationInfo_size depends on runtime parameters */ + +/* Message IDs (where set with "msgid" option) */ +#ifdef PB_MSGID + +#define SESSIONS_MESSAGES \ + + +#endif + +/* @@protoc_insertion_point(eof) */ + +#endif diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Info.plist b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Info.plist new file mode 100644 index 0000000..ec3a735 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Info.plist @@ -0,0 +1,20 @@ + + + + + CFBundleExecutable + FirebaseSessions + CFBundleIdentifier + com.firebase.Firebase-FirebaseSessions + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseSessions + CFBundlePackageType + FMWK + CFBundleVersion + 10.12.0 + DTSDKName + iphonesimulator11.2 + + diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo new file mode 100644 index 0000000..e90d678 Binary files /dev/null and b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo differ diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo new file mode 100644 index 0000000..50f6345 Binary files /dev/null and b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo differ diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..e2866d9 Binary files /dev/null and b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..3b72cd5 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -0,0 +1,72 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseSessions +@_exported import FirebaseSessions +import Foundation +import Swift +import UIKit +import _Concurrency +extension FirebaseSessions._firebase_appquality_sessions_EventType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension FirebaseSessions._firebase_appquality_sessions_DataCollectionState : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension FirebaseSessions._firebase_appquality_sessions_OsName : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension FirebaseSessions._firebase_appquality_sessions_LogEnvironment : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension Swift.UnsafeMutablePointer : Swift.CustomStringConvertible where Pointee == nanopb.pb_bytes_array_t { + public var description: Swift.String { + get + } +} +extension Swift.Optional : Swift.CustomStringConvertible where Wrapped == Swift.UnsafeMutablePointer { + public var description: Swift.String { + get + } +} +@_inheritsConvenienceInitializers @objc(FIRSessionsDependencies) public class SessionsDependencies : ObjectiveC.NSObject { + @objc public static func addDependency(name: FirebaseSessions.SessionsSubscriberName) + @objc override dynamic public init() + @objc deinit +} +@objc(FIRSessionsProvider) public protocol SessionsProvider { + @objc func register(subscriber: FirebaseSessions.SessionsSubscriber) +} +@objc(FIRSessionsSubscriber) public protocol SessionsSubscriber { + @objc func onSessionChanged(_ session: FirebaseSessions.SessionDetails) + @objc var isDataCollectionEnabled: Swift.Bool { get } + @objc var sessionsSubscriberName: FirebaseSessions.SessionsSubscriberName { get } +} +@objc(FIRSessionDetails) public class SessionDetails : ObjectiveC.NSObject { + @objc public var sessionId: Swift.String? + public init(sessionId: Swift.String?) + @objc deinit +} +@objc(FIRSessionsSubscriberName) public enum SessionsSubscriberName : Swift.Int, Swift.CustomStringConvertible { + case Unknown + case Crashlytics + case Performance + public var description: Swift.String { + get + } + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +extension FirebaseSessions.SessionsSubscriberName : Swift.Equatable {} +extension FirebaseSessions.SessionsSubscriberName : Swift.Hashable {} +extension FirebaseSessions.SessionsSubscriberName : Swift.RawRepresentable {} diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/x86_64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..00fff02 Binary files /dev/null and b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/x86_64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..8c5de9e --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -0,0 +1,72 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseSessions +@_exported import FirebaseSessions +import Foundation +import Swift +import UIKit +import _Concurrency +extension FirebaseSessions._firebase_appquality_sessions_EventType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension FirebaseSessions._firebase_appquality_sessions_DataCollectionState : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension FirebaseSessions._firebase_appquality_sessions_OsName : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension FirebaseSessions._firebase_appquality_sessions_LogEnvironment : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension Swift.UnsafeMutablePointer : Swift.CustomStringConvertible where Pointee == nanopb.pb_bytes_array_t { + public var description: Swift.String { + get + } +} +extension Swift.Optional : Swift.CustomStringConvertible where Wrapped == Swift.UnsafeMutablePointer { + public var description: Swift.String { + get + } +} +@_inheritsConvenienceInitializers @objc(FIRSessionsDependencies) public class SessionsDependencies : ObjectiveC.NSObject { + @objc public static func addDependency(name: FirebaseSessions.SessionsSubscriberName) + @objc override dynamic public init() + @objc deinit +} +@objc(FIRSessionsProvider) public protocol SessionsProvider { + @objc func register(subscriber: FirebaseSessions.SessionsSubscriber) +} +@objc(FIRSessionsSubscriber) public protocol SessionsSubscriber { + @objc func onSessionChanged(_ session: FirebaseSessions.SessionDetails) + @objc var isDataCollectionEnabled: Swift.Bool { get } + @objc var sessionsSubscriberName: FirebaseSessions.SessionsSubscriberName { get } +} +@objc(FIRSessionDetails) public class SessionDetails : ObjectiveC.NSObject { + @objc public var sessionId: Swift.String? + public init(sessionId: Swift.String?) + @objc deinit +} +@objc(FIRSessionsSubscriberName) public enum SessionsSubscriberName : Swift.Int, Swift.CustomStringConvertible { + case Unknown + case Crashlytics + case Performance + public var description: Swift.String { + get + } + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +extension FirebaseSessions.SessionsSubscriberName : Swift.Equatable {} +extension FirebaseSessions.SessionsSubscriberName : Swift.Hashable {} +extension FirebaseSessions.SessionsSubscriberName : Swift.RawRepresentable {} diff --git a/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/module.modulemap b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/module.modulemap new file mode 100644 index 0000000..3072d37 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/ios-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FirebaseSessions { + umbrella header "FirebaseSessions-umbrella.h" + + export * + module * { export * } +} + +module FirebaseSessions.Swift { + header "FirebaseSessions-Swift.h" + requires objc +} diff --git a/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/FirebaseSessions b/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/FirebaseSessions new file mode 100644 index 0000000..7e89743 Binary files /dev/null and b/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/FirebaseSessions differ diff --git a/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Headers/FIRSESNanoPBHelpers.h b/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Headers/FIRSESNanoPBHelpers.h new file mode 100644 index 0000000..8956ff0 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Headers/FIRSESNanoPBHelpers.h @@ -0,0 +1,96 @@ +// +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#ifndef FIRSESNanoPBHelpers_h +#define FIRSESNanoPBHelpers_h + +#import + +#import +#if __has_include("CoreTelephony/CTTelephonyNetworkInfo.h") && !TARGET_OS_MACCATALYST && \ + !TARGET_OS_OSX && !TARGET_OS_TV +#define TARGET_HAS_MOBILE_CONNECTIVITY +#import +#import +#endif + +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Deinitializes a nanopb struct. Rewritten here to expose to Swift, since `pb_free` is a macro. +void nanopb_free(void* _Nullable); + +/// Returns an error associated with the istream. Written in Objective-C because Swift does not +/// support C language macros +NSString* FIRSESPBGetError(pb_istream_t istream); + +// It seems impossible to specify the nullability of the `fields` parameter below, +// yet the compiler complains that it's missing a nullability specifier. Google +// yields no results at this time. +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wnullability-completeness" +NSData* _Nullable FIRSESEncodeProto(const pb_field_t fields[], + const void* _Nonnull proto, + NSError** error); +#pragma clang diagnostic pop + +/// Mallocs a pb_bytes_array and copies the given NSData bytes into the bytes array. +/// @note Memory needs to be freed manually, through pb_free or pb_release. +/// @param data The data to copy into the new bytes array. +pb_bytes_array_t* _Nullable FIRSESEncodeData(NSData* _Nullable data); + +/// Mallocs a pb_bytes_array and copies the given NSString's bytes into the bytes array. +/// @note Memory needs to be freed manually, through pb_free or pb_release. +/// @param string The string to encode as pb_bytes. +pb_bytes_array_t* _Nullable FIRSESEncodeString(NSString* _Nullable string); + +/// Decodes an array of nanopb bytes into an NSData object +/// @param pbData nanopb data +NSData* FIRSESDecodeData(pb_bytes_array_t* pbData); + +/// Decodes an array of nanopb bytes into an NSString object +/// @param pbData nanopb data +NSString* FIRSESDecodeString(pb_bytes_array_t* pbData); + +/// Checks if 2 nanopb arrays are equal +/// @param array array to check +/// @param expected expected value of the array +BOOL FIRSESIsPBArrayEqual(pb_bytes_array_t* _Nullable array, pb_bytes_array_t* _Nullable expected); + +/// Checks if a nanopb string is equal to an NSString +/// @param pbString nanopb string to check +/// @param str NSString that's expected +BOOL FIRSESIsPBStringEqual(pb_bytes_array_t* _Nullable pbString, NSString* _Nullable str); + +/// Checks if a nanopb array is equal to NSData +/// @param pbArray nanopb array to check +/// @param data NSData that's expected +BOOL FIRSESIsPBDataEqual(pb_bytes_array_t* _Nullable pbArray, NSData* _Nullable data); + +/// Returns the protobuf tag number. Use this to specify which oneof message type we are +/// using for the platform\_info field. This function is required to be in Objective-C because +/// Swift does not support c-style macros. +pb_size_t FIRSESGetAppleApplicationInfoTag(void); + +/// Returns sysctl entry, useful for obtaining OS build version from the kernel. Copied from a +/// private method in GULAppEnvironmentUtil. +NSString* _Nullable FIRSESGetSysctlEntry(const char* sysctlKey); + +NS_ASSUME_NONNULL_END + +#endif /* FIRSESNanoPBHelpers_h */ diff --git a/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Headers/FirebaseSessions-Swift.h b/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Headers/FirebaseSessions-Swift.h new file mode 100644 index 0000000..85053a8 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Headers/FirebaseSessions-Swift.h @@ -0,0 +1,536 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) +#ifndef FIREBASESESSIONS_SWIFT_H +#define FIREBASESESSIONS_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseSessions",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + + +@class NSString; + +/// Session Payload is a container for Session Data passed to Subscribers +/// whenever the Session changes +SWIFT_CLASS_NAMED("SessionDetails") +@interface FIRSessionDetails : NSObject +@property (nonatomic, copy) NSString * _Nullable sessionId; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +enum FIRSessionsSubscriberName : NSInteger; + +SWIFT_CLASS_NAMED("SessionsDependencies") +@interface FIRSessionsDependencies : NSObject ++ (void)addDependencyWithName:(enum FIRSessionsSubscriberName)name; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol FIRSessionsSubscriber; + +SWIFT_PROTOCOL_NAMED("SessionsProvider") +@protocol FIRSessionsProvider +- (void)registerWithSubscriber:(id _Nonnull)subscriber; +@end + + +/// Sessions Subscriber is an interface that dependent SDKs +/// must implement. +SWIFT_PROTOCOL_NAMED("SessionsSubscriber") +@protocol FIRSessionsSubscriber +- (void)onSessionChanged:(FIRSessionDetails * _Nonnull)session; +@property (nonatomic, readonly) BOOL isDataCollectionEnabled; +@property (nonatomic, readonly) enum FIRSessionsSubscriberName sessionsSubscriberName; +@end + +/// Session Subscriber Names are used for identifying subscribers +typedef SWIFT_ENUM_NAMED(NSInteger, FIRSessionsSubscriberName, "SessionsSubscriberName", open) { + FIRSessionsSubscriberNameUnknown = 0, + FIRSessionsSubscriberNameCrashlytics = 1, + FIRSessionsSubscriberNamePerformance = 2, +}; + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) +#ifndef FIREBASESESSIONS_SWIFT_H +#define FIREBASESESSIONS_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseSessions",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + + +@class NSString; + +/// Session Payload is a container for Session Data passed to Subscribers +/// whenever the Session changes +SWIFT_CLASS_NAMED("SessionDetails") +@interface FIRSessionDetails : NSObject +@property (nonatomic, copy) NSString * _Nullable sessionId; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +enum FIRSessionsSubscriberName : NSInteger; + +SWIFT_CLASS_NAMED("SessionsDependencies") +@interface FIRSessionsDependencies : NSObject ++ (void)addDependencyWithName:(enum FIRSessionsSubscriberName)name; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol FIRSessionsSubscriber; + +SWIFT_PROTOCOL_NAMED("SessionsProvider") +@protocol FIRSessionsProvider +- (void)registerWithSubscriber:(id _Nonnull)subscriber; +@end + + +/// Sessions Subscriber is an interface that dependent SDKs +/// must implement. +SWIFT_PROTOCOL_NAMED("SessionsSubscriber") +@protocol FIRSessionsSubscriber +- (void)onSessionChanged:(FIRSessionDetails * _Nonnull)session; +@property (nonatomic, readonly) BOOL isDataCollectionEnabled; +@property (nonatomic, readonly) enum FIRSessionsSubscriberName sessionsSubscriberName; +@end + +/// Session Subscriber Names are used for identifying subscribers +typedef SWIFT_ENUM_NAMED(NSInteger, FIRSessionsSubscriberName, "SessionsSubscriberName", open) { + FIRSessionsSubscriberNameUnknown = 0, + FIRSessionsSubscriberNameCrashlytics = 1, + FIRSessionsSubscriberNamePerformance = 2, +}; + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Headers/FirebaseSessions-umbrella.h b/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Headers/FirebaseSessions-umbrella.h new file mode 100644 index 0000000..ca27811 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Headers/FirebaseSessions-umbrella.h @@ -0,0 +1,18 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRSESNanoPBHelpers.h" +#import "sessions.nanopb.h" + +FOUNDATION_EXPORT double FirebaseSessionsVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseSessionsVersionString[]; + diff --git a/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Headers/sessions.nanopb.h b/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Headers/sessions.nanopb.h new file mode 100644 index 0000000..c8cfeb8 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Headers/sessions.nanopb.h @@ -0,0 +1,268 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/* Automatically generated nanopb header */ +/* Generated by nanopb-0.3.9.9 */ + +#ifndef PB_FIREBASE_APPQUALITY_SESSIONS_SESSIONS_NANOPB_H_INCLUDED +#define PB_FIREBASE_APPQUALITY_SESSIONS_SESSIONS_NANOPB_H_INCLUDED +#include + +/* @@protoc_insertion_point(includes) */ +#if PB_PROTO_HEADER_VERSION != 30 +#error Regenerate this file with the current version of nanopb generator. +#endif + + +/* Enum definitions */ +typedef enum _firebase_appquality_sessions_EventType { + firebase_appquality_sessions_EventType_EVENT_TYPE_UNKNOWN = 0, + firebase_appquality_sessions_EventType_SESSION_START = 1 +} firebase_appquality_sessions_EventType; +#define _firebase_appquality_sessions_EventType_MIN firebase_appquality_sessions_EventType_EVENT_TYPE_UNKNOWN +#define _firebase_appquality_sessions_EventType_MAX firebase_appquality_sessions_EventType_SESSION_START +#define _firebase_appquality_sessions_EventType_ARRAYSIZE ((firebase_appquality_sessions_EventType)(firebase_appquality_sessions_EventType_SESSION_START+1)) + +typedef enum _firebase_appquality_sessions_DataCollectionState { + firebase_appquality_sessions_DataCollectionState_COLLECTION_UNKNOWN = 0, + firebase_appquality_sessions_DataCollectionState_COLLECTION_SDK_NOT_INSTALLED = 1, + firebase_appquality_sessions_DataCollectionState_COLLECTION_ENABLED = 2, + firebase_appquality_sessions_DataCollectionState_COLLECTION_DISABLED = 3, + firebase_appquality_sessions_DataCollectionState_COLLECTION_DISABLED_REMOTE = 4, + firebase_appquality_sessions_DataCollectionState_COLLECTION_SAMPLED = 5 +} firebase_appquality_sessions_DataCollectionState; +#define _firebase_appquality_sessions_DataCollectionState_MIN firebase_appquality_sessions_DataCollectionState_COLLECTION_UNKNOWN +#define _firebase_appquality_sessions_DataCollectionState_MAX firebase_appquality_sessions_DataCollectionState_COLLECTION_SAMPLED +#define _firebase_appquality_sessions_DataCollectionState_ARRAYSIZE ((firebase_appquality_sessions_DataCollectionState)(firebase_appquality_sessions_DataCollectionState_COLLECTION_SAMPLED+1)) + +typedef enum _firebase_appquality_sessions_OsName { + firebase_appquality_sessions_OsName_UNKNOWN_OSNAME = 0, + firebase_appquality_sessions_OsName_MACOS = 1, + firebase_appquality_sessions_OsName_MACCATALYST = 2, + firebase_appquality_sessions_OsName_IOS_ON_MAC = 3, + firebase_appquality_sessions_OsName_IOS = 4, + firebase_appquality_sessions_OsName_TVOS = 5, + firebase_appquality_sessions_OsName_WATCHOS = 6, + firebase_appquality_sessions_OsName_IPADOS = 7, + firebase_appquality_sessions_OsName_UNSPECIFIED = 8 +} firebase_appquality_sessions_OsName; +#define _firebase_appquality_sessions_OsName_MIN firebase_appquality_sessions_OsName_UNKNOWN_OSNAME +#define _firebase_appquality_sessions_OsName_MAX firebase_appquality_sessions_OsName_UNSPECIFIED +#define _firebase_appquality_sessions_OsName_ARRAYSIZE ((firebase_appquality_sessions_OsName)(firebase_appquality_sessions_OsName_UNSPECIFIED+1)) + +typedef enum _firebase_appquality_sessions_LogEnvironment { + firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_UNKNOWN = 0, + firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_AUTOPUSH = 1, + firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_STAGING = 2, + firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_PROD = 3 +} firebase_appquality_sessions_LogEnvironment; +#define _firebase_appquality_sessions_LogEnvironment_MIN firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_UNKNOWN +#define _firebase_appquality_sessions_LogEnvironment_MAX firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_PROD +#define _firebase_appquality_sessions_LogEnvironment_ARRAYSIZE ((firebase_appquality_sessions_LogEnvironment)(firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_PROD+1)) + +typedef enum _firebase_appquality_sessions_NetworkConnectionInfo_NetworkType { + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE = 0, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_WIFI = 1, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_MMS = 2, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_SUPL = 3, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_DUN = 4, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_HIPRI = 5, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_WIMAX = 6, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_BLUETOOTH = 7, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_DUMMY = 8, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_ETHERNET = 9, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_FOTA = 10, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_IMS = 11, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_CBS = 12, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_WIFI_P2P = 13, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_IA = 14, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_EMERGENCY = 15, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_PROXY = 16, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_VPN = 17 +} firebase_appquality_sessions_NetworkConnectionInfo_NetworkType; +#define _firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MIN firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE +#define _firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MAX firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_VPN +#define _firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_ARRAYSIZE ((firebase_appquality_sessions_NetworkConnectionInfo_NetworkType)(firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_VPN+1)) + +typedef enum _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype { + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_UNKNOWN_MOBILE_SUBTYPE = 0, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_GPRS = 1, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_EDGE = 2, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_UMTS = 3, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_CDMA = 4, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_EVDO_0 = 5, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_EVDO_A = 6, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_RTT = 7, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_HSDPA = 8, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_HSUPA = 9, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_HSPA = 10, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_IDEN = 11, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_EVDO_B = 12, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_LTE = 13, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_EHRPD = 14, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_HSPAP = 15, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_GSM = 16, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_TD_SCDMA = 17, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_IWLAN = 18, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_LTE_CA = 19, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_NR = 20, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_COMBINED = 100 +} firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype; +#define _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_MIN firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_UNKNOWN_MOBILE_SUBTYPE +#define _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_MAX firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_COMBINED +#define _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_ARRAYSIZE ((firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype)(firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_COMBINED+1)) + +/* Struct definitions */ +typedef struct _firebase_appquality_sessions_AndroidApplicationInfo { + pb_bytes_array_t *package_name; + pb_bytes_array_t *version_name; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_AndroidApplicationInfo) */ +} firebase_appquality_sessions_AndroidApplicationInfo; + +typedef struct _firebase_appquality_sessions_DataCollectionStatus { + firebase_appquality_sessions_DataCollectionState performance; + firebase_appquality_sessions_DataCollectionState crashlytics; + double session_sampling_rate; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_DataCollectionStatus) */ +} firebase_appquality_sessions_DataCollectionStatus; + +typedef struct _firebase_appquality_sessions_NetworkConnectionInfo { + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType network_type; + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype mobile_subtype; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_NetworkConnectionInfo) */ +} firebase_appquality_sessions_NetworkConnectionInfo; + +typedef struct _firebase_appquality_sessions_AppleApplicationInfo { + pb_bytes_array_t *bundle_short_version; + firebase_appquality_sessions_NetworkConnectionInfo network_connection_info; + firebase_appquality_sessions_OsName os_name; + pb_bytes_array_t *mcc_mnc; + pb_bytes_array_t *app_build_version; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_AppleApplicationInfo) */ +} firebase_appquality_sessions_AppleApplicationInfo; + +typedef struct _firebase_appquality_sessions_SessionInfo { + pb_bytes_array_t *session_id; + pb_bytes_array_t *firebase_installation_id; + int64_t event_timestamp_us; + firebase_appquality_sessions_DataCollectionStatus data_collection_status; + pb_bytes_array_t *first_session_id; + int32_t session_index; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_SessionInfo) */ +} firebase_appquality_sessions_SessionInfo; + +typedef struct _firebase_appquality_sessions_ApplicationInfo { + pb_bytes_array_t *app_id; + pb_bytes_array_t *device_model; + pb_bytes_array_t *development_platform_name; + pb_bytes_array_t *development_platform_version; + pb_size_t which_platform_info; + union { + firebase_appquality_sessions_AndroidApplicationInfo android_app_info; + firebase_appquality_sessions_AppleApplicationInfo apple_app_info; + }; + pb_bytes_array_t *session_sdk_version; + firebase_appquality_sessions_LogEnvironment log_environment; + pb_bytes_array_t *os_version; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_ApplicationInfo) */ +} firebase_appquality_sessions_ApplicationInfo; + +typedef struct _firebase_appquality_sessions_SessionEvent { + firebase_appquality_sessions_EventType event_type; + firebase_appquality_sessions_SessionInfo session_data; + firebase_appquality_sessions_ApplicationInfo application_info; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_SessionEvent) */ +} firebase_appquality_sessions_SessionEvent; + +/* Default values for struct fields */ + +/* Initializer values for message structs */ +#define firebase_appquality_sessions_SessionEvent_init_default {_firebase_appquality_sessions_EventType_MIN, firebase_appquality_sessions_SessionInfo_init_default, firebase_appquality_sessions_ApplicationInfo_init_default} +#define firebase_appquality_sessions_NetworkConnectionInfo_init_default {_firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MIN, _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_MIN} +#define firebase_appquality_sessions_SessionInfo_init_default {NULL, NULL, 0, firebase_appquality_sessions_DataCollectionStatus_init_default, NULL, 0} +#define firebase_appquality_sessions_DataCollectionStatus_init_default {_firebase_appquality_sessions_DataCollectionState_MIN, _firebase_appquality_sessions_DataCollectionState_MIN, 0} +#define firebase_appquality_sessions_ApplicationInfo_init_default {NULL, NULL, NULL, NULL, 0, {firebase_appquality_sessions_AndroidApplicationInfo_init_default}, NULL, _firebase_appquality_sessions_LogEnvironment_MIN, NULL} +#define firebase_appquality_sessions_AndroidApplicationInfo_init_default {NULL, NULL} +#define firebase_appquality_sessions_AppleApplicationInfo_init_default {NULL, firebase_appquality_sessions_NetworkConnectionInfo_init_default, _firebase_appquality_sessions_OsName_MIN, NULL, NULL} +#define firebase_appquality_sessions_SessionEvent_init_zero {_firebase_appquality_sessions_EventType_MIN, firebase_appquality_sessions_SessionInfo_init_zero, firebase_appquality_sessions_ApplicationInfo_init_zero} +#define firebase_appquality_sessions_NetworkConnectionInfo_init_zero {_firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MIN, _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_MIN} +#define firebase_appquality_sessions_SessionInfo_init_zero {NULL, NULL, 0, firebase_appquality_sessions_DataCollectionStatus_init_zero, NULL, 0} +#define firebase_appquality_sessions_DataCollectionStatus_init_zero {_firebase_appquality_sessions_DataCollectionState_MIN, _firebase_appquality_sessions_DataCollectionState_MIN, 0} +#define firebase_appquality_sessions_ApplicationInfo_init_zero {NULL, NULL, NULL, NULL, 0, {firebase_appquality_sessions_AndroidApplicationInfo_init_zero}, NULL, _firebase_appquality_sessions_LogEnvironment_MIN, NULL} +#define firebase_appquality_sessions_AndroidApplicationInfo_init_zero {NULL, NULL} +#define firebase_appquality_sessions_AppleApplicationInfo_init_zero {NULL, firebase_appquality_sessions_NetworkConnectionInfo_init_zero, _firebase_appquality_sessions_OsName_MIN, NULL, NULL} + +/* Field tags (for use in manual encoding/decoding) */ +#define firebase_appquality_sessions_AndroidApplicationInfo_package_name_tag 1 +#define firebase_appquality_sessions_AndroidApplicationInfo_version_name_tag 3 +#define firebase_appquality_sessions_DataCollectionStatus_performance_tag 1 +#define firebase_appquality_sessions_DataCollectionStatus_crashlytics_tag 2 +#define firebase_appquality_sessions_DataCollectionStatus_session_sampling_rate_tag 3 +#define firebase_appquality_sessions_NetworkConnectionInfo_network_type_tag 1 +#define firebase_appquality_sessions_NetworkConnectionInfo_mobile_subtype_tag 2 +#define firebase_appquality_sessions_AppleApplicationInfo_bundle_short_version_tag 1 +#define firebase_appquality_sessions_AppleApplicationInfo_app_build_version_tag 6 +#define firebase_appquality_sessions_AppleApplicationInfo_network_connection_info_tag 3 +#define firebase_appquality_sessions_AppleApplicationInfo_os_name_tag 4 +#define firebase_appquality_sessions_AppleApplicationInfo_mcc_mnc_tag 5 +#define firebase_appquality_sessions_SessionInfo_session_id_tag 1 +#define firebase_appquality_sessions_SessionInfo_first_session_id_tag 7 +#define firebase_appquality_sessions_SessionInfo_session_index_tag 8 +#define firebase_appquality_sessions_SessionInfo_firebase_installation_id_tag 3 +#define firebase_appquality_sessions_SessionInfo_event_timestamp_us_tag 4 +#define firebase_appquality_sessions_SessionInfo_data_collection_status_tag 6 +#define firebase_appquality_sessions_ApplicationInfo_android_app_info_tag 5 +#define firebase_appquality_sessions_ApplicationInfo_apple_app_info_tag 6 +#define firebase_appquality_sessions_ApplicationInfo_app_id_tag 1 +#define firebase_appquality_sessions_ApplicationInfo_device_model_tag 2 +#define firebase_appquality_sessions_ApplicationInfo_development_platform_name_tag 3 +#define firebase_appquality_sessions_ApplicationInfo_development_platform_version_tag 4 +#define firebase_appquality_sessions_ApplicationInfo_session_sdk_version_tag 7 +#define firebase_appquality_sessions_ApplicationInfo_os_version_tag 9 +#define firebase_appquality_sessions_ApplicationInfo_log_environment_tag 8 +#define firebase_appquality_sessions_SessionEvent_event_type_tag 1 +#define firebase_appquality_sessions_SessionEvent_session_data_tag 2 +#define firebase_appquality_sessions_SessionEvent_application_info_tag 3 + +/* Struct field encoding specification for nanopb */ +extern const pb_field_t firebase_appquality_sessions_SessionEvent_fields[4]; +extern const pb_field_t firebase_appquality_sessions_NetworkConnectionInfo_fields[3]; +extern const pb_field_t firebase_appquality_sessions_SessionInfo_fields[7]; +extern const pb_field_t firebase_appquality_sessions_DataCollectionStatus_fields[4]; +extern const pb_field_t firebase_appquality_sessions_ApplicationInfo_fields[10]; +extern const pb_field_t firebase_appquality_sessions_AndroidApplicationInfo_fields[3]; +extern const pb_field_t firebase_appquality_sessions_AppleApplicationInfo_fields[6]; + +/* Maximum encoded size of messages (where known) */ +/* firebase_appquality_sessions_SessionEvent_size depends on runtime parameters */ +#define firebase_appquality_sessions_NetworkConnectionInfo_size 4 +/* firebase_appquality_sessions_SessionInfo_size depends on runtime parameters */ +#define firebase_appquality_sessions_DataCollectionStatus_size 13 +/* firebase_appquality_sessions_ApplicationInfo_size depends on runtime parameters */ +/* firebase_appquality_sessions_AndroidApplicationInfo_size depends on runtime parameters */ +/* firebase_appquality_sessions_AppleApplicationInfo_size depends on runtime parameters */ + +/* Message IDs (where set with "msgid" option) */ +#ifdef PB_MSGID + +#define SESSIONS_MESSAGES \ + + +#endif + +/* @@protoc_insertion_point(eof) */ + +#endif diff --git a/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Info.plist b/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Info.plist new file mode 100644 index 0000000..ec3a735 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Info.plist @@ -0,0 +1,20 @@ + + + + + CFBundleExecutable + FirebaseSessions + CFBundleIdentifier + com.firebase.Firebase-FirebaseSessions + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseSessions + CFBundlePackageType + FMWK + CFBundleVersion + 10.12.0 + DTSDKName + iphonesimulator11.2 + + diff --git a/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo b/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo new file mode 100644 index 0000000..aa3f768 Binary files /dev/null and b/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo differ diff --git a/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo b/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo new file mode 100644 index 0000000..feee982 Binary files /dev/null and b/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo differ diff --git a/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-macos.swiftdoc b/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-macos.swiftdoc new file mode 100644 index 0000000..8194ed6 Binary files /dev/null and b/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-macos.swiftdoc differ diff --git a/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-macos.swiftinterface b/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-macos.swiftinterface new file mode 100644 index 0000000..dc9cf1e --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-macos.swiftinterface @@ -0,0 +1,73 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) +// swift-module-flags: -target arm64-apple-macos10.13 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseSessions +import AppKit +import Cocoa +@_exported import FirebaseSessions +import Foundation +import Swift +import _Concurrency +extension FirebaseSessions._firebase_appquality_sessions_EventType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension FirebaseSessions._firebase_appquality_sessions_DataCollectionState : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension FirebaseSessions._firebase_appquality_sessions_OsName : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension FirebaseSessions._firebase_appquality_sessions_LogEnvironment : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension Swift.UnsafeMutablePointer : Swift.CustomStringConvertible where Pointee == nanopb.pb_bytes_array_t { + public var description: Swift.String { + get + } +} +extension Swift.Optional : Swift.CustomStringConvertible where Wrapped == Swift.UnsafeMutablePointer { + public var description: Swift.String { + get + } +} +@_inheritsConvenienceInitializers @objc(FIRSessionsDependencies) public class SessionsDependencies : ObjectiveC.NSObject { + @objc public static func addDependency(name: FirebaseSessions.SessionsSubscriberName) + @objc override dynamic public init() + @objc deinit +} +@objc(FIRSessionsProvider) public protocol SessionsProvider { + @objc func register(subscriber: FirebaseSessions.SessionsSubscriber) +} +@objc(FIRSessionsSubscriber) public protocol SessionsSubscriber { + @objc func onSessionChanged(_ session: FirebaseSessions.SessionDetails) + @objc var isDataCollectionEnabled: Swift.Bool { get } + @objc var sessionsSubscriberName: FirebaseSessions.SessionsSubscriberName { get } +} +@objc(FIRSessionDetails) public class SessionDetails : ObjectiveC.NSObject { + @objc public var sessionId: Swift.String? + public init(sessionId: Swift.String?) + @objc deinit +} +@objc(FIRSessionsSubscriberName) public enum SessionsSubscriberName : Swift.Int, Swift.CustomStringConvertible { + case Unknown + case Crashlytics + case Performance + public var description: Swift.String { + get + } + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +extension FirebaseSessions.SessionsSubscriberName : Swift.Equatable {} +extension FirebaseSessions.SessionsSubscriberName : Swift.Hashable {} +extension FirebaseSessions.SessionsSubscriberName : Swift.RawRepresentable {} diff --git a/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/x86_64-apple-macos.swiftdoc b/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/x86_64-apple-macos.swiftdoc new file mode 100644 index 0000000..aec83dc Binary files /dev/null and b/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/x86_64-apple-macos.swiftdoc differ diff --git a/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/x86_64-apple-macos.swiftinterface b/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/x86_64-apple-macos.swiftinterface new file mode 100644 index 0000000..e12dd4e --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/x86_64-apple-macos.swiftinterface @@ -0,0 +1,73 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) +// swift-module-flags: -target x86_64-apple-macos10.13 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseSessions +import AppKit +import Cocoa +@_exported import FirebaseSessions +import Foundation +import Swift +import _Concurrency +extension FirebaseSessions._firebase_appquality_sessions_EventType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension FirebaseSessions._firebase_appquality_sessions_DataCollectionState : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension FirebaseSessions._firebase_appquality_sessions_OsName : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension FirebaseSessions._firebase_appquality_sessions_LogEnvironment : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension Swift.UnsafeMutablePointer : Swift.CustomStringConvertible where Pointee == nanopb.pb_bytes_array_t { + public var description: Swift.String { + get + } +} +extension Swift.Optional : Swift.CustomStringConvertible where Wrapped == Swift.UnsafeMutablePointer { + public var description: Swift.String { + get + } +} +@_inheritsConvenienceInitializers @objc(FIRSessionsDependencies) public class SessionsDependencies : ObjectiveC.NSObject { + @objc public static func addDependency(name: FirebaseSessions.SessionsSubscriberName) + @objc override dynamic public init() + @objc deinit +} +@objc(FIRSessionsProvider) public protocol SessionsProvider { + @objc func register(subscriber: FirebaseSessions.SessionsSubscriber) +} +@objc(FIRSessionsSubscriber) public protocol SessionsSubscriber { + @objc func onSessionChanged(_ session: FirebaseSessions.SessionDetails) + @objc var isDataCollectionEnabled: Swift.Bool { get } + @objc var sessionsSubscriberName: FirebaseSessions.SessionsSubscriberName { get } +} +@objc(FIRSessionDetails) public class SessionDetails : ObjectiveC.NSObject { + @objc public var sessionId: Swift.String? + public init(sessionId: Swift.String?) + @objc deinit +} +@objc(FIRSessionsSubscriberName) public enum SessionsSubscriberName : Swift.Int, Swift.CustomStringConvertible { + case Unknown + case Crashlytics + case Performance + public var description: Swift.String { + get + } + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +extension FirebaseSessions.SessionsSubscriberName : Swift.Equatable {} +extension FirebaseSessions.SessionsSubscriberName : Swift.Hashable {} +extension FirebaseSessions.SessionsSubscriberName : Swift.RawRepresentable {} diff --git a/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Modules/module.modulemap b/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Modules/module.modulemap new file mode 100644 index 0000000..3072d37 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/macos-arm64_x86_64/FirebaseSessions.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FirebaseSessions { + umbrella header "FirebaseSessions-umbrella.h" + + export * + module * { export * } +} + +module FirebaseSessions.Swift { + header "FirebaseSessions-Swift.h" + requires objc +} diff --git a/ios/platform/FirebaseSessions.xcframework/tvos-arm64/FirebaseSessions.framework/FirebaseSessions b/ios/platform/FirebaseSessions.xcframework/tvos-arm64/FirebaseSessions.framework/FirebaseSessions new file mode 100644 index 0000000..45ad2d1 Binary files /dev/null and b/ios/platform/FirebaseSessions.xcframework/tvos-arm64/FirebaseSessions.framework/FirebaseSessions differ diff --git a/ios/platform/FirebaseSessions.xcframework/tvos-arm64/FirebaseSessions.framework/Headers/FIRSESNanoPBHelpers.h b/ios/platform/FirebaseSessions.xcframework/tvos-arm64/FirebaseSessions.framework/Headers/FIRSESNanoPBHelpers.h new file mode 100644 index 0000000..8956ff0 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/tvos-arm64/FirebaseSessions.framework/Headers/FIRSESNanoPBHelpers.h @@ -0,0 +1,96 @@ +// +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#ifndef FIRSESNanoPBHelpers_h +#define FIRSESNanoPBHelpers_h + +#import + +#import +#if __has_include("CoreTelephony/CTTelephonyNetworkInfo.h") && !TARGET_OS_MACCATALYST && \ + !TARGET_OS_OSX && !TARGET_OS_TV +#define TARGET_HAS_MOBILE_CONNECTIVITY +#import +#import +#endif + +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Deinitializes a nanopb struct. Rewritten here to expose to Swift, since `pb_free` is a macro. +void nanopb_free(void* _Nullable); + +/// Returns an error associated with the istream. Written in Objective-C because Swift does not +/// support C language macros +NSString* FIRSESPBGetError(pb_istream_t istream); + +// It seems impossible to specify the nullability of the `fields` parameter below, +// yet the compiler complains that it's missing a nullability specifier. Google +// yields no results at this time. +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wnullability-completeness" +NSData* _Nullable FIRSESEncodeProto(const pb_field_t fields[], + const void* _Nonnull proto, + NSError** error); +#pragma clang diagnostic pop + +/// Mallocs a pb_bytes_array and copies the given NSData bytes into the bytes array. +/// @note Memory needs to be freed manually, through pb_free or pb_release. +/// @param data The data to copy into the new bytes array. +pb_bytes_array_t* _Nullable FIRSESEncodeData(NSData* _Nullable data); + +/// Mallocs a pb_bytes_array and copies the given NSString's bytes into the bytes array. +/// @note Memory needs to be freed manually, through pb_free or pb_release. +/// @param string The string to encode as pb_bytes. +pb_bytes_array_t* _Nullable FIRSESEncodeString(NSString* _Nullable string); + +/// Decodes an array of nanopb bytes into an NSData object +/// @param pbData nanopb data +NSData* FIRSESDecodeData(pb_bytes_array_t* pbData); + +/// Decodes an array of nanopb bytes into an NSString object +/// @param pbData nanopb data +NSString* FIRSESDecodeString(pb_bytes_array_t* pbData); + +/// Checks if 2 nanopb arrays are equal +/// @param array array to check +/// @param expected expected value of the array +BOOL FIRSESIsPBArrayEqual(pb_bytes_array_t* _Nullable array, pb_bytes_array_t* _Nullable expected); + +/// Checks if a nanopb string is equal to an NSString +/// @param pbString nanopb string to check +/// @param str NSString that's expected +BOOL FIRSESIsPBStringEqual(pb_bytes_array_t* _Nullable pbString, NSString* _Nullable str); + +/// Checks if a nanopb array is equal to NSData +/// @param pbArray nanopb array to check +/// @param data NSData that's expected +BOOL FIRSESIsPBDataEqual(pb_bytes_array_t* _Nullable pbArray, NSData* _Nullable data); + +/// Returns the protobuf tag number. Use this to specify which oneof message type we are +/// using for the platform\_info field. This function is required to be in Objective-C because +/// Swift does not support c-style macros. +pb_size_t FIRSESGetAppleApplicationInfoTag(void); + +/// Returns sysctl entry, useful for obtaining OS build version from the kernel. Copied from a +/// private method in GULAppEnvironmentUtil. +NSString* _Nullable FIRSESGetSysctlEntry(const char* sysctlKey); + +NS_ASSUME_NONNULL_END + +#endif /* FIRSESNanoPBHelpers_h */ diff --git a/ios/platform/FirebaseSessions.xcframework/tvos-arm64/FirebaseSessions.framework/Headers/FirebaseSessions-Swift.h b/ios/platform/FirebaseSessions.xcframework/tvos-arm64/FirebaseSessions.framework/Headers/FirebaseSessions-Swift.h new file mode 100644 index 0000000..2fc8c03 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/tvos-arm64/FirebaseSessions.framework/Headers/FirebaseSessions-Swift.h @@ -0,0 +1,265 @@ +// Generated by Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) +#ifndef FIREBASESESSIONS_SWIFT_H +#define FIREBASESESSIONS_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseSessions",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + + +@class NSString; + +/// Session Payload is a container for Session Data passed to Subscribers +/// whenever the Session changes +SWIFT_CLASS_NAMED("SessionDetails") +@interface FIRSessionDetails : NSObject +@property (nonatomic, copy) NSString * _Nullable sessionId; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +enum FIRSessionsSubscriberName : NSInteger; + +SWIFT_CLASS_NAMED("SessionsDependencies") +@interface FIRSessionsDependencies : NSObject ++ (void)addDependencyWithName:(enum FIRSessionsSubscriberName)name; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol FIRSessionsSubscriber; + +SWIFT_PROTOCOL_NAMED("SessionsProvider") +@protocol FIRSessionsProvider +- (void)registerWithSubscriber:(id _Nonnull)subscriber; +@end + + +/// Sessions Subscriber is an interface that dependent SDKs +/// must implement. +SWIFT_PROTOCOL_NAMED("SessionsSubscriber") +@protocol FIRSessionsSubscriber +- (void)onSessionChanged:(FIRSessionDetails * _Nonnull)session; +@property (nonatomic, readonly) BOOL isDataCollectionEnabled; +@property (nonatomic, readonly) enum FIRSessionsSubscriberName sessionsSubscriberName; +@end + +/// Session Subscriber Names are used for identifying subscribers +typedef SWIFT_ENUM_NAMED(NSInteger, FIRSessionsSubscriberName, "SessionsSubscriberName", open) { + FIRSessionsSubscriberNameUnknown = 0, + FIRSessionsSubscriberNameCrashlytics = 1, + FIRSessionsSubscriberNamePerformance = 2, +}; + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif diff --git a/ios/platform/FirebaseSessions.xcframework/tvos-arm64/FirebaseSessions.framework/Headers/FirebaseSessions-umbrella.h b/ios/platform/FirebaseSessions.xcframework/tvos-arm64/FirebaseSessions.framework/Headers/FirebaseSessions-umbrella.h new file mode 100644 index 0000000..f0032f8 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/tvos-arm64/FirebaseSessions.framework/Headers/FirebaseSessions-umbrella.h @@ -0,0 +1,18 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRSESNanoPBHelpers.h" +#import "sessions.nanopb.h" + +FOUNDATION_EXPORT double FirebaseSessionsVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseSessionsVersionString[]; + diff --git a/ios/platform/FirebaseSessions.xcframework/tvos-arm64/FirebaseSessions.framework/Headers/sessions.nanopb.h b/ios/platform/FirebaseSessions.xcframework/tvos-arm64/FirebaseSessions.framework/Headers/sessions.nanopb.h new file mode 100644 index 0000000..c8cfeb8 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/tvos-arm64/FirebaseSessions.framework/Headers/sessions.nanopb.h @@ -0,0 +1,268 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/* Automatically generated nanopb header */ +/* Generated by nanopb-0.3.9.9 */ + +#ifndef PB_FIREBASE_APPQUALITY_SESSIONS_SESSIONS_NANOPB_H_INCLUDED +#define PB_FIREBASE_APPQUALITY_SESSIONS_SESSIONS_NANOPB_H_INCLUDED +#include + +/* @@protoc_insertion_point(includes) */ +#if PB_PROTO_HEADER_VERSION != 30 +#error Regenerate this file with the current version of nanopb generator. +#endif + + +/* Enum definitions */ +typedef enum _firebase_appquality_sessions_EventType { + firebase_appquality_sessions_EventType_EVENT_TYPE_UNKNOWN = 0, + firebase_appquality_sessions_EventType_SESSION_START = 1 +} firebase_appquality_sessions_EventType; +#define _firebase_appquality_sessions_EventType_MIN firebase_appquality_sessions_EventType_EVENT_TYPE_UNKNOWN +#define _firebase_appquality_sessions_EventType_MAX firebase_appquality_sessions_EventType_SESSION_START +#define _firebase_appquality_sessions_EventType_ARRAYSIZE ((firebase_appquality_sessions_EventType)(firebase_appquality_sessions_EventType_SESSION_START+1)) + +typedef enum _firebase_appquality_sessions_DataCollectionState { + firebase_appquality_sessions_DataCollectionState_COLLECTION_UNKNOWN = 0, + firebase_appquality_sessions_DataCollectionState_COLLECTION_SDK_NOT_INSTALLED = 1, + firebase_appquality_sessions_DataCollectionState_COLLECTION_ENABLED = 2, + firebase_appquality_sessions_DataCollectionState_COLLECTION_DISABLED = 3, + firebase_appquality_sessions_DataCollectionState_COLLECTION_DISABLED_REMOTE = 4, + firebase_appquality_sessions_DataCollectionState_COLLECTION_SAMPLED = 5 +} firebase_appquality_sessions_DataCollectionState; +#define _firebase_appquality_sessions_DataCollectionState_MIN firebase_appquality_sessions_DataCollectionState_COLLECTION_UNKNOWN +#define _firebase_appquality_sessions_DataCollectionState_MAX firebase_appquality_sessions_DataCollectionState_COLLECTION_SAMPLED +#define _firebase_appquality_sessions_DataCollectionState_ARRAYSIZE ((firebase_appquality_sessions_DataCollectionState)(firebase_appquality_sessions_DataCollectionState_COLLECTION_SAMPLED+1)) + +typedef enum _firebase_appquality_sessions_OsName { + firebase_appquality_sessions_OsName_UNKNOWN_OSNAME = 0, + firebase_appquality_sessions_OsName_MACOS = 1, + firebase_appquality_sessions_OsName_MACCATALYST = 2, + firebase_appquality_sessions_OsName_IOS_ON_MAC = 3, + firebase_appquality_sessions_OsName_IOS = 4, + firebase_appquality_sessions_OsName_TVOS = 5, + firebase_appquality_sessions_OsName_WATCHOS = 6, + firebase_appquality_sessions_OsName_IPADOS = 7, + firebase_appquality_sessions_OsName_UNSPECIFIED = 8 +} firebase_appquality_sessions_OsName; +#define _firebase_appquality_sessions_OsName_MIN firebase_appquality_sessions_OsName_UNKNOWN_OSNAME +#define _firebase_appquality_sessions_OsName_MAX firebase_appquality_sessions_OsName_UNSPECIFIED +#define _firebase_appquality_sessions_OsName_ARRAYSIZE ((firebase_appquality_sessions_OsName)(firebase_appquality_sessions_OsName_UNSPECIFIED+1)) + +typedef enum _firebase_appquality_sessions_LogEnvironment { + firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_UNKNOWN = 0, + firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_AUTOPUSH = 1, + firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_STAGING = 2, + firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_PROD = 3 +} firebase_appquality_sessions_LogEnvironment; +#define _firebase_appquality_sessions_LogEnvironment_MIN firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_UNKNOWN +#define _firebase_appquality_sessions_LogEnvironment_MAX firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_PROD +#define _firebase_appquality_sessions_LogEnvironment_ARRAYSIZE ((firebase_appquality_sessions_LogEnvironment)(firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_PROD+1)) + +typedef enum _firebase_appquality_sessions_NetworkConnectionInfo_NetworkType { + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE = 0, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_WIFI = 1, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_MMS = 2, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_SUPL = 3, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_DUN = 4, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_HIPRI = 5, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_WIMAX = 6, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_BLUETOOTH = 7, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_DUMMY = 8, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_ETHERNET = 9, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_FOTA = 10, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_IMS = 11, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_CBS = 12, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_WIFI_P2P = 13, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_IA = 14, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_EMERGENCY = 15, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_PROXY = 16, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_VPN = 17 +} firebase_appquality_sessions_NetworkConnectionInfo_NetworkType; +#define _firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MIN firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE +#define _firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MAX firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_VPN +#define _firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_ARRAYSIZE ((firebase_appquality_sessions_NetworkConnectionInfo_NetworkType)(firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_VPN+1)) + +typedef enum _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype { + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_UNKNOWN_MOBILE_SUBTYPE = 0, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_GPRS = 1, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_EDGE = 2, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_UMTS = 3, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_CDMA = 4, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_EVDO_0 = 5, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_EVDO_A = 6, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_RTT = 7, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_HSDPA = 8, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_HSUPA = 9, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_HSPA = 10, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_IDEN = 11, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_EVDO_B = 12, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_LTE = 13, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_EHRPD = 14, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_HSPAP = 15, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_GSM = 16, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_TD_SCDMA = 17, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_IWLAN = 18, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_LTE_CA = 19, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_NR = 20, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_COMBINED = 100 +} firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype; +#define _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_MIN firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_UNKNOWN_MOBILE_SUBTYPE +#define _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_MAX firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_COMBINED +#define _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_ARRAYSIZE ((firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype)(firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_COMBINED+1)) + +/* Struct definitions */ +typedef struct _firebase_appquality_sessions_AndroidApplicationInfo { + pb_bytes_array_t *package_name; + pb_bytes_array_t *version_name; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_AndroidApplicationInfo) */ +} firebase_appquality_sessions_AndroidApplicationInfo; + +typedef struct _firebase_appquality_sessions_DataCollectionStatus { + firebase_appquality_sessions_DataCollectionState performance; + firebase_appquality_sessions_DataCollectionState crashlytics; + double session_sampling_rate; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_DataCollectionStatus) */ +} firebase_appquality_sessions_DataCollectionStatus; + +typedef struct _firebase_appquality_sessions_NetworkConnectionInfo { + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType network_type; + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype mobile_subtype; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_NetworkConnectionInfo) */ +} firebase_appquality_sessions_NetworkConnectionInfo; + +typedef struct _firebase_appquality_sessions_AppleApplicationInfo { + pb_bytes_array_t *bundle_short_version; + firebase_appquality_sessions_NetworkConnectionInfo network_connection_info; + firebase_appquality_sessions_OsName os_name; + pb_bytes_array_t *mcc_mnc; + pb_bytes_array_t *app_build_version; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_AppleApplicationInfo) */ +} firebase_appquality_sessions_AppleApplicationInfo; + +typedef struct _firebase_appquality_sessions_SessionInfo { + pb_bytes_array_t *session_id; + pb_bytes_array_t *firebase_installation_id; + int64_t event_timestamp_us; + firebase_appquality_sessions_DataCollectionStatus data_collection_status; + pb_bytes_array_t *first_session_id; + int32_t session_index; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_SessionInfo) */ +} firebase_appquality_sessions_SessionInfo; + +typedef struct _firebase_appquality_sessions_ApplicationInfo { + pb_bytes_array_t *app_id; + pb_bytes_array_t *device_model; + pb_bytes_array_t *development_platform_name; + pb_bytes_array_t *development_platform_version; + pb_size_t which_platform_info; + union { + firebase_appquality_sessions_AndroidApplicationInfo android_app_info; + firebase_appquality_sessions_AppleApplicationInfo apple_app_info; + }; + pb_bytes_array_t *session_sdk_version; + firebase_appquality_sessions_LogEnvironment log_environment; + pb_bytes_array_t *os_version; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_ApplicationInfo) */ +} firebase_appquality_sessions_ApplicationInfo; + +typedef struct _firebase_appquality_sessions_SessionEvent { + firebase_appquality_sessions_EventType event_type; + firebase_appquality_sessions_SessionInfo session_data; + firebase_appquality_sessions_ApplicationInfo application_info; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_SessionEvent) */ +} firebase_appquality_sessions_SessionEvent; + +/* Default values for struct fields */ + +/* Initializer values for message structs */ +#define firebase_appquality_sessions_SessionEvent_init_default {_firebase_appquality_sessions_EventType_MIN, firebase_appquality_sessions_SessionInfo_init_default, firebase_appquality_sessions_ApplicationInfo_init_default} +#define firebase_appquality_sessions_NetworkConnectionInfo_init_default {_firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MIN, _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_MIN} +#define firebase_appquality_sessions_SessionInfo_init_default {NULL, NULL, 0, firebase_appquality_sessions_DataCollectionStatus_init_default, NULL, 0} +#define firebase_appquality_sessions_DataCollectionStatus_init_default {_firebase_appquality_sessions_DataCollectionState_MIN, _firebase_appquality_sessions_DataCollectionState_MIN, 0} +#define firebase_appquality_sessions_ApplicationInfo_init_default {NULL, NULL, NULL, NULL, 0, {firebase_appquality_sessions_AndroidApplicationInfo_init_default}, NULL, _firebase_appquality_sessions_LogEnvironment_MIN, NULL} +#define firebase_appquality_sessions_AndroidApplicationInfo_init_default {NULL, NULL} +#define firebase_appquality_sessions_AppleApplicationInfo_init_default {NULL, firebase_appquality_sessions_NetworkConnectionInfo_init_default, _firebase_appquality_sessions_OsName_MIN, NULL, NULL} +#define firebase_appquality_sessions_SessionEvent_init_zero {_firebase_appquality_sessions_EventType_MIN, firebase_appquality_sessions_SessionInfo_init_zero, firebase_appquality_sessions_ApplicationInfo_init_zero} +#define firebase_appquality_sessions_NetworkConnectionInfo_init_zero {_firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MIN, _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_MIN} +#define firebase_appquality_sessions_SessionInfo_init_zero {NULL, NULL, 0, firebase_appquality_sessions_DataCollectionStatus_init_zero, NULL, 0} +#define firebase_appquality_sessions_DataCollectionStatus_init_zero {_firebase_appquality_sessions_DataCollectionState_MIN, _firebase_appquality_sessions_DataCollectionState_MIN, 0} +#define firebase_appquality_sessions_ApplicationInfo_init_zero {NULL, NULL, NULL, NULL, 0, {firebase_appquality_sessions_AndroidApplicationInfo_init_zero}, NULL, _firebase_appquality_sessions_LogEnvironment_MIN, NULL} +#define firebase_appquality_sessions_AndroidApplicationInfo_init_zero {NULL, NULL} +#define firebase_appquality_sessions_AppleApplicationInfo_init_zero {NULL, firebase_appquality_sessions_NetworkConnectionInfo_init_zero, _firebase_appquality_sessions_OsName_MIN, NULL, NULL} + +/* Field tags (for use in manual encoding/decoding) */ +#define firebase_appquality_sessions_AndroidApplicationInfo_package_name_tag 1 +#define firebase_appquality_sessions_AndroidApplicationInfo_version_name_tag 3 +#define firebase_appquality_sessions_DataCollectionStatus_performance_tag 1 +#define firebase_appquality_sessions_DataCollectionStatus_crashlytics_tag 2 +#define firebase_appquality_sessions_DataCollectionStatus_session_sampling_rate_tag 3 +#define firebase_appquality_sessions_NetworkConnectionInfo_network_type_tag 1 +#define firebase_appquality_sessions_NetworkConnectionInfo_mobile_subtype_tag 2 +#define firebase_appquality_sessions_AppleApplicationInfo_bundle_short_version_tag 1 +#define firebase_appquality_sessions_AppleApplicationInfo_app_build_version_tag 6 +#define firebase_appquality_sessions_AppleApplicationInfo_network_connection_info_tag 3 +#define firebase_appquality_sessions_AppleApplicationInfo_os_name_tag 4 +#define firebase_appquality_sessions_AppleApplicationInfo_mcc_mnc_tag 5 +#define firebase_appquality_sessions_SessionInfo_session_id_tag 1 +#define firebase_appquality_sessions_SessionInfo_first_session_id_tag 7 +#define firebase_appquality_sessions_SessionInfo_session_index_tag 8 +#define firebase_appquality_sessions_SessionInfo_firebase_installation_id_tag 3 +#define firebase_appquality_sessions_SessionInfo_event_timestamp_us_tag 4 +#define firebase_appquality_sessions_SessionInfo_data_collection_status_tag 6 +#define firebase_appquality_sessions_ApplicationInfo_android_app_info_tag 5 +#define firebase_appquality_sessions_ApplicationInfo_apple_app_info_tag 6 +#define firebase_appquality_sessions_ApplicationInfo_app_id_tag 1 +#define firebase_appquality_sessions_ApplicationInfo_device_model_tag 2 +#define firebase_appquality_sessions_ApplicationInfo_development_platform_name_tag 3 +#define firebase_appquality_sessions_ApplicationInfo_development_platform_version_tag 4 +#define firebase_appquality_sessions_ApplicationInfo_session_sdk_version_tag 7 +#define firebase_appquality_sessions_ApplicationInfo_os_version_tag 9 +#define firebase_appquality_sessions_ApplicationInfo_log_environment_tag 8 +#define firebase_appquality_sessions_SessionEvent_event_type_tag 1 +#define firebase_appquality_sessions_SessionEvent_session_data_tag 2 +#define firebase_appquality_sessions_SessionEvent_application_info_tag 3 + +/* Struct field encoding specification for nanopb */ +extern const pb_field_t firebase_appquality_sessions_SessionEvent_fields[4]; +extern const pb_field_t firebase_appquality_sessions_NetworkConnectionInfo_fields[3]; +extern const pb_field_t firebase_appquality_sessions_SessionInfo_fields[7]; +extern const pb_field_t firebase_appquality_sessions_DataCollectionStatus_fields[4]; +extern const pb_field_t firebase_appquality_sessions_ApplicationInfo_fields[10]; +extern const pb_field_t firebase_appquality_sessions_AndroidApplicationInfo_fields[3]; +extern const pb_field_t firebase_appquality_sessions_AppleApplicationInfo_fields[6]; + +/* Maximum encoded size of messages (where known) */ +/* firebase_appquality_sessions_SessionEvent_size depends on runtime parameters */ +#define firebase_appquality_sessions_NetworkConnectionInfo_size 4 +/* firebase_appquality_sessions_SessionInfo_size depends on runtime parameters */ +#define firebase_appquality_sessions_DataCollectionStatus_size 13 +/* firebase_appquality_sessions_ApplicationInfo_size depends on runtime parameters */ +/* firebase_appquality_sessions_AndroidApplicationInfo_size depends on runtime parameters */ +/* firebase_appquality_sessions_AppleApplicationInfo_size depends on runtime parameters */ + +/* Message IDs (where set with "msgid" option) */ +#ifdef PB_MSGID + +#define SESSIONS_MESSAGES \ + + +#endif + +/* @@protoc_insertion_point(eof) */ + +#endif diff --git a/ios/platform/FirebaseSessions.xcframework/tvos-arm64/FirebaseSessions.framework/Info.plist b/ios/platform/FirebaseSessions.xcframework/tvos-arm64/FirebaseSessions.framework/Info.plist new file mode 100644 index 0000000..ec3a735 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/tvos-arm64/FirebaseSessions.framework/Info.plist @@ -0,0 +1,20 @@ + + + + + CFBundleExecutable + FirebaseSessions + CFBundleIdentifier + com.firebase.Firebase-FirebaseSessions + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseSessions + CFBundlePackageType + FMWK + CFBundleVersion + 10.12.0 + DTSDKName + iphonesimulator11.2 + + diff --git a/ios/platform/FirebaseSessions.xcframework/tvos-arm64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/Project/arm64-apple-tvos.swiftsourceinfo b/ios/platform/FirebaseSessions.xcframework/tvos-arm64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/Project/arm64-apple-tvos.swiftsourceinfo new file mode 100644 index 0000000..0c17b8a Binary files /dev/null and b/ios/platform/FirebaseSessions.xcframework/tvos-arm64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/Project/arm64-apple-tvos.swiftsourceinfo differ diff --git a/ios/platform/FirebaseSessions.xcframework/tvos-arm64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-tvos.swiftdoc b/ios/platform/FirebaseSessions.xcframework/tvos-arm64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-tvos.swiftdoc new file mode 100644 index 0000000..6b65604 Binary files /dev/null and b/ios/platform/FirebaseSessions.xcframework/tvos-arm64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-tvos.swiftdoc differ diff --git a/ios/platform/FirebaseSessions.xcframework/tvos-arm64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-tvos.swiftinterface b/ios/platform/FirebaseSessions.xcframework/tvos-arm64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-tvos.swiftinterface new file mode 100644 index 0000000..f414a30 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/tvos-arm64/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-tvos.swiftinterface @@ -0,0 +1,72 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) +// swift-module-flags: -target arm64-apple-tvos12.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseSessions +@_exported import FirebaseSessions +import Foundation +import Swift +import UIKit +import _Concurrency +extension FirebaseSessions._firebase_appquality_sessions_EventType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension FirebaseSessions._firebase_appquality_sessions_DataCollectionState : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension FirebaseSessions._firebase_appquality_sessions_OsName : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension FirebaseSessions._firebase_appquality_sessions_LogEnvironment : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension Swift.UnsafeMutablePointer : Swift.CustomStringConvertible where Pointee == nanopb.pb_bytes_array_t { + public var description: Swift.String { + get + } +} +extension Swift.Optional : Swift.CustomStringConvertible where Wrapped == Swift.UnsafeMutablePointer { + public var description: Swift.String { + get + } +} +@_inheritsConvenienceInitializers @objc(FIRSessionsDependencies) public class SessionsDependencies : ObjectiveC.NSObject { + @objc public static func addDependency(name: FirebaseSessions.SessionsSubscriberName) + @objc override dynamic public init() + @objc deinit +} +@objc(FIRSessionsProvider) public protocol SessionsProvider { + @objc func register(subscriber: FirebaseSessions.SessionsSubscriber) +} +@objc(FIRSessionsSubscriber) public protocol SessionsSubscriber { + @objc func onSessionChanged(_ session: FirebaseSessions.SessionDetails) + @objc var isDataCollectionEnabled: Swift.Bool { get } + @objc var sessionsSubscriberName: FirebaseSessions.SessionsSubscriberName { get } +} +@objc(FIRSessionDetails) public class SessionDetails : ObjectiveC.NSObject { + @objc public var sessionId: Swift.String? + public init(sessionId: Swift.String?) + @objc deinit +} +@objc(FIRSessionsSubscriberName) public enum SessionsSubscriberName : Swift.Int, Swift.CustomStringConvertible { + case Unknown + case Crashlytics + case Performance + public var description: Swift.String { + get + } + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +extension FirebaseSessions.SessionsSubscriberName : Swift.Equatable {} +extension FirebaseSessions.SessionsSubscriberName : Swift.Hashable {} +extension FirebaseSessions.SessionsSubscriberName : Swift.RawRepresentable {} diff --git a/ios/platform/FirebaseSessions.xcframework/tvos-arm64/FirebaseSessions.framework/Modules/module.modulemap b/ios/platform/FirebaseSessions.xcframework/tvos-arm64/FirebaseSessions.framework/Modules/module.modulemap new file mode 100644 index 0000000..3072d37 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/tvos-arm64/FirebaseSessions.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FirebaseSessions { + umbrella header "FirebaseSessions-umbrella.h" + + export * + module * { export * } +} + +module FirebaseSessions.Swift { + header "FirebaseSessions-Swift.h" + requires objc +} diff --git a/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/FirebaseSessions b/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/FirebaseSessions new file mode 100644 index 0000000..c80ab5c Binary files /dev/null and b/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/FirebaseSessions differ diff --git a/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Headers/FIRSESNanoPBHelpers.h b/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Headers/FIRSESNanoPBHelpers.h new file mode 100644 index 0000000..8956ff0 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Headers/FIRSESNanoPBHelpers.h @@ -0,0 +1,96 @@ +// +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#ifndef FIRSESNanoPBHelpers_h +#define FIRSESNanoPBHelpers_h + +#import + +#import +#if __has_include("CoreTelephony/CTTelephonyNetworkInfo.h") && !TARGET_OS_MACCATALYST && \ + !TARGET_OS_OSX && !TARGET_OS_TV +#define TARGET_HAS_MOBILE_CONNECTIVITY +#import +#import +#endif + +#import +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Deinitializes a nanopb struct. Rewritten here to expose to Swift, since `pb_free` is a macro. +void nanopb_free(void* _Nullable); + +/// Returns an error associated with the istream. Written in Objective-C because Swift does not +/// support C language macros +NSString* FIRSESPBGetError(pb_istream_t istream); + +// It seems impossible to specify the nullability of the `fields` parameter below, +// yet the compiler complains that it's missing a nullability specifier. Google +// yields no results at this time. +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wnullability-completeness" +NSData* _Nullable FIRSESEncodeProto(const pb_field_t fields[], + const void* _Nonnull proto, + NSError** error); +#pragma clang diagnostic pop + +/// Mallocs a pb_bytes_array and copies the given NSData bytes into the bytes array. +/// @note Memory needs to be freed manually, through pb_free or pb_release. +/// @param data The data to copy into the new bytes array. +pb_bytes_array_t* _Nullable FIRSESEncodeData(NSData* _Nullable data); + +/// Mallocs a pb_bytes_array and copies the given NSString's bytes into the bytes array. +/// @note Memory needs to be freed manually, through pb_free or pb_release. +/// @param string The string to encode as pb_bytes. +pb_bytes_array_t* _Nullable FIRSESEncodeString(NSString* _Nullable string); + +/// Decodes an array of nanopb bytes into an NSData object +/// @param pbData nanopb data +NSData* FIRSESDecodeData(pb_bytes_array_t* pbData); + +/// Decodes an array of nanopb bytes into an NSString object +/// @param pbData nanopb data +NSString* FIRSESDecodeString(pb_bytes_array_t* pbData); + +/// Checks if 2 nanopb arrays are equal +/// @param array array to check +/// @param expected expected value of the array +BOOL FIRSESIsPBArrayEqual(pb_bytes_array_t* _Nullable array, pb_bytes_array_t* _Nullable expected); + +/// Checks if a nanopb string is equal to an NSString +/// @param pbString nanopb string to check +/// @param str NSString that's expected +BOOL FIRSESIsPBStringEqual(pb_bytes_array_t* _Nullable pbString, NSString* _Nullable str); + +/// Checks if a nanopb array is equal to NSData +/// @param pbArray nanopb array to check +/// @param data NSData that's expected +BOOL FIRSESIsPBDataEqual(pb_bytes_array_t* _Nullable pbArray, NSData* _Nullable data); + +/// Returns the protobuf tag number. Use this to specify which oneof message type we are +/// using for the platform\_info field. This function is required to be in Objective-C because +/// Swift does not support c-style macros. +pb_size_t FIRSESGetAppleApplicationInfoTag(void); + +/// Returns sysctl entry, useful for obtaining OS build version from the kernel. Copied from a +/// private method in GULAppEnvironmentUtil. +NSString* _Nullable FIRSESGetSysctlEntry(const char* sysctlKey); + +NS_ASSUME_NONNULL_END + +#endif /* FIRSESNanoPBHelpers_h */ diff --git a/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Headers/FirebaseSessions-Swift.h b/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Headers/FirebaseSessions-Swift.h new file mode 100644 index 0000000..2fc8c03 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Headers/FirebaseSessions-Swift.h @@ -0,0 +1,265 @@ +// Generated by Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) +#ifndef FIREBASESESSIONS_SWIFT_H +#define FIREBASESESSIONS_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseSessions",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + + +@class NSString; + +/// Session Payload is a container for Session Data passed to Subscribers +/// whenever the Session changes +SWIFT_CLASS_NAMED("SessionDetails") +@interface FIRSessionDetails : NSObject +@property (nonatomic, copy) NSString * _Nullable sessionId; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +enum FIRSessionsSubscriberName : NSInteger; + +SWIFT_CLASS_NAMED("SessionsDependencies") +@interface FIRSessionsDependencies : NSObject ++ (void)addDependencyWithName:(enum FIRSessionsSubscriberName)name; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol FIRSessionsSubscriber; + +SWIFT_PROTOCOL_NAMED("SessionsProvider") +@protocol FIRSessionsProvider +- (void)registerWithSubscriber:(id _Nonnull)subscriber; +@end + + +/// Sessions Subscriber is an interface that dependent SDKs +/// must implement. +SWIFT_PROTOCOL_NAMED("SessionsSubscriber") +@protocol FIRSessionsSubscriber +- (void)onSessionChanged:(FIRSessionDetails * _Nonnull)session; +@property (nonatomic, readonly) BOOL isDataCollectionEnabled; +@property (nonatomic, readonly) enum FIRSessionsSubscriberName sessionsSubscriberName; +@end + +/// Session Subscriber Names are used for identifying subscribers +typedef SWIFT_ENUM_NAMED(NSInteger, FIRSessionsSubscriberName, "SessionsSubscriberName", open) { + FIRSessionsSubscriberNameUnknown = 0, + FIRSessionsSubscriberNameCrashlytics = 1, + FIRSessionsSubscriberNamePerformance = 2, +}; + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif diff --git a/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Headers/FirebaseSessions-umbrella.h b/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Headers/FirebaseSessions-umbrella.h new file mode 100644 index 0000000..f0032f8 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Headers/FirebaseSessions-umbrella.h @@ -0,0 +1,18 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FIRSESNanoPBHelpers.h" +#import "sessions.nanopb.h" + +FOUNDATION_EXPORT double FirebaseSessionsVersionNumber; +FOUNDATION_EXPORT const unsigned char FirebaseSessionsVersionString[]; + diff --git a/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Headers/sessions.nanopb.h b/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Headers/sessions.nanopb.h new file mode 100644 index 0000000..c8cfeb8 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Headers/sessions.nanopb.h @@ -0,0 +1,268 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/* Automatically generated nanopb header */ +/* Generated by nanopb-0.3.9.9 */ + +#ifndef PB_FIREBASE_APPQUALITY_SESSIONS_SESSIONS_NANOPB_H_INCLUDED +#define PB_FIREBASE_APPQUALITY_SESSIONS_SESSIONS_NANOPB_H_INCLUDED +#include + +/* @@protoc_insertion_point(includes) */ +#if PB_PROTO_HEADER_VERSION != 30 +#error Regenerate this file with the current version of nanopb generator. +#endif + + +/* Enum definitions */ +typedef enum _firebase_appquality_sessions_EventType { + firebase_appquality_sessions_EventType_EVENT_TYPE_UNKNOWN = 0, + firebase_appquality_sessions_EventType_SESSION_START = 1 +} firebase_appquality_sessions_EventType; +#define _firebase_appquality_sessions_EventType_MIN firebase_appquality_sessions_EventType_EVENT_TYPE_UNKNOWN +#define _firebase_appquality_sessions_EventType_MAX firebase_appquality_sessions_EventType_SESSION_START +#define _firebase_appquality_sessions_EventType_ARRAYSIZE ((firebase_appquality_sessions_EventType)(firebase_appquality_sessions_EventType_SESSION_START+1)) + +typedef enum _firebase_appquality_sessions_DataCollectionState { + firebase_appquality_sessions_DataCollectionState_COLLECTION_UNKNOWN = 0, + firebase_appquality_sessions_DataCollectionState_COLLECTION_SDK_NOT_INSTALLED = 1, + firebase_appquality_sessions_DataCollectionState_COLLECTION_ENABLED = 2, + firebase_appquality_sessions_DataCollectionState_COLLECTION_DISABLED = 3, + firebase_appquality_sessions_DataCollectionState_COLLECTION_DISABLED_REMOTE = 4, + firebase_appquality_sessions_DataCollectionState_COLLECTION_SAMPLED = 5 +} firebase_appquality_sessions_DataCollectionState; +#define _firebase_appquality_sessions_DataCollectionState_MIN firebase_appquality_sessions_DataCollectionState_COLLECTION_UNKNOWN +#define _firebase_appquality_sessions_DataCollectionState_MAX firebase_appquality_sessions_DataCollectionState_COLLECTION_SAMPLED +#define _firebase_appquality_sessions_DataCollectionState_ARRAYSIZE ((firebase_appquality_sessions_DataCollectionState)(firebase_appquality_sessions_DataCollectionState_COLLECTION_SAMPLED+1)) + +typedef enum _firebase_appquality_sessions_OsName { + firebase_appquality_sessions_OsName_UNKNOWN_OSNAME = 0, + firebase_appquality_sessions_OsName_MACOS = 1, + firebase_appquality_sessions_OsName_MACCATALYST = 2, + firebase_appquality_sessions_OsName_IOS_ON_MAC = 3, + firebase_appquality_sessions_OsName_IOS = 4, + firebase_appquality_sessions_OsName_TVOS = 5, + firebase_appquality_sessions_OsName_WATCHOS = 6, + firebase_appquality_sessions_OsName_IPADOS = 7, + firebase_appquality_sessions_OsName_UNSPECIFIED = 8 +} firebase_appquality_sessions_OsName; +#define _firebase_appquality_sessions_OsName_MIN firebase_appquality_sessions_OsName_UNKNOWN_OSNAME +#define _firebase_appquality_sessions_OsName_MAX firebase_appquality_sessions_OsName_UNSPECIFIED +#define _firebase_appquality_sessions_OsName_ARRAYSIZE ((firebase_appquality_sessions_OsName)(firebase_appquality_sessions_OsName_UNSPECIFIED+1)) + +typedef enum _firebase_appquality_sessions_LogEnvironment { + firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_UNKNOWN = 0, + firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_AUTOPUSH = 1, + firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_STAGING = 2, + firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_PROD = 3 +} firebase_appquality_sessions_LogEnvironment; +#define _firebase_appquality_sessions_LogEnvironment_MIN firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_UNKNOWN +#define _firebase_appquality_sessions_LogEnvironment_MAX firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_PROD +#define _firebase_appquality_sessions_LogEnvironment_ARRAYSIZE ((firebase_appquality_sessions_LogEnvironment)(firebase_appquality_sessions_LogEnvironment_LOG_ENVIRONMENT_PROD+1)) + +typedef enum _firebase_appquality_sessions_NetworkConnectionInfo_NetworkType { + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE = 0, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_WIFI = 1, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_MMS = 2, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_SUPL = 3, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_DUN = 4, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_HIPRI = 5, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_WIMAX = 6, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_BLUETOOTH = 7, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_DUMMY = 8, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_ETHERNET = 9, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_FOTA = 10, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_IMS = 11, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_CBS = 12, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_WIFI_P2P = 13, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_IA = 14, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE_EMERGENCY = 15, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_PROXY = 16, + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_VPN = 17 +} firebase_appquality_sessions_NetworkConnectionInfo_NetworkType; +#define _firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MIN firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MOBILE +#define _firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MAX firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_VPN +#define _firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_ARRAYSIZE ((firebase_appquality_sessions_NetworkConnectionInfo_NetworkType)(firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_VPN+1)) + +typedef enum _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype { + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_UNKNOWN_MOBILE_SUBTYPE = 0, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_GPRS = 1, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_EDGE = 2, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_UMTS = 3, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_CDMA = 4, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_EVDO_0 = 5, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_EVDO_A = 6, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_RTT = 7, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_HSDPA = 8, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_HSUPA = 9, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_HSPA = 10, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_IDEN = 11, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_EVDO_B = 12, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_LTE = 13, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_EHRPD = 14, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_HSPAP = 15, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_GSM = 16, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_TD_SCDMA = 17, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_IWLAN = 18, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_LTE_CA = 19, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_NR = 20, + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_COMBINED = 100 +} firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype; +#define _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_MIN firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_UNKNOWN_MOBILE_SUBTYPE +#define _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_MAX firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_COMBINED +#define _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_ARRAYSIZE ((firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype)(firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_COMBINED+1)) + +/* Struct definitions */ +typedef struct _firebase_appquality_sessions_AndroidApplicationInfo { + pb_bytes_array_t *package_name; + pb_bytes_array_t *version_name; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_AndroidApplicationInfo) */ +} firebase_appquality_sessions_AndroidApplicationInfo; + +typedef struct _firebase_appquality_sessions_DataCollectionStatus { + firebase_appquality_sessions_DataCollectionState performance; + firebase_appquality_sessions_DataCollectionState crashlytics; + double session_sampling_rate; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_DataCollectionStatus) */ +} firebase_appquality_sessions_DataCollectionStatus; + +typedef struct _firebase_appquality_sessions_NetworkConnectionInfo { + firebase_appquality_sessions_NetworkConnectionInfo_NetworkType network_type; + firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype mobile_subtype; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_NetworkConnectionInfo) */ +} firebase_appquality_sessions_NetworkConnectionInfo; + +typedef struct _firebase_appquality_sessions_AppleApplicationInfo { + pb_bytes_array_t *bundle_short_version; + firebase_appquality_sessions_NetworkConnectionInfo network_connection_info; + firebase_appquality_sessions_OsName os_name; + pb_bytes_array_t *mcc_mnc; + pb_bytes_array_t *app_build_version; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_AppleApplicationInfo) */ +} firebase_appquality_sessions_AppleApplicationInfo; + +typedef struct _firebase_appquality_sessions_SessionInfo { + pb_bytes_array_t *session_id; + pb_bytes_array_t *firebase_installation_id; + int64_t event_timestamp_us; + firebase_appquality_sessions_DataCollectionStatus data_collection_status; + pb_bytes_array_t *first_session_id; + int32_t session_index; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_SessionInfo) */ +} firebase_appquality_sessions_SessionInfo; + +typedef struct _firebase_appquality_sessions_ApplicationInfo { + pb_bytes_array_t *app_id; + pb_bytes_array_t *device_model; + pb_bytes_array_t *development_platform_name; + pb_bytes_array_t *development_platform_version; + pb_size_t which_platform_info; + union { + firebase_appquality_sessions_AndroidApplicationInfo android_app_info; + firebase_appquality_sessions_AppleApplicationInfo apple_app_info; + }; + pb_bytes_array_t *session_sdk_version; + firebase_appquality_sessions_LogEnvironment log_environment; + pb_bytes_array_t *os_version; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_ApplicationInfo) */ +} firebase_appquality_sessions_ApplicationInfo; + +typedef struct _firebase_appquality_sessions_SessionEvent { + firebase_appquality_sessions_EventType event_type; + firebase_appquality_sessions_SessionInfo session_data; + firebase_appquality_sessions_ApplicationInfo application_info; +/* @@protoc_insertion_point(struct:firebase_appquality_sessions_SessionEvent) */ +} firebase_appquality_sessions_SessionEvent; + +/* Default values for struct fields */ + +/* Initializer values for message structs */ +#define firebase_appquality_sessions_SessionEvent_init_default {_firebase_appquality_sessions_EventType_MIN, firebase_appquality_sessions_SessionInfo_init_default, firebase_appquality_sessions_ApplicationInfo_init_default} +#define firebase_appquality_sessions_NetworkConnectionInfo_init_default {_firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MIN, _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_MIN} +#define firebase_appquality_sessions_SessionInfo_init_default {NULL, NULL, 0, firebase_appquality_sessions_DataCollectionStatus_init_default, NULL, 0} +#define firebase_appquality_sessions_DataCollectionStatus_init_default {_firebase_appquality_sessions_DataCollectionState_MIN, _firebase_appquality_sessions_DataCollectionState_MIN, 0} +#define firebase_appquality_sessions_ApplicationInfo_init_default {NULL, NULL, NULL, NULL, 0, {firebase_appquality_sessions_AndroidApplicationInfo_init_default}, NULL, _firebase_appquality_sessions_LogEnvironment_MIN, NULL} +#define firebase_appquality_sessions_AndroidApplicationInfo_init_default {NULL, NULL} +#define firebase_appquality_sessions_AppleApplicationInfo_init_default {NULL, firebase_appquality_sessions_NetworkConnectionInfo_init_default, _firebase_appquality_sessions_OsName_MIN, NULL, NULL} +#define firebase_appquality_sessions_SessionEvent_init_zero {_firebase_appquality_sessions_EventType_MIN, firebase_appquality_sessions_SessionInfo_init_zero, firebase_appquality_sessions_ApplicationInfo_init_zero} +#define firebase_appquality_sessions_NetworkConnectionInfo_init_zero {_firebase_appquality_sessions_NetworkConnectionInfo_NetworkType_MIN, _firebase_appquality_sessions_NetworkConnectionInfo_MobileSubtype_MIN} +#define firebase_appquality_sessions_SessionInfo_init_zero {NULL, NULL, 0, firebase_appquality_sessions_DataCollectionStatus_init_zero, NULL, 0} +#define firebase_appquality_sessions_DataCollectionStatus_init_zero {_firebase_appquality_sessions_DataCollectionState_MIN, _firebase_appquality_sessions_DataCollectionState_MIN, 0} +#define firebase_appquality_sessions_ApplicationInfo_init_zero {NULL, NULL, NULL, NULL, 0, {firebase_appquality_sessions_AndroidApplicationInfo_init_zero}, NULL, _firebase_appquality_sessions_LogEnvironment_MIN, NULL} +#define firebase_appquality_sessions_AndroidApplicationInfo_init_zero {NULL, NULL} +#define firebase_appquality_sessions_AppleApplicationInfo_init_zero {NULL, firebase_appquality_sessions_NetworkConnectionInfo_init_zero, _firebase_appquality_sessions_OsName_MIN, NULL, NULL} + +/* Field tags (for use in manual encoding/decoding) */ +#define firebase_appquality_sessions_AndroidApplicationInfo_package_name_tag 1 +#define firebase_appquality_sessions_AndroidApplicationInfo_version_name_tag 3 +#define firebase_appquality_sessions_DataCollectionStatus_performance_tag 1 +#define firebase_appquality_sessions_DataCollectionStatus_crashlytics_tag 2 +#define firebase_appquality_sessions_DataCollectionStatus_session_sampling_rate_tag 3 +#define firebase_appquality_sessions_NetworkConnectionInfo_network_type_tag 1 +#define firebase_appquality_sessions_NetworkConnectionInfo_mobile_subtype_tag 2 +#define firebase_appquality_sessions_AppleApplicationInfo_bundle_short_version_tag 1 +#define firebase_appquality_sessions_AppleApplicationInfo_app_build_version_tag 6 +#define firebase_appquality_sessions_AppleApplicationInfo_network_connection_info_tag 3 +#define firebase_appquality_sessions_AppleApplicationInfo_os_name_tag 4 +#define firebase_appquality_sessions_AppleApplicationInfo_mcc_mnc_tag 5 +#define firebase_appquality_sessions_SessionInfo_session_id_tag 1 +#define firebase_appquality_sessions_SessionInfo_first_session_id_tag 7 +#define firebase_appquality_sessions_SessionInfo_session_index_tag 8 +#define firebase_appquality_sessions_SessionInfo_firebase_installation_id_tag 3 +#define firebase_appquality_sessions_SessionInfo_event_timestamp_us_tag 4 +#define firebase_appquality_sessions_SessionInfo_data_collection_status_tag 6 +#define firebase_appquality_sessions_ApplicationInfo_android_app_info_tag 5 +#define firebase_appquality_sessions_ApplicationInfo_apple_app_info_tag 6 +#define firebase_appquality_sessions_ApplicationInfo_app_id_tag 1 +#define firebase_appquality_sessions_ApplicationInfo_device_model_tag 2 +#define firebase_appquality_sessions_ApplicationInfo_development_platform_name_tag 3 +#define firebase_appquality_sessions_ApplicationInfo_development_platform_version_tag 4 +#define firebase_appquality_sessions_ApplicationInfo_session_sdk_version_tag 7 +#define firebase_appquality_sessions_ApplicationInfo_os_version_tag 9 +#define firebase_appquality_sessions_ApplicationInfo_log_environment_tag 8 +#define firebase_appquality_sessions_SessionEvent_event_type_tag 1 +#define firebase_appquality_sessions_SessionEvent_session_data_tag 2 +#define firebase_appquality_sessions_SessionEvent_application_info_tag 3 + +/* Struct field encoding specification for nanopb */ +extern const pb_field_t firebase_appquality_sessions_SessionEvent_fields[4]; +extern const pb_field_t firebase_appquality_sessions_NetworkConnectionInfo_fields[3]; +extern const pb_field_t firebase_appquality_sessions_SessionInfo_fields[7]; +extern const pb_field_t firebase_appquality_sessions_DataCollectionStatus_fields[4]; +extern const pb_field_t firebase_appquality_sessions_ApplicationInfo_fields[10]; +extern const pb_field_t firebase_appquality_sessions_AndroidApplicationInfo_fields[3]; +extern const pb_field_t firebase_appquality_sessions_AppleApplicationInfo_fields[6]; + +/* Maximum encoded size of messages (where known) */ +/* firebase_appquality_sessions_SessionEvent_size depends on runtime parameters */ +#define firebase_appquality_sessions_NetworkConnectionInfo_size 4 +/* firebase_appquality_sessions_SessionInfo_size depends on runtime parameters */ +#define firebase_appquality_sessions_DataCollectionStatus_size 13 +/* firebase_appquality_sessions_ApplicationInfo_size depends on runtime parameters */ +/* firebase_appquality_sessions_AndroidApplicationInfo_size depends on runtime parameters */ +/* firebase_appquality_sessions_AppleApplicationInfo_size depends on runtime parameters */ + +/* Message IDs (where set with "msgid" option) */ +#ifdef PB_MSGID + +#define SESSIONS_MESSAGES \ + + +#endif + +/* @@protoc_insertion_point(eof) */ + +#endif diff --git a/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Info.plist b/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Info.plist new file mode 100644 index 0000000..ec3a735 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Info.plist @@ -0,0 +1,20 @@ + + + + + CFBundleExecutable + FirebaseSessions + CFBundleIdentifier + com.firebase.Firebase-FirebaseSessions + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FirebaseSessions + CFBundlePackageType + FMWK + CFBundleVersion + 10.12.0 + DTSDKName + iphonesimulator11.2 + + diff --git a/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/Project/arm64-apple-tvos-simulator.swiftsourceinfo b/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/Project/arm64-apple-tvos-simulator.swiftsourceinfo new file mode 100644 index 0000000..0a53ec8 Binary files /dev/null and b/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/Project/arm64-apple-tvos-simulator.swiftsourceinfo differ diff --git a/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/Project/x86_64-apple-tvos-simulator.swiftsourceinfo b/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/Project/x86_64-apple-tvos-simulator.swiftsourceinfo new file mode 100644 index 0000000..40dbcf7 Binary files /dev/null and b/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/Project/x86_64-apple-tvos-simulator.swiftsourceinfo differ diff --git a/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-tvos-simulator.swiftdoc b/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-tvos-simulator.swiftdoc new file mode 100644 index 0000000..316ece4 Binary files /dev/null and b/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-tvos-simulator.swiftdoc differ diff --git a/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-tvos-simulator.swiftinterface b/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-tvos-simulator.swiftinterface new file mode 100644 index 0000000..05efe65 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/arm64-apple-tvos-simulator.swiftinterface @@ -0,0 +1,72 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) +// swift-module-flags: -target arm64-apple-tvos12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseSessions +@_exported import FirebaseSessions +import Foundation +import Swift +import UIKit +import _Concurrency +extension FirebaseSessions._firebase_appquality_sessions_EventType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension FirebaseSessions._firebase_appquality_sessions_DataCollectionState : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension FirebaseSessions._firebase_appquality_sessions_OsName : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension FirebaseSessions._firebase_appquality_sessions_LogEnvironment : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension Swift.UnsafeMutablePointer : Swift.CustomStringConvertible where Pointee == nanopb.pb_bytes_array_t { + public var description: Swift.String { + get + } +} +extension Swift.Optional : Swift.CustomStringConvertible where Wrapped == Swift.UnsafeMutablePointer { + public var description: Swift.String { + get + } +} +@_inheritsConvenienceInitializers @objc(FIRSessionsDependencies) public class SessionsDependencies : ObjectiveC.NSObject { + @objc public static func addDependency(name: FirebaseSessions.SessionsSubscriberName) + @objc override dynamic public init() + @objc deinit +} +@objc(FIRSessionsProvider) public protocol SessionsProvider { + @objc func register(subscriber: FirebaseSessions.SessionsSubscriber) +} +@objc(FIRSessionsSubscriber) public protocol SessionsSubscriber { + @objc func onSessionChanged(_ session: FirebaseSessions.SessionDetails) + @objc var isDataCollectionEnabled: Swift.Bool { get } + @objc var sessionsSubscriberName: FirebaseSessions.SessionsSubscriberName { get } +} +@objc(FIRSessionDetails) public class SessionDetails : ObjectiveC.NSObject { + @objc public var sessionId: Swift.String? + public init(sessionId: Swift.String?) + @objc deinit +} +@objc(FIRSessionsSubscriberName) public enum SessionsSubscriberName : Swift.Int, Swift.CustomStringConvertible { + case Unknown + case Crashlytics + case Performance + public var description: Swift.String { + get + } + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +extension FirebaseSessions.SessionsSubscriberName : Swift.Equatable {} +extension FirebaseSessions.SessionsSubscriberName : Swift.Hashable {} +extension FirebaseSessions.SessionsSubscriberName : Swift.RawRepresentable {} diff --git a/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc b/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc new file mode 100644 index 0000000..b597c5a Binary files /dev/null and b/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc differ diff --git a/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface b/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface new file mode 100644 index 0000000..4de8245 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/FirebaseSessions.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface @@ -0,0 +1,72 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8) +// swift-module-flags: -target x86_64-apple-tvos12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseSessions +@_exported import FirebaseSessions +import Foundation +import Swift +import UIKit +import _Concurrency +extension FirebaseSessions._firebase_appquality_sessions_EventType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension FirebaseSessions._firebase_appquality_sessions_DataCollectionState : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension FirebaseSessions._firebase_appquality_sessions_OsName : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension FirebaseSessions._firebase_appquality_sessions_LogEnvironment : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension Swift.UnsafeMutablePointer : Swift.CustomStringConvertible where Pointee == nanopb.pb_bytes_array_t { + public var description: Swift.String { + get + } +} +extension Swift.Optional : Swift.CustomStringConvertible where Wrapped == Swift.UnsafeMutablePointer { + public var description: Swift.String { + get + } +} +@_inheritsConvenienceInitializers @objc(FIRSessionsDependencies) public class SessionsDependencies : ObjectiveC.NSObject { + @objc public static func addDependency(name: FirebaseSessions.SessionsSubscriberName) + @objc override dynamic public init() + @objc deinit +} +@objc(FIRSessionsProvider) public protocol SessionsProvider { + @objc func register(subscriber: FirebaseSessions.SessionsSubscriber) +} +@objc(FIRSessionsSubscriber) public protocol SessionsSubscriber { + @objc func onSessionChanged(_ session: FirebaseSessions.SessionDetails) + @objc var isDataCollectionEnabled: Swift.Bool { get } + @objc var sessionsSubscriberName: FirebaseSessions.SessionsSubscriberName { get } +} +@objc(FIRSessionDetails) public class SessionDetails : ObjectiveC.NSObject { + @objc public var sessionId: Swift.String? + public init(sessionId: Swift.String?) + @objc deinit +} +@objc(FIRSessionsSubscriberName) public enum SessionsSubscriberName : Swift.Int, Swift.CustomStringConvertible { + case Unknown + case Crashlytics + case Performance + public var description: Swift.String { + get + } + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +extension FirebaseSessions.SessionsSubscriberName : Swift.Equatable {} +extension FirebaseSessions.SessionsSubscriberName : Swift.Hashable {} +extension FirebaseSessions.SessionsSubscriberName : Swift.RawRepresentable {} diff --git a/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/module.modulemap b/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/module.modulemap new file mode 100644 index 0000000..3072d37 --- /dev/null +++ b/ios/platform/FirebaseSessions.xcframework/tvos-arm64_x86_64-simulator/FirebaseSessions.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module FirebaseSessions { + umbrella header "FirebaseSessions-umbrella.h" + + export * + module * { export * } +} + +module FirebaseSessions.Swift { + header "FirebaseSessions-Swift.h" + requires objc +} diff --git a/ios/titanium-crashlytics.xcodeproj/project.pbxproj b/ios/titanium-crashlytics.xcodeproj/project.pbxproj index 5f5e904..fcc2eef 100644 --- a/ios/titanium-crashlytics.xcodeproj/project.pbxproj +++ b/ios/titanium-crashlytics.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 52; + objectVersion = 53; objects = { /* Begin PBXAggregateTarget section */ @@ -26,6 +26,7 @@ 24DD6CFA1134B3F500162E58 /* TiCrashlyticsModule.m in Sources */ = {isa = PBXBuildFile; fileRef = 24DD6CF81134B3F500162E58 /* TiCrashlyticsModule.m */; }; 24DE9E1111C5FE74003F90F6 /* TiCrashlyticsModuleAssets.h in Headers */ = {isa = PBXBuildFile; fileRef = 24DE9E0F11C5FE74003F90F6 /* TiCrashlyticsModuleAssets.h */; }; 24DE9E1211C5FE74003F90F6 /* TiCrashlyticsModuleAssets.m in Sources */ = {isa = PBXBuildFile; fileRef = 24DE9E1011C5FE74003F90F6 /* TiCrashlyticsModuleAssets.m */; }; + 3A84802F2A6333F3005F335D /* FirebaseSessions.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A84802E2A6333F3005F335D /* FirebaseSessions.xcframework */; }; 4E9110382748242700A1F9F9 /* FirebaseCrashlytics.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4E9110372748242700A1F9F9 /* FirebaseCrashlytics.xcframework */; }; AA747D9F0F9514B9006C5449 /* TiCrashlytics_Prefix.pch in Headers */ = {isa = PBXBuildFile; fileRef = AA747D9E0F9514B9006C5449 /* TiCrashlytics_Prefix.pch */; }; /* End PBXBuildFile section */ @@ -46,6 +47,7 @@ 24DD6D1B1134B66800162E58 /* titanium.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = titanium.xcconfig; sourceTree = ""; }; 24DE9E0F11C5FE74003F90F6 /* TiCrashlyticsModuleAssets.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TiCrashlyticsModuleAssets.h; path = Classes/TiCrashlyticsModuleAssets.h; sourceTree = ""; }; 24DE9E1011C5FE74003F90F6 /* TiCrashlyticsModuleAssets.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = TiCrashlyticsModuleAssets.m; path = Classes/TiCrashlyticsModuleAssets.m; sourceTree = ""; }; + 3A84802E2A6333F3005F335D /* FirebaseSessions.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = FirebaseSessions.xcframework; path = platform/FirebaseSessions.xcframework; sourceTree = ""; }; 4E9110372748242700A1F9F9 /* FirebaseCrashlytics.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = FirebaseCrashlytics.xcframework; path = platform/FirebaseCrashlytics.xcframework; sourceTree = ""; }; AA747D9E0F9514B9006C5449 /* TiCrashlytics_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TiCrashlytics_Prefix.pch; sourceTree = SOURCE_ROOT; }; D2AAC07E0554694100DB518D /* libti.crashlytics.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libti.crashlytics.a; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -57,6 +59,7 @@ buildActionMask = 2147483647; files = ( 4E9110382748242700A1F9F9 /* FirebaseCrashlytics.xcframework in Frameworks */, + 3A84802F2A6333F3005F335D /* FirebaseSessions.xcframework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -86,6 +89,7 @@ isa = PBXGroup; children = ( 4E9110372748242700A1F9F9 /* FirebaseCrashlytics.xcframework */, + 3A84802E2A6333F3005F335D /* FirebaseSessions.xcframework */, ); name = Frameworks; sourceTree = ""; @@ -149,7 +153,8 @@ 0867D690FE84028FC02AAC07 /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 1320; + BuildIndependentTargetsInParallel = YES; + LastUpgradeCheck = 1430; }; buildConfigurationList = 1DEB922208733DC00010E9CD /* Build configuration list for PBXProject "titanium-crashlytics" */; compatibilityVersion = "Xcode 9.3"; diff --git a/ios/titanium.xcconfig b/ios/titanium.xcconfig index 55eb999..735f226 100644 --- a/ios/titanium.xcconfig +++ b/ios/titanium.xcconfig @@ -4,7 +4,7 @@ // OF YOUR TITANIUM SDK YOU'RE BUILDING FOR // // -TITANIUM_SDK_VERSION = 11.1.0.GA +TITANIUM_SDK_VERSION = 10.1.1.GA // // THESE SHOULD BE OK GENERALLY AS-IS