[WIP] firebase init Error
This commit is contained in:
@@ -0,0 +1,139 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>AvailableLibraries</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>BinaryPath</key>
|
||||
<string>FirebaseSessions.framework/Versions/A/FirebaseSessions</string>
|
||||
<key>LibraryIdentifier</key>
|
||||
<string>macos-arm64_x86_64</string>
|
||||
<key>LibraryPath</key>
|
||||
<string>FirebaseSessions.framework</string>
|
||||
<key>SupportedArchitectures</key>
|
||||
<array>
|
||||
<string>arm64</string>
|
||||
<string>x86_64</string>
|
||||
</array>
|
||||
<key>SupportedPlatform</key>
|
||||
<string>macos</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>BinaryPath</key>
|
||||
<string>FirebaseSessions.framework/Versions/A/FirebaseSessions</string>
|
||||
<key>LibraryIdentifier</key>
|
||||
<string>ios-arm64_x86_64-maccatalyst</string>
|
||||
<key>LibraryPath</key>
|
||||
<string>FirebaseSessions.framework</string>
|
||||
<key>SupportedArchitectures</key>
|
||||
<array>
|
||||
<string>arm64</string>
|
||||
<string>x86_64</string>
|
||||
</array>
|
||||
<key>SupportedPlatform</key>
|
||||
<string>ios</string>
|
||||
<key>SupportedPlatformVariant</key>
|
||||
<string>maccatalyst</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>BinaryPath</key>
|
||||
<string>FirebaseSessions.framework/FirebaseSessions</string>
|
||||
<key>LibraryIdentifier</key>
|
||||
<string>tvos-arm64</string>
|
||||
<key>LibraryPath</key>
|
||||
<string>FirebaseSessions.framework</string>
|
||||
<key>SupportedArchitectures</key>
|
||||
<array>
|
||||
<string>arm64</string>
|
||||
</array>
|
||||
<key>SupportedPlatform</key>
|
||||
<string>tvos</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>BinaryPath</key>
|
||||
<string>FirebaseSessions.framework/FirebaseSessions</string>
|
||||
<key>LibraryIdentifier</key>
|
||||
<string>tvos-arm64_x86_64-simulator</string>
|
||||
<key>LibraryPath</key>
|
||||
<string>FirebaseSessions.framework</string>
|
||||
<key>SupportedArchitectures</key>
|
||||
<array>
|
||||
<string>arm64</string>
|
||||
<string>x86_64</string>
|
||||
</array>
|
||||
<key>SupportedPlatform</key>
|
||||
<string>tvos</string>
|
||||
<key>SupportedPlatformVariant</key>
|
||||
<string>simulator</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>BinaryPath</key>
|
||||
<string>FirebaseSessions.framework/FirebaseSessions</string>
|
||||
<key>LibraryIdentifier</key>
|
||||
<string>ios-arm64_x86_64-simulator</string>
|
||||
<key>LibraryPath</key>
|
||||
<string>FirebaseSessions.framework</string>
|
||||
<key>SupportedArchitectures</key>
|
||||
<array>
|
||||
<string>arm64</string>
|
||||
<string>x86_64</string>
|
||||
</array>
|
||||
<key>SupportedPlatform</key>
|
||||
<string>ios</string>
|
||||
<key>SupportedPlatformVariant</key>
|
||||
<string>simulator</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>BinaryPath</key>
|
||||
<string>FirebaseSessions.framework/FirebaseSessions</string>
|
||||
<key>LibraryIdentifier</key>
|
||||
<string>watchos-arm64_arm64_32</string>
|
||||
<key>LibraryPath</key>
|
||||
<string>FirebaseSessions.framework</string>
|
||||
<key>SupportedArchitectures</key>
|
||||
<array>
|
||||
<string>arm64</string>
|
||||
<string>arm64_32</string>
|
||||
</array>
|
||||
<key>SupportedPlatform</key>
|
||||
<string>watchos</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>BinaryPath</key>
|
||||
<string>FirebaseSessions.framework/FirebaseSessions</string>
|
||||
<key>LibraryIdentifier</key>
|
||||
<string>ios-arm64</string>
|
||||
<key>LibraryPath</key>
|
||||
<string>FirebaseSessions.framework</string>
|
||||
<key>SupportedArchitectures</key>
|
||||
<array>
|
||||
<string>arm64</string>
|
||||
</array>
|
||||
<key>SupportedPlatform</key>
|
||||
<string>ios</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>BinaryPath</key>
|
||||
<string>FirebaseSessions.framework/FirebaseSessions</string>
|
||||
<key>LibraryIdentifier</key>
|
||||
<string>watchos-arm64_x86_64-simulator</string>
|
||||
<key>LibraryPath</key>
|
||||
<string>FirebaseSessions.framework</string>
|
||||
<key>SupportedArchitectures</key>
|
||||
<array>
|
||||
<string>arm64</string>
|
||||
<string>x86_64</string>
|
||||
</array>
|
||||
<key>SupportedPlatform</key>
|
||||
<string>watchos</string>
|
||||
<key>SupportedPlatformVariant</key>
|
||||
<string>simulator</string>
|
||||
</dict>
|
||||
</array>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>XFWK</string>
|
||||
<key>XCFrameworkFormatVersion</key>
|
||||
<string>1.0</string>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 224f4db8250854efe9a49c0030c4c834
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5c726786ebdd64d7fbb6c9c99db2424a
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,68 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 074cf9a5975ed474e9219affa20a305d
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 1
|
||||
isExplicitlyReferenced: 0
|
||||
validateReferences: 1
|
||||
platformData:
|
||||
- first:
|
||||
: Any
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
Exclude Android: 1
|
||||
Exclude Editor: 1
|
||||
Exclude Linux64: 1
|
||||
Exclude OSXUniversal: 1
|
||||
Exclude Win: 1
|
||||
Exclude Win64: 1
|
||||
Exclude iOS: 0
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
- first:
|
||||
Standalone: Linux64
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: None
|
||||
- first:
|
||||
Standalone: OSXUniversal
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: None
|
||||
- first:
|
||||
Standalone: Win
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: None
|
||||
- first:
|
||||
Standalone: Win64
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: None
|
||||
- first:
|
||||
iPhone: iOS
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cfdd22fde37d646dabba147475af7e8e
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 96dc1e303a9724530b463f11bce25a68
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,99 @@
|
||||
//
|
||||
// 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 <Foundation/Foundation.h>
|
||||
|
||||
#import <TargetConditionals.h>
|
||||
#if __has_include("CoreTelephony/CTTelephonyNetworkInfo.h") && !TARGET_OS_MACCATALYST && \
|
||||
!TARGET_OS_OSX && !TARGET_OS_TV
|
||||
#define TARGET_HAS_MOBILE_CONNECTIVITY
|
||||
#import <CoreTelephony/CTCarrier.h>
|
||||
#import <CoreTelephony/CTTelephonyNetworkInfo.h>
|
||||
#endif
|
||||
|
||||
#import <nanopb/pb.h>
|
||||
#import <nanopb/pb_decode.h>
|
||||
#import <nanopb/pb_encode.h>
|
||||
|
||||
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);
|
||||
|
||||
/// C function to bridge from Swift to do nanopb bytes transfer.
|
||||
NSData* FIRSESTransportBytes(const void* _Nonnull proto);
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
||||
#endif /* FIRSESNanoPBHelpers_h */
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4c844c47c326745f0a91638cb5d4c64a
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,357 @@
|
||||
#if 0
|
||||
#elif defined(__arm64__) && __arm64__
|
||||
// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
|
||||
#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(<swift/objc-prologue.h>)
|
||||
# include <swift/objc-prologue.h>
|
||||
#endif
|
||||
|
||||
#pragma clang diagnostic ignored "-Wauto-import"
|
||||
#if defined(__OBJC__)
|
||||
#include <Foundation/Foundation.h>
|
||||
#endif
|
||||
#if defined(__cplusplus)
|
||||
#include <cstdint>
|
||||
#include <cstddef>
|
||||
#include <cstdbool>
|
||||
#include <cstring>
|
||||
#include <stdlib.h>
|
||||
#include <new>
|
||||
#include <type_traits>
|
||||
#else
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#endif
|
||||
#if defined(__cplusplus)
|
||||
#if defined(__arm64e__) && __has_include(<ptrauth.h>)
|
||||
# include <ptrauth.h>
|
||||
#else
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wreserved-macro-identifier"
|
||||
# ifndef __ptrauth_swift_value_witness_function_pointer
|
||||
# define __ptrauth_swift_value_witness_function_pointer(x)
|
||||
# endif
|
||||
# ifndef __ptrauth_swift_class_method_pointer
|
||||
# define __ptrauth_swift_class_method_pointer(x)
|
||||
# endif
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if !defined(SWIFT_TYPEDEFS)
|
||||
# define SWIFT_TYPEDEFS 1
|
||||
# if __has_include(<uchar.h>)
|
||||
# include <uchar.h>
|
||||
# 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 !defined(SWIFT_RUNTIME_NAME)
|
||||
# if __has_attribute(objc_runtime_name)
|
||||
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
|
||||
# else
|
||||
# define SWIFT_RUNTIME_NAME(X)
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_COMPILE_NAME)
|
||||
# if __has_attribute(swift_name)
|
||||
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
|
||||
# else
|
||||
# define SWIFT_COMPILE_NAME(X)
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_METHOD_FAMILY)
|
||||
# if __has_attribute(objc_method_family)
|
||||
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
|
||||
# else
|
||||
# define SWIFT_METHOD_FAMILY(X)
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_NOESCAPE)
|
||||
# if __has_attribute(noescape)
|
||||
# define SWIFT_NOESCAPE __attribute__((noescape))
|
||||
# else
|
||||
# define SWIFT_NOESCAPE
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_RELEASES_ARGUMENT)
|
||||
# if __has_attribute(ns_consumed)
|
||||
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
|
||||
# else
|
||||
# define SWIFT_RELEASES_ARGUMENT
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_WARN_UNUSED_RESULT)
|
||||
# if __has_attribute(warn_unused_result)
|
||||
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
||||
# else
|
||||
# define SWIFT_WARN_UNUSED_RESULT
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_NORETURN)
|
||||
# if __has_attribute(noreturn)
|
||||
# define SWIFT_NORETURN __attribute__((noreturn))
|
||||
# else
|
||||
# define SWIFT_NORETURN
|
||||
# endif
|
||||
#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 __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 !defined(SWIFT_DEPRECATED_OBJC)
|
||||
# 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
|
||||
#endif
|
||||
#if defined(__OBJC__)
|
||||
#if !defined(IBSegueAction)
|
||||
# define IBSegueAction
|
||||
#endif
|
||||
#endif
|
||||
#if !defined(SWIFT_EXTERN)
|
||||
# if defined(__cplusplus)
|
||||
# define SWIFT_EXTERN extern "C"
|
||||
# else
|
||||
# define SWIFT_EXTERN extern
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_CALL)
|
||||
# define SWIFT_CALL __attribute__((swiftcall))
|
||||
#endif
|
||||
#if !defined(SWIFT_INDIRECT_RESULT)
|
||||
# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
|
||||
#endif
|
||||
#if !defined(SWIFT_CONTEXT)
|
||||
# define SWIFT_CONTEXT __attribute__((swift_context))
|
||||
#endif
|
||||
#if !defined(SWIFT_ERROR_RESULT)
|
||||
# define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
|
||||
#endif
|
||||
#if defined(__cplusplus)
|
||||
# define SWIFT_NOEXCEPT noexcept
|
||||
#else
|
||||
# define SWIFT_NOEXCEPT
|
||||
#endif
|
||||
#if !defined(SWIFT_C_INLINE_THUNK)
|
||||
# if __has_attribute(always_inline)
|
||||
# if __has_attribute(nodebug)
|
||||
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
|
||||
# else
|
||||
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
|
||||
# endif
|
||||
# else
|
||||
# define SWIFT_C_INLINE_THUNK inline
|
||||
# endif
|
||||
#endif
|
||||
#if defined(_WIN32)
|
||||
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
||||
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
|
||||
#endif
|
||||
#else
|
||||
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
||||
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
||||
#endif
|
||||
#endif
|
||||
#if defined(__OBJC__)
|
||||
#if __has_feature(objc_modules)
|
||||
#if __has_warning("-Watimport-in-framework-header")
|
||||
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
||||
#endif
|
||||
@import ObjectiveC;
|
||||
#endif
|
||||
|
||||
#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"
|
||||
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
||||
|
||||
#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
|
||||
|
||||
#if defined(__OBJC__)
|
||||
|
||||
|
||||
@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 <FIRSessionsSubscriber> _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,
|
||||
};
|
||||
|
||||
#endif
|
||||
#if __has_attribute(external_source_symbol)
|
||||
# pragma clang attribute pop
|
||||
#endif
|
||||
#if defined(__cplusplus)
|
||||
#endif
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
#else
|
||||
#error unsupported Swift architecture
|
||||
#endif
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b240cc5d01df8468da3eca1e9c50ac89
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,18 @@
|
||||
#ifdef __OBJC__
|
||||
#import <UIKit/UIKit.h>
|
||||
#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[];
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 49ce7b7c2d04b49d0bdc335791dcaaa7
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,270 @@
|
||||
/*
|
||||
* 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 <nanopb/pb.h>
|
||||
|
||||
/* @@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;
|
||||
pb_bytes_array_t *firebase_authentication_token;
|
||||
/* @@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_SessionInfo_firebase_authentication_token_tag 9
|
||||
#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[8];
|
||||
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
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dbeb3d22a101a47bc94ffae25c87b635
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,57 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>BuildMachineOSBuild</key>
|
||||
<string>23F79</string>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>FirebaseSessions</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>org.cocoapods.FirebaseSessions</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>FirebaseSessions</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>FMWK</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>10.28.0</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleSupportedPlatforms</key>
|
||||
<array>
|
||||
<string>iPhoneOS</string>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
<key>DTCompiler</key>
|
||||
<string>com.apple.compilers.llvm.clang.1_0</string>
|
||||
<key>DTPlatformBuild</key>
|
||||
<string>21C52</string>
|
||||
<key>DTPlatformName</key>
|
||||
<string>iphoneos</string>
|
||||
<key>DTPlatformVersion</key>
|
||||
<string>17.2</string>
|
||||
<key>DTSDKBuild</key>
|
||||
<string>21C52</string>
|
||||
<key>DTSDKName</key>
|
||||
<string>iphoneos17.2</string>
|
||||
<key>DTXcode</key>
|
||||
<string>1520</string>
|
||||
<key>DTXcodeBuild</key>
|
||||
<string>15C500b</string>
|
||||
<key>MinimumOSVersion</key>
|
||||
<string>100.0</string>
|
||||
<key>UIDeviceFamily</key>
|
||||
<array>
|
||||
<integer>1</integer>
|
||||
<integer>2</integer>
|
||||
</array>
|
||||
<key>UIRequiredDeviceCapabilities</key>
|
||||
<array>
|
||||
<string>arm64</string>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f54f85baac2a34f5690e5e52fdcd6e6e
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 37876cb6d4ee8462f886e2536d8d4ae2
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 34a79992e1cf44110ba4b2e077dae4cc
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 667344ad7c40440209292a70c539af0a
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 93eaaf661f7c046388922759261fa4e0
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2cdf96e00f2fd4275b194dca7222017c
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,75 @@
|
||||
// swift-interface-format-version: 1.0
|
||||
// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
|
||||
// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseSessions
|
||||
// swift-module-flags-ignorable: -enable-bare-slash-regex
|
||||
@_exported import FirebaseSessions
|
||||
import Foundation
|
||||
import Swift
|
||||
import UIKit
|
||||
import _Concurrency
|
||||
import _StringProcessing
|
||||
import _SwiftConcurrencyShims
|
||||
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_s {
|
||||
public var description: Swift.String {
|
||||
get
|
||||
}
|
||||
}
|
||||
extension Swift.Optional : Swift.CustomStringConvertible where Wrapped == Swift.UnsafeMutablePointer<nanopb.pb_bytes_array_s> {
|
||||
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: any 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 {}
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: af10436e3dd1743d3a882536d0537188
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d375e71d7331d4e098315750edc0c34d
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,75 @@
|
||||
// swift-interface-format-version: 1.0
|
||||
// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
|
||||
// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FirebaseSessions
|
||||
// swift-module-flags-ignorable: -enable-bare-slash-regex
|
||||
@_exported import FirebaseSessions
|
||||
import Foundation
|
||||
import Swift
|
||||
import UIKit
|
||||
import _Concurrency
|
||||
import _StringProcessing
|
||||
import _SwiftConcurrencyShims
|
||||
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_s {
|
||||
public var description: Swift.String {
|
||||
get
|
||||
}
|
||||
}
|
||||
extension Swift.Optional : Swift.CustomStringConvertible where Wrapped == Swift.UnsafeMutablePointer<nanopb.pb_bytes_array_s> {
|
||||
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: any 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 {}
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6210d0fc742424341b34f69ced9228be
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,15 @@
|
||||
framework module FirebaseSessions {
|
||||
umbrella header "FirebaseSessions-umbrella.h"
|
||||
export *
|
||||
module * { export * }
|
||||
link framework "CoreTelephony"
|
||||
link framework "Foundation"
|
||||
link framework "Security"
|
||||
link framework "SystemConfiguration"
|
||||
link framework "UIKit"
|
||||
link "z"
|
||||
}
|
||||
module FirebaseSessions.Swift {
|
||||
header "FirebaseSessions-Swift.h"
|
||||
requires objc
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 147d9e52d3dde4847b0d23039c94b79b
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5fc469a77163a4b86bfa8d7e6f8b5705
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,68 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 987a0f8d1092a4f5f86fc93ccb70d679
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 1
|
||||
isExplicitlyReferenced: 0
|
||||
validateReferences: 1
|
||||
platformData:
|
||||
- first:
|
||||
: Any
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
Exclude Android: 1
|
||||
Exclude Editor: 1
|
||||
Exclude Linux64: 1
|
||||
Exclude OSXUniversal: 1
|
||||
Exclude Win: 1
|
||||
Exclude Win64: 1
|
||||
Exclude iOS: 1
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
- first:
|
||||
Standalone: Linux64
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: None
|
||||
- first:
|
||||
Standalone: OSXUniversal
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: None
|
||||
- first:
|
||||
Standalone: Win
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: None
|
||||
- first:
|
||||
Standalone: Win64
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: None
|
||||
- first:
|
||||
iPhone: iOS
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1 @@
|
||||
Versions/Current/FirebaseSessions
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2bc3b497006ba43a390e9bd2c0c6b719
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1 @@
|
||||
Versions/Current/Headers
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dd1c60ef04b584e4e8047d4a0e545d87
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1 @@
|
||||
Versions/Current/Modules
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0d6f0366428864989bbcda818bb3fa99
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1 @@
|
||||
Versions/Current/Resources
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b29e1ff528b3742348d282244f0d789a
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b0d52e48df9fc453e9b14b4d220f531e
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5fc5918996f234795a96b407515af68f
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0e3437f8a3f054654bb8d55fc7388c9c
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1eb44c5e237954a8497a67d9a159c119
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,99 @@
|
||||
//
|
||||
// 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 <Foundation/Foundation.h>
|
||||
|
||||
#import <TargetConditionals.h>
|
||||
#if __has_include("CoreTelephony/CTTelephonyNetworkInfo.h") && !TARGET_OS_MACCATALYST && \
|
||||
!TARGET_OS_OSX && !TARGET_OS_TV
|
||||
#define TARGET_HAS_MOBILE_CONNECTIVITY
|
||||
#import <CoreTelephony/CTCarrier.h>
|
||||
#import <CoreTelephony/CTTelephonyNetworkInfo.h>
|
||||
#endif
|
||||
|
||||
#import <nanopb/pb.h>
|
||||
#import <nanopb/pb_decode.h>
|
||||
#import <nanopb/pb_encode.h>
|
||||
|
||||
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);
|
||||
|
||||
/// C function to bridge from Swift to do nanopb bytes transfer.
|
||||
NSData* FIRSESTransportBytes(const void* _Nonnull proto);
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
||||
#endif /* FIRSESNanoPBHelpers_h */
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cecb65ac1bda6419c8dfd6202048e210
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,710 @@
|
||||
#if 0
|
||||
#elif defined(__arm64__) && __arm64__
|
||||
// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
|
||||
#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(<swift/objc-prologue.h>)
|
||||
# include <swift/objc-prologue.h>
|
||||
#endif
|
||||
|
||||
#pragma clang diagnostic ignored "-Wauto-import"
|
||||
#if defined(__OBJC__)
|
||||
#include <Foundation/Foundation.h>
|
||||
#endif
|
||||
#if defined(__cplusplus)
|
||||
#include <cstdint>
|
||||
#include <cstddef>
|
||||
#include <cstdbool>
|
||||
#include <cstring>
|
||||
#include <stdlib.h>
|
||||
#include <new>
|
||||
#include <type_traits>
|
||||
#else
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#endif
|
||||
#if defined(__cplusplus)
|
||||
#if defined(__arm64e__) && __has_include(<ptrauth.h>)
|
||||
# include <ptrauth.h>
|
||||
#else
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wreserved-macro-identifier"
|
||||
# ifndef __ptrauth_swift_value_witness_function_pointer
|
||||
# define __ptrauth_swift_value_witness_function_pointer(x)
|
||||
# endif
|
||||
# ifndef __ptrauth_swift_class_method_pointer
|
||||
# define __ptrauth_swift_class_method_pointer(x)
|
||||
# endif
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if !defined(SWIFT_TYPEDEFS)
|
||||
# define SWIFT_TYPEDEFS 1
|
||||
# if __has_include(<uchar.h>)
|
||||
# include <uchar.h>
|
||||
# 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 !defined(SWIFT_RUNTIME_NAME)
|
||||
# if __has_attribute(objc_runtime_name)
|
||||
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
|
||||
# else
|
||||
# define SWIFT_RUNTIME_NAME(X)
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_COMPILE_NAME)
|
||||
# if __has_attribute(swift_name)
|
||||
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
|
||||
# else
|
||||
# define SWIFT_COMPILE_NAME(X)
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_METHOD_FAMILY)
|
||||
# if __has_attribute(objc_method_family)
|
||||
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
|
||||
# else
|
||||
# define SWIFT_METHOD_FAMILY(X)
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_NOESCAPE)
|
||||
# if __has_attribute(noescape)
|
||||
# define SWIFT_NOESCAPE __attribute__((noescape))
|
||||
# else
|
||||
# define SWIFT_NOESCAPE
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_RELEASES_ARGUMENT)
|
||||
# if __has_attribute(ns_consumed)
|
||||
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
|
||||
# else
|
||||
# define SWIFT_RELEASES_ARGUMENT
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_WARN_UNUSED_RESULT)
|
||||
# if __has_attribute(warn_unused_result)
|
||||
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
||||
# else
|
||||
# define SWIFT_WARN_UNUSED_RESULT
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_NORETURN)
|
||||
# if __has_attribute(noreturn)
|
||||
# define SWIFT_NORETURN __attribute__((noreturn))
|
||||
# else
|
||||
# define SWIFT_NORETURN
|
||||
# endif
|
||||
#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 __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 !defined(SWIFT_DEPRECATED_OBJC)
|
||||
# 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
|
||||
#endif
|
||||
#if defined(__OBJC__)
|
||||
#if !defined(IBSegueAction)
|
||||
# define IBSegueAction
|
||||
#endif
|
||||
#endif
|
||||
#if !defined(SWIFT_EXTERN)
|
||||
# if defined(__cplusplus)
|
||||
# define SWIFT_EXTERN extern "C"
|
||||
# else
|
||||
# define SWIFT_EXTERN extern
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_CALL)
|
||||
# define SWIFT_CALL __attribute__((swiftcall))
|
||||
#endif
|
||||
#if !defined(SWIFT_INDIRECT_RESULT)
|
||||
# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
|
||||
#endif
|
||||
#if !defined(SWIFT_CONTEXT)
|
||||
# define SWIFT_CONTEXT __attribute__((swift_context))
|
||||
#endif
|
||||
#if !defined(SWIFT_ERROR_RESULT)
|
||||
# define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
|
||||
#endif
|
||||
#if defined(__cplusplus)
|
||||
# define SWIFT_NOEXCEPT noexcept
|
||||
#else
|
||||
# define SWIFT_NOEXCEPT
|
||||
#endif
|
||||
#if !defined(SWIFT_C_INLINE_THUNK)
|
||||
# if __has_attribute(always_inline)
|
||||
# if __has_attribute(nodebug)
|
||||
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
|
||||
# else
|
||||
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
|
||||
# endif
|
||||
# else
|
||||
# define SWIFT_C_INLINE_THUNK inline
|
||||
# endif
|
||||
#endif
|
||||
#if defined(_WIN32)
|
||||
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
||||
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
|
||||
#endif
|
||||
#else
|
||||
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
||||
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
||||
#endif
|
||||
#endif
|
||||
#if defined(__OBJC__)
|
||||
#if __has_feature(objc_modules)
|
||||
#if __has_warning("-Watimport-in-framework-header")
|
||||
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
||||
#endif
|
||||
@import ObjectiveC;
|
||||
#endif
|
||||
|
||||
#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"
|
||||
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
||||
|
||||
#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
|
||||
|
||||
#if defined(__OBJC__)
|
||||
|
||||
|
||||
@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 <FIRSessionsSubscriber> _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,
|
||||
};
|
||||
|
||||
#endif
|
||||
#if __has_attribute(external_source_symbol)
|
||||
# pragma clang attribute pop
|
||||
#endif
|
||||
#if defined(__cplusplus)
|
||||
#endif
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
#elif defined(__x86_64__) && __x86_64__
|
||||
// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
|
||||
#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(<swift/objc-prologue.h>)
|
||||
# include <swift/objc-prologue.h>
|
||||
#endif
|
||||
|
||||
#pragma clang diagnostic ignored "-Wauto-import"
|
||||
#if defined(__OBJC__)
|
||||
#include <Foundation/Foundation.h>
|
||||
#endif
|
||||
#if defined(__cplusplus)
|
||||
#include <cstdint>
|
||||
#include <cstddef>
|
||||
#include <cstdbool>
|
||||
#include <cstring>
|
||||
#include <stdlib.h>
|
||||
#include <new>
|
||||
#include <type_traits>
|
||||
#else
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#endif
|
||||
#if defined(__cplusplus)
|
||||
#if defined(__arm64e__) && __has_include(<ptrauth.h>)
|
||||
# include <ptrauth.h>
|
||||
#else
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wreserved-macro-identifier"
|
||||
# ifndef __ptrauth_swift_value_witness_function_pointer
|
||||
# define __ptrauth_swift_value_witness_function_pointer(x)
|
||||
# endif
|
||||
# ifndef __ptrauth_swift_class_method_pointer
|
||||
# define __ptrauth_swift_class_method_pointer(x)
|
||||
# endif
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if !defined(SWIFT_TYPEDEFS)
|
||||
# define SWIFT_TYPEDEFS 1
|
||||
# if __has_include(<uchar.h>)
|
||||
# include <uchar.h>
|
||||
# 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 !defined(SWIFT_RUNTIME_NAME)
|
||||
# if __has_attribute(objc_runtime_name)
|
||||
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
|
||||
# else
|
||||
# define SWIFT_RUNTIME_NAME(X)
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_COMPILE_NAME)
|
||||
# if __has_attribute(swift_name)
|
||||
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
|
||||
# else
|
||||
# define SWIFT_COMPILE_NAME(X)
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_METHOD_FAMILY)
|
||||
# if __has_attribute(objc_method_family)
|
||||
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
|
||||
# else
|
||||
# define SWIFT_METHOD_FAMILY(X)
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_NOESCAPE)
|
||||
# if __has_attribute(noescape)
|
||||
# define SWIFT_NOESCAPE __attribute__((noescape))
|
||||
# else
|
||||
# define SWIFT_NOESCAPE
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_RELEASES_ARGUMENT)
|
||||
# if __has_attribute(ns_consumed)
|
||||
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
|
||||
# else
|
||||
# define SWIFT_RELEASES_ARGUMENT
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_WARN_UNUSED_RESULT)
|
||||
# if __has_attribute(warn_unused_result)
|
||||
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
||||
# else
|
||||
# define SWIFT_WARN_UNUSED_RESULT
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_NORETURN)
|
||||
# if __has_attribute(noreturn)
|
||||
# define SWIFT_NORETURN __attribute__((noreturn))
|
||||
# else
|
||||
# define SWIFT_NORETURN
|
||||
# endif
|
||||
#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 __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 !defined(SWIFT_DEPRECATED_OBJC)
|
||||
# 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
|
||||
#endif
|
||||
#if defined(__OBJC__)
|
||||
#if !defined(IBSegueAction)
|
||||
# define IBSegueAction
|
||||
#endif
|
||||
#endif
|
||||
#if !defined(SWIFT_EXTERN)
|
||||
# if defined(__cplusplus)
|
||||
# define SWIFT_EXTERN extern "C"
|
||||
# else
|
||||
# define SWIFT_EXTERN extern
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_CALL)
|
||||
# define SWIFT_CALL __attribute__((swiftcall))
|
||||
#endif
|
||||
#if !defined(SWIFT_INDIRECT_RESULT)
|
||||
# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
|
||||
#endif
|
||||
#if !defined(SWIFT_CONTEXT)
|
||||
# define SWIFT_CONTEXT __attribute__((swift_context))
|
||||
#endif
|
||||
#if !defined(SWIFT_ERROR_RESULT)
|
||||
# define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
|
||||
#endif
|
||||
#if defined(__cplusplus)
|
||||
# define SWIFT_NOEXCEPT noexcept
|
||||
#else
|
||||
# define SWIFT_NOEXCEPT
|
||||
#endif
|
||||
#if !defined(SWIFT_C_INLINE_THUNK)
|
||||
# if __has_attribute(always_inline)
|
||||
# if __has_attribute(nodebug)
|
||||
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
|
||||
# else
|
||||
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
|
||||
# endif
|
||||
# else
|
||||
# define SWIFT_C_INLINE_THUNK inline
|
||||
# endif
|
||||
#endif
|
||||
#if defined(_WIN32)
|
||||
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
||||
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
|
||||
#endif
|
||||
#else
|
||||
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
||||
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
||||
#endif
|
||||
#endif
|
||||
#if defined(__OBJC__)
|
||||
#if __has_feature(objc_modules)
|
||||
#if __has_warning("-Watimport-in-framework-header")
|
||||
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
||||
#endif
|
||||
@import ObjectiveC;
|
||||
#endif
|
||||
|
||||
#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"
|
||||
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
||||
|
||||
#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
|
||||
|
||||
#if defined(__OBJC__)
|
||||
|
||||
|
||||
@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 <FIRSessionsSubscriber> _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,
|
||||
};
|
||||
|
||||
#endif
|
||||
#if __has_attribute(external_source_symbol)
|
||||
# pragma clang attribute pop
|
||||
#endif
|
||||
#if defined(__cplusplus)
|
||||
#endif
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
#else
|
||||
#error unsupported Swift architecture
|
||||
#endif
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2add715ec1f544b46afb6bc581d3519b
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,18 @@
|
||||
#ifdef __OBJC__
|
||||
#import <UIKit/UIKit.h>
|
||||
#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[];
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 975c5a89ea16e4daba9a0189571b27d3
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,270 @@
|
||||
/*
|
||||
* 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 <nanopb/pb.h>
|
||||
|
||||
/* @@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;
|
||||
pb_bytes_array_t *firebase_authentication_token;
|
||||
/* @@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_SessionInfo_firebase_authentication_token_tag 9
|
||||
#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[8];
|
||||
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
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c894edf67fd8540b49ec83136ed973ad
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 62429275fbfa24f4f859f5fc97462f9a
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 118df0569ca0e47a490621430344c42b
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: eb62d954e7b2d4385903713f35d2ad20
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7fb1dddf2c78e4c0285c9beeae416d2f
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 06892dbad5c014fe0b2c81a5d95d5780
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a2cc2a7776fac4b59894ac8eee4983e9
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,75 @@
|
||||
// swift-interface-format-version: 1.0
|
||||
// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
|
||||
// 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
|
||||
// swift-module-flags-ignorable: -enable-bare-slash-regex
|
||||
@_exported import FirebaseSessions
|
||||
import Foundation
|
||||
import Swift
|
||||
import UIKit
|
||||
import _Concurrency
|
||||
import _StringProcessing
|
||||
import _SwiftConcurrencyShims
|
||||
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_s {
|
||||
public var description: Swift.String {
|
||||
get
|
||||
}
|
||||
}
|
||||
extension Swift.Optional : Swift.CustomStringConvertible where Wrapped == Swift.UnsafeMutablePointer<nanopb.pb_bytes_array_s> {
|
||||
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: any 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 {}
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c125ae1e853db4d60a639f93d87b5445
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4d4c4b21a97524bfdaed4c89b7b7bbcb
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,75 @@
|
||||
// swift-interface-format-version: 1.0
|
||||
// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
|
||||
// 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
|
||||
// swift-module-flags-ignorable: -enable-bare-slash-regex
|
||||
@_exported import FirebaseSessions
|
||||
import Foundation
|
||||
import Swift
|
||||
import UIKit
|
||||
import _Concurrency
|
||||
import _StringProcessing
|
||||
import _SwiftConcurrencyShims
|
||||
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_s {
|
||||
public var description: Swift.String {
|
||||
get
|
||||
}
|
||||
}
|
||||
extension Swift.Optional : Swift.CustomStringConvertible where Wrapped == Swift.UnsafeMutablePointer<nanopb.pb_bytes_array_s> {
|
||||
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: any 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 {}
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a9dbc26de938a427595f3175c55ca383
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 19cff7d53aeef4781b3c754b89fdcb1f
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,75 @@
|
||||
// swift-interface-format-version: 1.0
|
||||
// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
|
||||
// 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
|
||||
// swift-module-flags-ignorable: -enable-bare-slash-regex
|
||||
@_exported import FirebaseSessions
|
||||
import Foundation
|
||||
import Swift
|
||||
import UIKit
|
||||
import _Concurrency
|
||||
import _StringProcessing
|
||||
import _SwiftConcurrencyShims
|
||||
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_s {
|
||||
public var description: Swift.String {
|
||||
get
|
||||
}
|
||||
}
|
||||
extension Swift.Optional : Swift.CustomStringConvertible where Wrapped == Swift.UnsafeMutablePointer<nanopb.pb_bytes_array_s> {
|
||||
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: any 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 {}
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3826d3e70eac2451eaa0efeb2cd7c3ff
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c6b08cf3e441d46dd9d46f605bcf7376
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,75 @@
|
||||
// swift-interface-format-version: 1.0
|
||||
// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
|
||||
// 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
|
||||
// swift-module-flags-ignorable: -enable-bare-slash-regex
|
||||
@_exported import FirebaseSessions
|
||||
import Foundation
|
||||
import Swift
|
||||
import UIKit
|
||||
import _Concurrency
|
||||
import _StringProcessing
|
||||
import _SwiftConcurrencyShims
|
||||
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_s {
|
||||
public var description: Swift.String {
|
||||
get
|
||||
}
|
||||
}
|
||||
extension Swift.Optional : Swift.CustomStringConvertible where Wrapped == Swift.UnsafeMutablePointer<nanopb.pb_bytes_array_s> {
|
||||
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: any 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 {}
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1f24627a1d2744165a6493c077aa09f9
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,15 @@
|
||||
framework module FirebaseSessions {
|
||||
umbrella header "FirebaseSessions-umbrella.h"
|
||||
export *
|
||||
module * { export * }
|
||||
link framework "CoreTelephony"
|
||||
link framework "Foundation"
|
||||
link framework "Security"
|
||||
link framework "SystemConfiguration"
|
||||
link framework "UIKit"
|
||||
link "z"
|
||||
}
|
||||
module FirebaseSessions.Swift {
|
||||
header "FirebaseSessions-Swift.h"
|
||||
requires objc
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9f68396201b2b4a789c92e2442c21c03
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 308b6457c36f045ebbc6e6b6a447fb57
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>BuildMachineOSBuild</key>
|
||||
<string>23F79</string>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>FirebaseSessions</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>org.cocoapods.FirebaseSessions</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>FirebaseSessions</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>FMWK</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>10.28.0</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleSupportedPlatforms</key>
|
||||
<array>
|
||||
<string>MacOSX</string>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
<key>DTCompiler</key>
|
||||
<string>com.apple.compilers.llvm.clang.1_0</string>
|
||||
<key>DTPlatformBuild</key>
|
||||
<string></string>
|
||||
<key>DTPlatformName</key>
|
||||
<string>macosx</string>
|
||||
<key>DTPlatformVersion</key>
|
||||
<string>14.2</string>
|
||||
<key>DTSDKBuild</key>
|
||||
<string>23C53</string>
|
||||
<key>DTSDKName</key>
|
||||
<string>macosx14.2</string>
|
||||
<key>DTXcode</key>
|
||||
<string>1520</string>
|
||||
<key>DTXcodeBuild</key>
|
||||
<string>15C500b</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>10.15</string>
|
||||
<key>MinimumOSVersion</key>
|
||||
<string>100.0</string>
|
||||
<key>UIDeviceFamily</key>
|
||||
<array>
|
||||
<integer>2</integer>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bda5ace2d6f1c49e4bc5fe34f0b4fa5f
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1 @@
|
||||
A
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 52427b37ed9d5483aa5ea2c6cdcca5d1
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d96eff82520da4138b31afbdb18c500f
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,81 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5ec0ea389287845f2969e1ac61e719aa
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 1
|
||||
isExplicitlyReferenced: 0
|
||||
validateReferences: 1
|
||||
platformData:
|
||||
- first:
|
||||
: Any
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
Exclude Android: 1
|
||||
Exclude Editor: 0
|
||||
Exclude Linux64: 0
|
||||
Exclude OSXUniversal: 0
|
||||
Exclude Win: 0
|
||||
Exclude Win64: 0
|
||||
Exclude iOS: 1
|
||||
- first:
|
||||
Android: Android
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
AndroidSharedLibraryType: Executable
|
||||
CPU: ARMv7
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
DefaultValueInitialized: true
|
||||
OS: AnyOS
|
||||
- first:
|
||||
Standalone: Linux64
|
||||
second:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
- first:
|
||||
Standalone: OSXUniversal
|
||||
second:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
- first:
|
||||
Standalone: Win
|
||||
second:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
- first:
|
||||
Standalone: Win64
|
||||
second:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
- first:
|
||||
iPhone: iOS
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
AddToEmbeddedBinaries: false
|
||||
CPU: AnyCPU
|
||||
CompileFlags:
|
||||
FrameworkDependencies:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c9ad378bfe8344d088e8d6bb138f55fb
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c75a33fec7fe44324b25c9b68f6db4b6
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,99 @@
|
||||
//
|
||||
// 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 <Foundation/Foundation.h>
|
||||
|
||||
#import <TargetConditionals.h>
|
||||
#if __has_include("CoreTelephony/CTTelephonyNetworkInfo.h") && !TARGET_OS_MACCATALYST && \
|
||||
!TARGET_OS_OSX && !TARGET_OS_TV
|
||||
#define TARGET_HAS_MOBILE_CONNECTIVITY
|
||||
#import <CoreTelephony/CTCarrier.h>
|
||||
#import <CoreTelephony/CTTelephonyNetworkInfo.h>
|
||||
#endif
|
||||
|
||||
#import <nanopb/pb.h>
|
||||
#import <nanopb/pb_decode.h>
|
||||
#import <nanopb/pb_encode.h>
|
||||
|
||||
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);
|
||||
|
||||
/// C function to bridge from Swift to do nanopb bytes transfer.
|
||||
NSData* FIRSESTransportBytes(const void* _Nonnull proto);
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
||||
#endif /* FIRSESNanoPBHelpers_h */
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8571c792217614a1f80aaf0e13fd3d82
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,710 @@
|
||||
#if 0
|
||||
#elif defined(__arm64__) && __arm64__
|
||||
// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
|
||||
#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(<swift/objc-prologue.h>)
|
||||
# include <swift/objc-prologue.h>
|
||||
#endif
|
||||
|
||||
#pragma clang diagnostic ignored "-Wauto-import"
|
||||
#if defined(__OBJC__)
|
||||
#include <Foundation/Foundation.h>
|
||||
#endif
|
||||
#if defined(__cplusplus)
|
||||
#include <cstdint>
|
||||
#include <cstddef>
|
||||
#include <cstdbool>
|
||||
#include <cstring>
|
||||
#include <stdlib.h>
|
||||
#include <new>
|
||||
#include <type_traits>
|
||||
#else
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#endif
|
||||
#if defined(__cplusplus)
|
||||
#if defined(__arm64e__) && __has_include(<ptrauth.h>)
|
||||
# include <ptrauth.h>
|
||||
#else
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wreserved-macro-identifier"
|
||||
# ifndef __ptrauth_swift_value_witness_function_pointer
|
||||
# define __ptrauth_swift_value_witness_function_pointer(x)
|
||||
# endif
|
||||
# ifndef __ptrauth_swift_class_method_pointer
|
||||
# define __ptrauth_swift_class_method_pointer(x)
|
||||
# endif
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if !defined(SWIFT_TYPEDEFS)
|
||||
# define SWIFT_TYPEDEFS 1
|
||||
# if __has_include(<uchar.h>)
|
||||
# include <uchar.h>
|
||||
# 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 !defined(SWIFT_RUNTIME_NAME)
|
||||
# if __has_attribute(objc_runtime_name)
|
||||
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
|
||||
# else
|
||||
# define SWIFT_RUNTIME_NAME(X)
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_COMPILE_NAME)
|
||||
# if __has_attribute(swift_name)
|
||||
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
|
||||
# else
|
||||
# define SWIFT_COMPILE_NAME(X)
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_METHOD_FAMILY)
|
||||
# if __has_attribute(objc_method_family)
|
||||
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
|
||||
# else
|
||||
# define SWIFT_METHOD_FAMILY(X)
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_NOESCAPE)
|
||||
# if __has_attribute(noescape)
|
||||
# define SWIFT_NOESCAPE __attribute__((noescape))
|
||||
# else
|
||||
# define SWIFT_NOESCAPE
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_RELEASES_ARGUMENT)
|
||||
# if __has_attribute(ns_consumed)
|
||||
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
|
||||
# else
|
||||
# define SWIFT_RELEASES_ARGUMENT
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_WARN_UNUSED_RESULT)
|
||||
# if __has_attribute(warn_unused_result)
|
||||
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
||||
# else
|
||||
# define SWIFT_WARN_UNUSED_RESULT
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_NORETURN)
|
||||
# if __has_attribute(noreturn)
|
||||
# define SWIFT_NORETURN __attribute__((noreturn))
|
||||
# else
|
||||
# define SWIFT_NORETURN
|
||||
# endif
|
||||
#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 __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 !defined(SWIFT_DEPRECATED_OBJC)
|
||||
# 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
|
||||
#endif
|
||||
#if defined(__OBJC__)
|
||||
#if !defined(IBSegueAction)
|
||||
# define IBSegueAction
|
||||
#endif
|
||||
#endif
|
||||
#if !defined(SWIFT_EXTERN)
|
||||
# if defined(__cplusplus)
|
||||
# define SWIFT_EXTERN extern "C"
|
||||
# else
|
||||
# define SWIFT_EXTERN extern
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_CALL)
|
||||
# define SWIFT_CALL __attribute__((swiftcall))
|
||||
#endif
|
||||
#if !defined(SWIFT_INDIRECT_RESULT)
|
||||
# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
|
||||
#endif
|
||||
#if !defined(SWIFT_CONTEXT)
|
||||
# define SWIFT_CONTEXT __attribute__((swift_context))
|
||||
#endif
|
||||
#if !defined(SWIFT_ERROR_RESULT)
|
||||
# define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
|
||||
#endif
|
||||
#if defined(__cplusplus)
|
||||
# define SWIFT_NOEXCEPT noexcept
|
||||
#else
|
||||
# define SWIFT_NOEXCEPT
|
||||
#endif
|
||||
#if !defined(SWIFT_C_INLINE_THUNK)
|
||||
# if __has_attribute(always_inline)
|
||||
# if __has_attribute(nodebug)
|
||||
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
|
||||
# else
|
||||
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
|
||||
# endif
|
||||
# else
|
||||
# define SWIFT_C_INLINE_THUNK inline
|
||||
# endif
|
||||
#endif
|
||||
#if defined(_WIN32)
|
||||
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
||||
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
|
||||
#endif
|
||||
#else
|
||||
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
||||
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
||||
#endif
|
||||
#endif
|
||||
#if defined(__OBJC__)
|
||||
#if __has_feature(objc_modules)
|
||||
#if __has_warning("-Watimport-in-framework-header")
|
||||
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
||||
#endif
|
||||
@import ObjectiveC;
|
||||
#endif
|
||||
|
||||
#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"
|
||||
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
||||
|
||||
#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
|
||||
|
||||
#if defined(__OBJC__)
|
||||
|
||||
|
||||
@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 <FIRSessionsSubscriber> _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,
|
||||
};
|
||||
|
||||
#endif
|
||||
#if __has_attribute(external_source_symbol)
|
||||
# pragma clang attribute pop
|
||||
#endif
|
||||
#if defined(__cplusplus)
|
||||
#endif
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
#elif defined(__x86_64__) && __x86_64__
|
||||
// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
|
||||
#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(<swift/objc-prologue.h>)
|
||||
# include <swift/objc-prologue.h>
|
||||
#endif
|
||||
|
||||
#pragma clang diagnostic ignored "-Wauto-import"
|
||||
#if defined(__OBJC__)
|
||||
#include <Foundation/Foundation.h>
|
||||
#endif
|
||||
#if defined(__cplusplus)
|
||||
#include <cstdint>
|
||||
#include <cstddef>
|
||||
#include <cstdbool>
|
||||
#include <cstring>
|
||||
#include <stdlib.h>
|
||||
#include <new>
|
||||
#include <type_traits>
|
||||
#else
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#endif
|
||||
#if defined(__cplusplus)
|
||||
#if defined(__arm64e__) && __has_include(<ptrauth.h>)
|
||||
# include <ptrauth.h>
|
||||
#else
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wreserved-macro-identifier"
|
||||
# ifndef __ptrauth_swift_value_witness_function_pointer
|
||||
# define __ptrauth_swift_value_witness_function_pointer(x)
|
||||
# endif
|
||||
# ifndef __ptrauth_swift_class_method_pointer
|
||||
# define __ptrauth_swift_class_method_pointer(x)
|
||||
# endif
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if !defined(SWIFT_TYPEDEFS)
|
||||
# define SWIFT_TYPEDEFS 1
|
||||
# if __has_include(<uchar.h>)
|
||||
# include <uchar.h>
|
||||
# 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 !defined(SWIFT_RUNTIME_NAME)
|
||||
# if __has_attribute(objc_runtime_name)
|
||||
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
|
||||
# else
|
||||
# define SWIFT_RUNTIME_NAME(X)
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_COMPILE_NAME)
|
||||
# if __has_attribute(swift_name)
|
||||
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
|
||||
# else
|
||||
# define SWIFT_COMPILE_NAME(X)
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_METHOD_FAMILY)
|
||||
# if __has_attribute(objc_method_family)
|
||||
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
|
||||
# else
|
||||
# define SWIFT_METHOD_FAMILY(X)
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_NOESCAPE)
|
||||
# if __has_attribute(noescape)
|
||||
# define SWIFT_NOESCAPE __attribute__((noescape))
|
||||
# else
|
||||
# define SWIFT_NOESCAPE
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_RELEASES_ARGUMENT)
|
||||
# if __has_attribute(ns_consumed)
|
||||
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
|
||||
# else
|
||||
# define SWIFT_RELEASES_ARGUMENT
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_WARN_UNUSED_RESULT)
|
||||
# if __has_attribute(warn_unused_result)
|
||||
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
||||
# else
|
||||
# define SWIFT_WARN_UNUSED_RESULT
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_NORETURN)
|
||||
# if __has_attribute(noreturn)
|
||||
# define SWIFT_NORETURN __attribute__((noreturn))
|
||||
# else
|
||||
# define SWIFT_NORETURN
|
||||
# endif
|
||||
#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 __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 !defined(SWIFT_DEPRECATED_OBJC)
|
||||
# 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
|
||||
#endif
|
||||
#if defined(__OBJC__)
|
||||
#if !defined(IBSegueAction)
|
||||
# define IBSegueAction
|
||||
#endif
|
||||
#endif
|
||||
#if !defined(SWIFT_EXTERN)
|
||||
# if defined(__cplusplus)
|
||||
# define SWIFT_EXTERN extern "C"
|
||||
# else
|
||||
# define SWIFT_EXTERN extern
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_CALL)
|
||||
# define SWIFT_CALL __attribute__((swiftcall))
|
||||
#endif
|
||||
#if !defined(SWIFT_INDIRECT_RESULT)
|
||||
# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
|
||||
#endif
|
||||
#if !defined(SWIFT_CONTEXT)
|
||||
# define SWIFT_CONTEXT __attribute__((swift_context))
|
||||
#endif
|
||||
#if !defined(SWIFT_ERROR_RESULT)
|
||||
# define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
|
||||
#endif
|
||||
#if defined(__cplusplus)
|
||||
# define SWIFT_NOEXCEPT noexcept
|
||||
#else
|
||||
# define SWIFT_NOEXCEPT
|
||||
#endif
|
||||
#if !defined(SWIFT_C_INLINE_THUNK)
|
||||
# if __has_attribute(always_inline)
|
||||
# if __has_attribute(nodebug)
|
||||
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
|
||||
# else
|
||||
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
|
||||
# endif
|
||||
# else
|
||||
# define SWIFT_C_INLINE_THUNK inline
|
||||
# endif
|
||||
#endif
|
||||
#if defined(_WIN32)
|
||||
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
||||
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
|
||||
#endif
|
||||
#else
|
||||
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
||||
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
||||
#endif
|
||||
#endif
|
||||
#if defined(__OBJC__)
|
||||
#if __has_feature(objc_modules)
|
||||
#if __has_warning("-Watimport-in-framework-header")
|
||||
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
||||
#endif
|
||||
@import ObjectiveC;
|
||||
#endif
|
||||
|
||||
#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"
|
||||
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
||||
|
||||
#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
|
||||
|
||||
#if defined(__OBJC__)
|
||||
|
||||
|
||||
@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 <FIRSessionsSubscriber> _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,
|
||||
};
|
||||
|
||||
#endif
|
||||
#if __has_attribute(external_source_symbol)
|
||||
# pragma clang attribute pop
|
||||
#endif
|
||||
#if defined(__cplusplus)
|
||||
#endif
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
#else
|
||||
#error unsupported Swift architecture
|
||||
#endif
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3ce7f63f4855540328340bb165322e5c
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,18 @@
|
||||
#ifdef __OBJC__
|
||||
#import <UIKit/UIKit.h>
|
||||
#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[];
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0d92ad4b093d54880813cd65fde67945
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,270 @@
|
||||
/*
|
||||
* 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 <nanopb/pb.h>
|
||||
|
||||
/* @@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;
|
||||
pb_bytes_array_t *firebase_authentication_token;
|
||||
/* @@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_SessionInfo_firebase_authentication_token_tag 9
|
||||
#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[8];
|
||||
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
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 04eea5c92c2634c988dbda9c5cd6060b
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>BuildMachineOSBuild</key>
|
||||
<string>23F79</string>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>FirebaseSessions</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>org.cocoapods.FirebaseSessions</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>FirebaseSessions</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>FMWK</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>10.28.0</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleSupportedPlatforms</key>
|
||||
<array>
|
||||
<string>iPhoneSimulator</string>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
<key>DTCompiler</key>
|
||||
<string>com.apple.compilers.llvm.clang.1_0</string>
|
||||
<key>DTPlatformBuild</key>
|
||||
<string>21C52</string>
|
||||
<key>DTPlatformName</key>
|
||||
<string>iphonesimulator</string>
|
||||
<key>DTPlatformVersion</key>
|
||||
<string>17.2</string>
|
||||
<key>DTSDKBuild</key>
|
||||
<string>21C52</string>
|
||||
<key>DTSDKName</key>
|
||||
<string>iphonesimulator17.2</string>
|
||||
<key>DTXcode</key>
|
||||
<string>1520</string>
|
||||
<key>DTXcodeBuild</key>
|
||||
<string>15C500b</string>
|
||||
<key>MinimumOSVersion</key>
|
||||
<string>100.0</string>
|
||||
<key>UIDeviceFamily</key>
|
||||
<array>
|
||||
<integer>1</integer>
|
||||
<integer>2</integer>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8d6719ef388a34392aa7fbdaa9c7bc94
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user