diff --git a/Assets/Bugfender/Scripts/Bugfender.cs.meta b/Assets/Bugfender/Scripts/Bugfender.cs.meta index 2326c00..9401318 100755 --- a/Assets/Bugfender/Scripts/Bugfender.cs.meta +++ b/Assets/Bugfender/Scripts/Bugfender.cs.meta @@ -4,7 +4,7 @@ MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] - executionOrder: 0 + executionOrder: -1 icon: {fileID: 2800000, guid: d6433cbdddad43e4aaa464049d800c1c, type: 3} userData: assetBundleName: diff --git a/Assets/Plugins/Android/android-3.0.16.aar b/Assets/Plugins/Android/android-3.0.16.aar deleted file mode 100644 index 8ccc343..0000000 Binary files a/Assets/Plugins/Android/android-3.0.16.aar and /dev/null differ diff --git a/Assets/Plugins/Android/android-3.2.0.aar b/Assets/Plugins/Android/android-3.2.0.aar new file mode 100644 index 0000000..33d8bdc Binary files /dev/null and b/Assets/Plugins/Android/android-3.2.0.aar differ diff --git a/Assets/Plugins/Android/android-3.0.16.aar.meta b/Assets/Plugins/Android/android-3.2.0.aar.meta similarity index 93% rename from Assets/Plugins/Android/android-3.0.16.aar.meta rename to Assets/Plugins/Android/android-3.2.0.aar.meta index dcfc973..424e710 100644 --- a/Assets/Plugins/Android/android-3.0.16.aar.meta +++ b/Assets/Plugins/Android/android-3.2.0.aar.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: f09d84f073c8649489aabb1f3b4b155b +guid: 19a6277b45924438c8cdf8b135845c15 PluginImporter: externalObjects: {} serializedVersion: 2 diff --git a/Assets/Plugins/iOS/BFUserFeedbackNavigationController.h.meta b/Assets/Plugins/iOS/BFUserFeedbackNavigationController.h.meta deleted file mode 100644 index 5e6ea95..0000000 --- a/Assets/Plugins/iOS/BFUserFeedbackNavigationController.h.meta +++ /dev/null @@ -1,33 +0,0 @@ -fileFormatVersion: 2 -guid: 9420576dd157647b68bf68cda834f90a -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - defineConstraints: [] - isPreloaded: 0 - isOverridable: 0 - isExplicitlyReferenced: 0 - validateReferences: 1 - platformData: - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - - first: - iPhone: iOS - second: - enabled: 1 - settings: - AddToEmbeddedBinaries: false - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/iOS/BFUserFeedbackViewController.h.meta b/Assets/Plugins/iOS/BFUserFeedbackViewController.h.meta deleted file mode 100644 index acfc696..0000000 --- a/Assets/Plugins/iOS/BFUserFeedbackViewController.h.meta +++ /dev/null @@ -1,33 +0,0 @@ -fileFormatVersion: 2 -guid: 6995da08dac084650802c212093cf224 -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - defineConstraints: [] - isPreloaded: 0 - isOverridable: 0 - isExplicitlyReferenced: 0 - validateReferences: 1 - platformData: - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - - first: - iPhone: iOS - second: - enabled: 1 - settings: - AddToEmbeddedBinaries: false - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/iOS/BugfenderBridge.mm b/Assets/Plugins/iOS/BugfenderBridge.mm index ae036ea..068fb0c 100755 --- a/Assets/Plugins/iOS/BugfenderBridge.mm +++ b/Assets/Plugins/iOS/BugfenderBridge.mm @@ -1,5 +1,5 @@ #import -#import "BugfenderSDK.h" +#import char* convertNSStringToCString(const NSString* nsString) { diff --git a/Assets/Plugins/iOS/BugfenderSDK.h.meta b/Assets/Plugins/iOS/BugfenderSDK.h.meta deleted file mode 100644 index ac6d32b..0000000 --- a/Assets/Plugins/iOS/BugfenderSDK.h.meta +++ /dev/null @@ -1,80 +0,0 @@ -fileFormatVersion: 2 -guid: f1d05191d5807485090e3b6e50df2354 -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - defineConstraints: [] - isPreloaded: 0 - isOverridable: 0 - 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: - Android: Android - second: - enabled: 0 - settings: - CPU: ARMv7 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: x86_64 - - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: x86 - - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: x86_64 - - first: - iPhone: iOS - second: - enabled: 1 - settings: - AddToEmbeddedBinaries: false - CPU: AnyCPU - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/iOS/libBugfenderSDK.a.meta b/Assets/Plugins/iOS/BugfenderSDK.xcframework.meta similarity index 90% rename from Assets/Plugins/iOS/libBugfenderSDK.a.meta rename to Assets/Plugins/iOS/BugfenderSDK.xcframework.meta index 179d010..059198e 100644 --- a/Assets/Plugins/iOS/libBugfenderSDK.a.meta +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 33f49aa1dac234e7391411a00604976f +guid: df56359f6499b440dadec1768aa32bd0 PluginImporter: externalObjects: {} serializedVersion: 2 @@ -28,6 +28,7 @@ PluginImporter: second: enabled: 0 settings: + AndroidSharedLibraryType: Executable CPU: ARMv7 - first: Any: @@ -53,19 +54,19 @@ PluginImporter: second: enabled: 0 settings: - CPU: None + CPU: AnyCPU - first: Standalone: Win second: enabled: 0 settings: - CPU: x86 + CPU: AnyCPU - first: Standalone: Win64 second: enabled: 0 settings: - CPU: x86_64 + CPU: AnyCPU - first: iPhone: iOS second: diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/Info.plist b/Assets/Plugins/iOS/BugfenderSDK.xcframework/Info.plist new file mode 100644 index 0000000..6390cf0 --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/Info.plist @@ -0,0 +1,55 @@ + + + + + AvailableLibraries + + + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + BugfenderSDK.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + LibraryIdentifier + ios-arm64 + LibraryPath + BugfenderSDK.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + BugfenderSDK.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/BugfenderSDK b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/BugfenderSDK new file mode 100755 index 0000000..0fd549e Binary files /dev/null and b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/BugfenderSDK differ diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Headers/BFDefaultLogInterceptor.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Headers/BFDefaultLogInterceptor.h new file mode 100644 index 0000000..53bb420 --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Headers/BFDefaultLogInterceptor.h @@ -0,0 +1,13 @@ +// +// Created by Fran Montiel on 24/1/23. +// Copyright (c) 2023 Beenario GmbH. All rights reserved. +// + +#import +#import "BFLogInterceptor.h" + +/** + * Default BFLogInterceptor that returns the same BFInterceptedLog that receives + */ +@interface BFDefaultLogInterceptor: NSObject +@end diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Headers/BFInterceptedLog.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Headers/BFInterceptedLog.h new file mode 100644 index 0000000..0669af7 --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Headers/BFInterceptedLog.h @@ -0,0 +1,60 @@ +// +// BFInterceptedLog.h +// BugfenderSDK +// +// Created by Fran Montiel on 24/1/23. +// Copyright © 2023 Beenario GmbH. All rights reserved. +// + +#import + +/** + * Intercepted log from NSLog/OSLog + */ +@interface BFInterceptedLog : NSObject + +/** + * Initializes an BFInterceptedLog with a timestamp, text, and log level. + * @note You will usually not need to use this method. + * @param text Text of the log. + * @param level Level of the log. See BFLogLevel enum for possible values. + * @param date Timestamp of the log. + */ +-(instancetype _Nonnull) initWithText: (NSString*_Nonnull) text level: (NSInteger)level date: (NSDate*_Nonnull) date; + +/** + * Line in the source file where the log was originated. + */ +@property (nonatomic, assign) NSInteger line; + +/** + * Level of the log. See BFLogLevel enum for possible values. + */ +@property (nonatomic, assign) NSInteger level; + +/** + * Timestamp of the log. + */ +@property (nonatomic, strong) NSDate * _Nonnull date; + +/** + * Tag (or category) of the log. + */ +@property (nonatomic, strong) NSString * _Nonnull tag; + +/** + * Method of the source file where the log was originated. + */ +@property (nonatomic, strong) NSString * _Nonnull method; + +/** + * Source file name where the log was originated. + */ +@property (nonatomic, strong) NSString * _Nonnull file; + +/** + * Text of the log. + */ +@property (nonatomic, strong) NSString * _Nonnull text; + +@end diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Headers/BFLogInterceptor.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Headers/BFLogInterceptor.h new file mode 100644 index 0000000..dc8496e --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Headers/BFLogInterceptor.h @@ -0,0 +1,24 @@ +// +// NSLogInterceptor.h +// BugfenderSDK +// +// Created by Fran Montiel on 24/1/23. +// Copyright © 2023 Beenario GmbH. All rights reserved. +// + +#import +#import "BFInterceptedLog.h" + +/** + * Intercept a log entry from NSLog/OSLog and allow to modify it or to block it. + */ +@protocol BFLogInterceptor + +/** + * Intercept a log entry from NSLog/OSLog and allow to modify it or to block it. + * @param interceptedLog log intercepted + * @return The log entry to be logged. If nil is returned the log entry won't be logged. + */ +- (BFInterceptedLog *)intercept:(BFInterceptedLog *)interceptedLog; + +@end diff --git a/Assets/Plugins/iOS/BFUserFeedbackNavigationController.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Headers/BFUserFeedbackNavigationController.h similarity index 97% rename from Assets/Plugins/iOS/BFUserFeedbackNavigationController.h rename to Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Headers/BFUserFeedbackNavigationController.h index 6b323da..51679ab 100644 --- a/Assets/Plugins/iOS/BFUserFeedbackNavigationController.h +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Headers/BFUserFeedbackNavigationController.h @@ -3,7 +3,7 @@ // BugfenderSDK // // Created by Rubén Vázquez Otero on 15/10/2018. -// Copyright © 2018 Mobile Jazz. All rights reserved. +// Copyright © 2018 Beenario GmbH. All rights reserved. // #if TARGET_OS_IOS diff --git a/Assets/Plugins/iOS/BFUserFeedbackViewController.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Headers/BFUserFeedbackViewController.h similarity index 97% rename from Assets/Plugins/iOS/BFUserFeedbackViewController.h rename to Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Headers/BFUserFeedbackViewController.h index 8311fc3..93b5f2c 100644 --- a/Assets/Plugins/iOS/BFUserFeedbackViewController.h +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Headers/BFUserFeedbackViewController.h @@ -3,7 +3,7 @@ // BugfenderSDK // // Created by Rubén Vázquez Otero on 16/10/2018. -// Copyright © 2018 Mobile Jazz. All rights reserved. +// Copyright © 2018 Beenario GmbH. All rights reserved. // #import diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Headers/BugfenderSDK-Swift.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Headers/BugfenderSDK-Swift.h new file mode 100644 index 0000000..995a5c3 --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Headers/BugfenderSDK-Swift.h @@ -0,0 +1,220 @@ +// Generated by Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12) +#ifndef BUGFENDERSDK_SWIFT_H +#define BUGFENDERSDK_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="BugfenderSDK",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif diff --git a/Assets/Plugins/iOS/BugfenderSDK.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Headers/BugfenderSDK.h similarity index 89% rename from Assets/Plugins/iOS/BugfenderSDK.h rename to Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Headers/BugfenderSDK.h index d0adb3d..cbdcad7 100644 --- a/Assets/Plugins/iOS/BugfenderSDK.h +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Headers/BugfenderSDK.h @@ -1,10 +1,12 @@ // // BugfenderSDK.h // BugfenderSDK -// Copyright (c) 2014 Bugfender SL. All rights reserved. +// Copyright (c) 2014 Bugfender GmbH. All rights reserved. // #import +#import "BFLogInterceptor.h" +#import "BFDefaultLogInterceptor.h" #if TARGET_OS_IOS @@ -81,6 +83,14 @@ NS_ASSUME_NONNULL_BEGIN #define BFLibraryVersionNumber_1_10_3 64 #define BFLibraryVersionNumber_1_10_4 65 #define BFLibraryVersionNumber_1_10_5 66 +#define BFLibraryVersionNumber_1_10_6 67 +#define BFLibraryVersionNumber_1_11_0 68 +#define BFLibraryVersionNumber_1_12_0 69 +#define BFLibraryVersionNumber_1_12_1 70 +#define BFLibraryVersionNumber_1_12_2 71 +#define BFLibraryVersionNumber_1_13_0 72 +#define BFLibraryVersionNumber_1_13_1 73 +#define BFLibraryVersionNumber_1_13_2 74 /** * Current Bugfender version number. @@ -91,7 +101,7 @@ FOUNDATION_EXPORT double const BFLibraryVersionNumber; /** Defines the level of a log */ typedef NS_ENUM(NSUInteger, BFLogLevel) { - /** Default/Degug log level */ + /** Default/Debug log level */ BFLogLevelDefault = 0, /** Warning log level */ BFLogLevelWarning = 1, @@ -166,7 +176,8 @@ typedef NS_ENUM(NSUInteger, BFLogLevel) /** * Set the maximum space available to store local logs. This value is represented in bytes. There's a limit of 50 MB. - * @param maximumLocalStorageSize Maximum space availalbe to store local logs, in bytes. + * @param maximumLocalStorageSize Maximum size in bytes. Range accepted is from 1 MB to 50 MB. If the value provider + * is below this range it will be set to 1 MB, if is above the range it will be set to 50 MB **/ + (void)setMaximumLocalStorageSize:(NSUInteger)maximumLocalStorageSize; @@ -239,6 +250,13 @@ typedef NS_ENUM(NSUInteger, BFLogLevel) * Logs all actions performed and screen changes in the application, such as button touches, swipes and gestures. */ +(void)enableUIEventLogging; + +/** + * Logs all actions performed and screen changes in the application, such as button touches, swipes and gestures. + * @param ignoredViewsTags Tags of views that should not be observed and logged by Bugfender + */ ++ (void)enableUIEventLoggingWithIgnoredViewsTags:(NSArray *)ignoredViewsTags; + #endif /** @@ -251,11 +269,11 @@ typedef NS_ENUM(NSUInteger, BFLogLevel) ** ******************************************************************** **/ /** - * Sets the name for the device. If the Device Name is not set, then the iOS standard device name will be automatically sent + * Sets the name for the device. If the Device Name is not set, then the iOS standard device name will be automatically sent * @note This method has to be called prior to activate logger. Otherwise, an exception will be thrown. - * @param deviceName Device name that will be . + * @param deviceName Device name that will be shown in the Dashboard. */ -+(void)overrideDeviceName:(NSString *)deviceName; ++(void)overrideDeviceName:(NSString *)deviceName __deprecated_msg("Use setDeviceString:forKey: instead, which allows to change the name once set. This function will be removed in a future version."); /** * Sets a device detail with boolean type. @@ -409,6 +427,17 @@ typedef NS_ENUM(NSUInteger, BFLogLevel) */ + (nullable NSURL *)sendUserFeedbackReturningUrlWithSubject:(NSString *)subject message:(NSString *)message; +/** + * Logs all logs written via NSLog or OSLog. + */ ++ (void)enableNSLogLogging API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0)); + +/** + * Logs all logs written via NSLog or OSLog. + * @param interceptor intercept the logs and allow to modify or to block them before they are sent to Bugfender + */ ++ (void)enableNSLogLoggingWithInterceptor:(id )interceptor API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0)) NS_SWIFT_NAME(enableNSLogLogging(withInterceptor:)); + @end NS_ASSUME_NONNULL_END diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Info.plist b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Info.plist new file mode 100644 index 0000000..1c95da6 Binary files /dev/null and b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Info.plist differ diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Modules/BugfenderSDK.swiftmodule/arm64-apple-ios.swiftdoc b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Modules/BugfenderSDK.swiftmodule/arm64-apple-ios.swiftdoc new file mode 100644 index 0000000..952c752 Binary files /dev/null and b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Modules/BugfenderSDK.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Modules/BugfenderSDK.swiftmodule/arm64-apple-ios.swiftinterface b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Modules/BugfenderSDK.swiftmodule/arm64-apple-ios.swiftinterface new file mode 100644 index 0000000..23670e5 --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Modules/BugfenderSDK.swiftmodule/arm64-apple-ios.swiftinterface @@ -0,0 +1,19 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12) +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name BugfenderSDK +@_exported import BugfenderSDK +import Foundation +import Swift +import _Concurrency +extension BugfenderSDK.Bugfender { + public class func print(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "\n", tag: Swift.String? = nil, level: BugfenderSDK.BFLogLevel = .default, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) + public class func error(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "\n", tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) + public class func warning(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "\n", tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +} +public func BFLog(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, level: BugfenderSDK.BFLogLevel = .default, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogWarn(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogErr(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogTrace(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogInfo(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogFatal(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func bfprint(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "", tag: Swift.String? = nil, level: BugfenderSDK.BFLogLevel = .default, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Modules/module.modulemap b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Modules/module.modulemap new file mode 100644 index 0000000..bbe235f --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module BugfenderSDK { + umbrella header "BugfenderSDK.h" + + export * + module * { export * } +} + +module BugfenderSDK.Swift { + header "BugfenderSDK-Swift.h" + requires objc +} diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/PrivacyInfo.xcprivacy b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..e9c566d --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/PrivacyInfo.xcprivacy @@ -0,0 +1,34 @@ + + + + + NSPrivacyTracking + + NSPrivacyCollectedDataTypes + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeOtherDiagnosticData + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeOther + + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + + + + diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/BugfenderSDK b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/BugfenderSDK new file mode 100755 index 0000000..8c82a8e Binary files /dev/null and b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/BugfenderSDK differ diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Headers/BFDefaultLogInterceptor.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Headers/BFDefaultLogInterceptor.h new file mode 100644 index 0000000..53bb420 --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Headers/BFDefaultLogInterceptor.h @@ -0,0 +1,13 @@ +// +// Created by Fran Montiel on 24/1/23. +// Copyright (c) 2023 Beenario GmbH. All rights reserved. +// + +#import +#import "BFLogInterceptor.h" + +/** + * Default BFLogInterceptor that returns the same BFInterceptedLog that receives + */ +@interface BFDefaultLogInterceptor: NSObject +@end diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Headers/BFInterceptedLog.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Headers/BFInterceptedLog.h new file mode 100644 index 0000000..0669af7 --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Headers/BFInterceptedLog.h @@ -0,0 +1,60 @@ +// +// BFInterceptedLog.h +// BugfenderSDK +// +// Created by Fran Montiel on 24/1/23. +// Copyright © 2023 Beenario GmbH. All rights reserved. +// + +#import + +/** + * Intercepted log from NSLog/OSLog + */ +@interface BFInterceptedLog : NSObject + +/** + * Initializes an BFInterceptedLog with a timestamp, text, and log level. + * @note You will usually not need to use this method. + * @param text Text of the log. + * @param level Level of the log. See BFLogLevel enum for possible values. + * @param date Timestamp of the log. + */ +-(instancetype _Nonnull) initWithText: (NSString*_Nonnull) text level: (NSInteger)level date: (NSDate*_Nonnull) date; + +/** + * Line in the source file where the log was originated. + */ +@property (nonatomic, assign) NSInteger line; + +/** + * Level of the log. See BFLogLevel enum for possible values. + */ +@property (nonatomic, assign) NSInteger level; + +/** + * Timestamp of the log. + */ +@property (nonatomic, strong) NSDate * _Nonnull date; + +/** + * Tag (or category) of the log. + */ +@property (nonatomic, strong) NSString * _Nonnull tag; + +/** + * Method of the source file where the log was originated. + */ +@property (nonatomic, strong) NSString * _Nonnull method; + +/** + * Source file name where the log was originated. + */ +@property (nonatomic, strong) NSString * _Nonnull file; + +/** + * Text of the log. + */ +@property (nonatomic, strong) NSString * _Nonnull text; + +@end diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Headers/BFLogInterceptor.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Headers/BFLogInterceptor.h new file mode 100644 index 0000000..dc8496e --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Headers/BFLogInterceptor.h @@ -0,0 +1,24 @@ +// +// NSLogInterceptor.h +// BugfenderSDK +// +// Created by Fran Montiel on 24/1/23. +// Copyright © 2023 Beenario GmbH. All rights reserved. +// + +#import +#import "BFInterceptedLog.h" + +/** + * Intercept a log entry from NSLog/OSLog and allow to modify it or to block it. + */ +@protocol BFLogInterceptor + +/** + * Intercept a log entry from NSLog/OSLog and allow to modify it or to block it. + * @param interceptedLog log intercepted + * @return The log entry to be logged. If nil is returned the log entry won't be logged. + */ +- (BFInterceptedLog *)intercept:(BFInterceptedLog *)interceptedLog; + +@end diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Headers/BFUserFeedbackNavigationController.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Headers/BFUserFeedbackNavigationController.h new file mode 100644 index 0000000..51679ab --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Headers/BFUserFeedbackNavigationController.h @@ -0,0 +1,53 @@ +// +// BFUserFeedbackViewController.h +// BugfenderSDK +// +// Created by Rubén Vázquez Otero on 15/10/2018. +// Copyright © 2018 Beenario GmbH. All rights reserved. +// + +#if TARGET_OS_IOS + +#import "BFUserFeedbackViewController.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * Navigation View Controller containing a BFUserFeedbackNavigationController as rootViewController + */ +@interface BFUserFeedbackNavigationController : UINavigationController + + + +/** + * Root View Controller containing a table with the textfields used to gather feedback + */ +@property (nonatomic, strong) BFUserFeedbackViewController *feedbackViewController; + +/** + Provides a View Controller to gather the feedback of the users and sent it to Bugfender. + The returning BFUserFeedbackNavigationController has to be presented modally and it has it's own Send and Cancel buttons + + Additionally, it is possible to customize the aspect of the screen accessing BFUserFeedbackNavigationController.feedbackViewController + + @param title Title for the navigation bar + @param hint Short text at the beginning + @param subjectPlaceholder placeholder in the subject textfield + @param messagePlaceholder placeholder in the message textfield + @param sendButtonTitle title for the send button in the navigation bar + @param cancelButtonTitle title for the cancel button + @return BFUserFeedbackNavigationController containing a BFUserFeedbackViewController as root view controller + */ ++ (BFUserFeedbackNavigationController *)userFeedbackViewControllerWithTitle:(NSString *)title + hint:(NSString *)hint + subjectPlaceholder:(NSString *)subjectPlaceholder + messagePlaceholder:(NSString *)messagePlaceholder + sendButtonTitle:(NSString *)sendButtonTitle + cancelButtonTitle:(NSString *)cancelButtonTitle + completion:(void (^)(BOOL feedbackSent, NSURL * _Nullable url))completionBlock; + + +@end + +NS_ASSUME_NONNULL_END +#endif diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Headers/BFUserFeedbackViewController.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Headers/BFUserFeedbackViewController.h new file mode 100644 index 0000000..93b5f2c --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Headers/BFUserFeedbackViewController.h @@ -0,0 +1,114 @@ +// +// BFUserFeedbackViewController.h +// BugfenderSDK +// +// Created by Rubén Vázquez Otero on 16/10/2018. +// Copyright © 2018 Beenario GmbH. All rights reserved. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * BFUserFeedbackViewController provides a basic and configurable view controller to gather feedback from the users + */ +@interface BFUserFeedbackViewController : UITableViewController { + +} + +#pragma mark - Background colors + +/** + The background of the view controller + */ +@property (nonatomic, strong) UIColor *mainBackgroundColor; + +/** + Background for textfields + */ +@property (nonatomic, strong) UIColor *secondaryBackgroundColor; + +#pragma mark - Hint + +/** + The hint is the upper text in the view controller. + Use the hint give instructions to your users or just to thank them for providing feedback + */ +@property (nonatomic, strong) NSString *hint; + +/** + * Font from the hint + */ +@property (nonatomic, strong) UIFont *hintFont; + +/** + * Font color from the hint + */ +@property (nonatomic, strong) UIColor *hintFontColor; + +#pragma mark - Subject + +/** + The subject of the feedback. + Remember to provide a placeholder + */ +@property (nonatomic, strong) UIFont *subjectFont; + +/** + * Font color from the subject textfield + */ +@property (nonatomic, strong) UIColor *subjectFontColor; + +/** + * Font color for the placeholder of the subject textfield + */ +@property (nonatomic, strong) UIColor *subjectPlaceholderFontColor; + +/** + * Subject placeholder + */ +@property (nonatomic, strong) NSString *subjectPlaceholder; + +#pragma mark - Message +/** + The message of the feedback + Remember to provide a placeholder + */ +@property (nonatomic, strong) UIFont *messageFont; + +/** + * Message font color + */ +@property (nonatomic, strong) UIColor *messageFontColor; + +/** + * Message placeholder font color + */ +@property (nonatomic, strong) UIColor *messagePlaceholderFontColor; + +/** + * Message placeholder + */ +@property (nonatomic, strong) NSString *messagePlaceholder; + +#pragma mark - Actions + +/** + * Hide view controller + */ +- (void)dismiss; + +/** + * Send feedback to Bugfender + */ +- (void)sendFeedback; + +/** + Pass a block if you want to be notified after feedback was sent (or not) + */ +@property (nonatomic, copy) void (^completionBlock)(BOOL feedbackSent, NSURL * _Nullable url); + +@end + +NS_ASSUME_NONNULL_END diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Headers/BugfenderSDK-Swift.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Headers/BugfenderSDK-Swift.h new file mode 100644 index 0000000..7ea8f74 --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Headers/BugfenderSDK-Swift.h @@ -0,0 +1,446 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12) +#ifndef BUGFENDERSDK_SWIFT_H +#define BUGFENDERSDK_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="BugfenderSDK",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12) +#ifndef BUGFENDERSDK_SWIFT_H +#define BUGFENDERSDK_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="BugfenderSDK",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Headers/BugfenderSDK.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Headers/BugfenderSDK.h new file mode 100644 index 0000000..cbdcad7 --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Headers/BugfenderSDK.h @@ -0,0 +1,443 @@ +// +// BugfenderSDK.h +// BugfenderSDK +// Copyright (c) 2014 Bugfender GmbH. All rights reserved. +// + +#import +#import "BFLogInterceptor.h" +#import "BFDefaultLogInterceptor.h" + +#if TARGET_OS_IOS + +#import "BFUserFeedbackNavigationController.h" + +#endif + +NS_ASSUME_NONNULL_BEGIN + +#define BFLibraryVersionNumber_0_1_0 0 +#define BFLibraryVersionNumber_0_2_0 1 +#define BFLibraryVersionNumber_0_2_1 2 +#define BFLibraryVersionNumber_0_3_0 3 +#define BFLibraryVersionNumber_0_3_1 4 +#define BFLibraryVersionNumber_0_3_2 5 +#define BFLibraryVersionNumber_0_3_3 6 +#define BFLibraryVersionNumber_0_3_4 7 +#define BFLibraryVersionNumber_0_3_5 8 +#define BFLibraryVersionNumber_0_3_6 9 +#define BFLibraryVersionNumber_0_3_7 10 +#define BFLibraryVersionNumber_0_3_8 11 +#define BFLibraryVersionNumber_0_3_9 12 +#define BFLibraryVersionNumber_0_3_10 13 +#define BFLibraryVersionNumber_0_3_11 14 +#define BFLibraryVersionNumber_0_3_12 15 +#define BFLibraryVersionNumber_0_3_13 16 +#define BFLibraryVersionNumber_0_3_14 17 +#define BFLibraryVersionNumber_0_3_15 18 +#define BFLibraryVersionNumber_0_3_16 19 +#define BFLibraryVersionNumber_0_3_17 20 +#define BFLibraryVersionNumber_0_3_18 21 +#define BFLibraryVersionNumber_0_3_19 22 +#define BFLibraryVersionNumber_0_3_20 23 +#define BFLibraryVersionNumber_0_3_21 24 +#define BFLibraryVersionNumber_0_3_22 25 +#define BFLibraryVersionNumber_0_3_23 26 +#define BFLibraryVersionNumber_0_3_24 27 +#define BFLibraryVersionNumber_0_3_25 28 +#define BFLibraryVersionNumber_0_3_26 29 +#define BFLibraryVersionNumber_0_3_27 30 +#define BFLibraryVersionNumber_1_4_0 31 +#define BFLibraryVersionNumber_1_4_1 32 +#define BFLibraryVersionNumber_1_4_2 33 +#define BFLibraryVersionNumber_1_4_3 34 +#define BFLibraryVersionNumber_1_4_4 34 // Mistake: We released the version without incrementing the number. +#define BFLibraryVersionNumber_1_4_5 36 +#define BFLibraryVersionNumber_1_4_6 37 +#define BFLibraryVersionNumber_1_4_7 38 +#define BFLibraryVersionNumber_1_4_8 39 +#define BFLibraryVersionNumber_1_4_9 40 +#define BFLibraryVersionNumber_1_4_10 41 +#define BFLibraryVersionNumber_1_5_0 42 +#define BFLibraryVersionNumber_1_5_1 43 +#define BFLibraryVersionNumber_1_5_2 44 +#define BFLibraryVersionNumber_1_5_3 45 +#define BFLibraryVersionNumber_1_5_4 46 +#define BFLibraryVersionNumber_1_5_5 47 +#define BFLibraryVersionNumber_1_5_6 48 +#define BFLibraryVersionNumber_1_6_0 49 +#define BFLibraryVersionNumber_1_6_1 50 +#define BFLibraryVersionNumber_1_6_2 51 +#define BFLibraryVersionNumber_1_6_3 52 +#define BFLibraryVersionNumber_1_6_4 53 +#define BFLibraryVersionNumber_1_6_5 54 +#define BFLibraryVersionNumber_1_6_6 55 +#define BFLibraryVersionNumber_1_7_0 56 +#define BFLibraryVersionNumber_1_8_0 57 +#define BFLibraryVersionNumber_1_9_0 58 +#define BFLibraryVersionNumber_1_9_1 59 +#define BFLibraryVersionNumber_1_9_2 60 +#define BFLibraryVersionNumber_1_10_0 61 +#define BFLibraryVersionNumber_1_10_1 62 +#define BFLibraryVersionNumber_1_10_2 63 +#define BFLibraryVersionNumber_1_10_3 64 +#define BFLibraryVersionNumber_1_10_4 65 +#define BFLibraryVersionNumber_1_10_5 66 +#define BFLibraryVersionNumber_1_10_6 67 +#define BFLibraryVersionNumber_1_11_0 68 +#define BFLibraryVersionNumber_1_12_0 69 +#define BFLibraryVersionNumber_1_12_1 70 +#define BFLibraryVersionNumber_1_12_2 71 +#define BFLibraryVersionNumber_1_13_0 72 +#define BFLibraryVersionNumber_1_13_1 73 +#define BFLibraryVersionNumber_1_13_2 74 + +/** + * Current Bugfender version number. + * @note This value can be compared with the defined macros BFLibraryVersionNumber_X_Y_Z. + **/ +FOUNDATION_EXPORT double const BFLibraryVersionNumber; + +/** Defines the level of a log */ +typedef NS_ENUM(NSUInteger, BFLogLevel) +{ + /** Default/Debug log level */ + BFLogLevelDefault = 0, + /** Warning log level */ + BFLogLevelWarning = 1, + /** Error log level */ + BFLogLevelError = 2, + /** Trace log level */ + BFLogLevelTrace = 3, + /** Info log level */ + BFLogLevelInfo = 4, + /** Fatal log level */ + BFLogLevelFatal = 5 +}; + +#define BFLog(args, ...) BFLog2(BFLogLevelDefault, nil, args, ##__VA_ARGS__) +#define BFLogWarn(args, ...) BFLog2(BFLogLevelWarning, nil, args, ##__VA_ARGS__) +#define BFLogErr(args, ...) BFLog2(BFLogLevelError, nil, args, ##__VA_ARGS__) +#define BFLogTrace(args, ...) BFLog2(BFLogLevelTrace, nil, args, ##__VA_ARGS__) +#define BFLogInfo(args, ...) BFLog2(BFLogLevelInfo, nil, args, ##__VA_ARGS__) +#define BFLogFatal(args, ...) BFLog2(BFLogLevelFatal, nil, args, ##__VA_ARGS__) + +#define BFLog2(logLevel, tagName, fmt, ...) \ +[Bugfender logWithLineNumber:__LINE__ method:[NSString stringWithFormat:@"%s",__PRETTY_FUNCTION__] file:[[NSString stringWithFormat:@"%s",__FILE__] lastPathComponent] level:logLevel tag:tagName message:fmt == nil ? @"" : [NSString stringWithFormat:fmt, ##__VA_ARGS__]] + + + +/** + * Main Bugfender interface. + **/ +@interface Bugfender : NSObject + +/** ******************************************************************** ** + * @name Configuration + ** ******************************************************************** **/ + +/** + * Sets the URL of the API + * @note Usage of this function is not necessary in the general use case. Please use exclusively when + * directed from technical support. + * @warning This method must be called before activateLogger. + * @param url URL of the API to use + */ ++ (void)setApiURL:(NSURL*)url; + +/** + * Sets the URL of the Bugfender Dashboard + * @note Usage of this function is not necessary in the general use case. Please use exclusively when + * directed from technical support. + * @warning This method must be called before activateLogger. + * @param url base URL of the Bugfender's dashboard + */ ++ (void)setBaseURL:(NSURL*)url; + +/** + * Activates the Bugfender logger for a specific app. + * @param appKey The app key of the Bugfender application, get it in bugfender.com + * @warning If Bugfender has already been initialized with a different app key `NSInvalidArgumentException` will be thrown. + * @note This method needs to be called before any `BFLog` call, otherwise they will be ignored. + **/ ++ (void)activateLogger:(NSString*)appKey; + +/** + * Returns the app key. + * @return The app key, or nil if Bugfender has not been initialized. + **/ ++ (nullable NSString*)appKey; + +/** + * Maximum space available to store local logs. This value is represented in bytes. Default value is 5242880 (1024*1024*5 = 5MB). + * @note If maximumLocalStorageSize is 0 (zero), then there is no limit and everything will be stored locally. + **/ ++ (NSUInteger)maximumLocalStorageSize; + +/** + * Set the maximum space available to store local logs. This value is represented in bytes. There's a limit of 50 MB. + * @param maximumLocalStorageSize Maximum size in bytes. Range accepted is from 1 MB to 50 MB. If the value provider + * is below this range it will be set to 1 MB, if is above the range it will be set to 50 MB + **/ ++ (void)setMaximumLocalStorageSize:(NSUInteger)maximumLocalStorageSize; + +/** + * Returns the device identifier used to identify the current device in the Bugfender website. + * The device identifier is constant while the application is installed in the device. + * @note This string can not be changed, but can be shown to the user or sent to your server, in order to + * keep a relationship between a Bugfender device and a user or some other important event in your application. + * + * @return A string identifying the device. + **/ ++ (NSString*)deviceIdentifier __deprecated_msg("Use deviceIdentifierUrl instead."); + +/** + * Returns a URL linking to the current device in bugfender. + * The device identifier is constant while the application is installed in the device. + * @note This url can be sent to your server and used to create integrations with other services. Also can be stored to + * keep a relationship between a Bugfender device and a user or some other important event in your application. + * + * @return URL linking to the device in Bugfender + **/ ++ (nullable NSURL *)deviceIdentifierUrl; + +/** + * + * The session identifier is constant while the application is running. + * @return A string identifying the current session. + */ ++ (nullable NSString *)sessionIdentifier __deprecated_msg("Use sessionIdentifierUrl instead."); + +/** + * + * The session identifier url is constant while the application is running. + * @note This url can be sent to your server and used to create integrations with other services. + * @return A URL linking to the current session in Bugfender. + */ ++ (nullable NSURL *)sessionIdentifierUrl; + +/** + * Synchronizes all logs with the server all the time, regardless if this device is enabled or not. + * @note This method is useful when the logs should be sent to the server + * regardless if the device is enabled in the Bugfender Console. + * + * Logs are synchronized continuously while forceEnabled is active. + * + * This command can be called anytime, and will take effect the next time the device is online. + * @param enabled Whether logs should be sent regardless of the Bugfender Console settings. + */ ++(void) setForceEnabled:(BOOL)enabled; + +/** + * Gets the status of forceEnabled. + * @see setForceEnabled + */ ++(BOOL) forceEnabled; + +/** + * Prints messages to console for debugging purposes. + * @param enabled Whether printing to console is enabled or not. By default it is enabled. + */ ++(void) setPrintToConsole:(BOOL)enabled; + +/** + * Gets the status of printToConsole. printToConsole prints messages to console. By default it is enabled. + */ ++(BOOL) printToConsole; + +#if TARGET_OS_IOS +/** + * Logs all actions performed and screen changes in the application, such as button touches, swipes and gestures. + */ ++(void)enableUIEventLogging; + +/** + * Logs all actions performed and screen changes in the application, such as button touches, swipes and gestures. + * @param ignoredViewsTags Tags of views that should not be observed and logged by Bugfender + */ ++ (void)enableUIEventLoggingWithIgnoredViewsTags:(NSArray *)ignoredViewsTags; + +#endif + +/** + * Enable crash reporting tool functionality. + */ ++(void)enableCrashReporting; + +/** ******************************************************************** ** + * @name Device details + ** ******************************************************************** **/ + +/** + * Sets the name for the device. If the Device Name is not set, then the iOS standard device name will be automatically sent + * @note This method has to be called prior to activate logger. Otherwise, an exception will be thrown. + * @param deviceName Device name that will be shown in the Dashboard. + */ ++(void)overrideDeviceName:(NSString *)deviceName __deprecated_msg("Use setDeviceString:forKey: instead, which allows to change the name once set. This function will be removed in a future version."); + +/** + * Sets a device detail with boolean type. + * @note Similarly to an NSDictionary, where you can set key-value pairs + * related to a Bugfender device. + * @param b A boolean value. + * @param key Key. + */ ++(void)setDeviceBOOL:(BOOL)b forKey:(NSString*)key; +/** + * Sets a device detail with string type. + * @note Similarly to an NSDictionary, where you can set key-value pairs + * related to a Bugfender device. + * @param s A string value. The maximum length allowed is 192 bytes. + * @param key Key. + */ ++(void)setDeviceString:(NSString*)s forKey:(NSString*)key; +/** + * Sets a device detail with integer type. + * @note Similarly to an NSDictionary, where you can set key-value pairs + * related to a Bugfender device. + * @param i An UInt64 value. + * @param key Key. + */ ++(void)setDeviceInteger:(UInt64)i forKey:(NSString*)key; +/** + * Sets a device detail with double type. + * @note Similarly to an NSDictionary, where you can set key-value pairs + * related to a Bugfender device. + * @param d A double value. + * @param key Key. + */ ++(void)setDeviceDouble:(double)d forKey:(NSString*)key; +/** + * Removes a device detail. + * @note Similarly to an NSDictionary, where you can remove an existent key-value pair + * related to a Bugfender device by indicating its key. + * @param key Key. + */ ++(void)removeDeviceKey:(NSString*)key; + +/** ******************************************************************** ** + * @name Logging + ** ******************************************************************** **/ + +/** + * Bugfender extended interface for logging, which takes a simple string as log message. + * @note This command can be called anytime, and will take effect the next time the device is online. + * For efficiency, several log lines can be sent together to the server with some delay. + * @param lineNumber The line number of the log. + * @param method The method where the log has happened. + * @param file The file where the log has happened. + * @param level Log level. + * @param tag Tag to be applied to the log line. + * @param message Message to be logged. The message will be logged verbatim, no interpretation will be performed. + * @note In Swift, prefer to use bfprint() in order to get file name and line number filled in automatically. In Objective-C you can use the BFLog or BFLog2 macros. + **/ ++ (void) logWithLineNumber:(NSInteger)lineNumber method:(NSString*)method file:(NSString*)file level:(BFLogLevel)level tag:(nullable NSString*)tag message:(NSString*)message NS_SWIFT_NAME(log(lineNumber:method:file:level:tag:message:)); + +/** ******************************************************************** ** + * @name Commands + ** ******************************************************************** **/ + +/** + * Synchronizes all logs with the server once, regardless if this device is enabled or not. + * @note This method is useful when an error condition is detected and the logs should be sent to + * the server for analysis, regardless if the device is enabled in the Bugfender Console. + * + * Logs are synchronized only once. After that, the logs are again sent according to the enabled flag + * in the Bugfender Console. + * + * This command can be called anytime, and will take effect the next time the device is online. + */ ++ (void) forceSendOnce; + +#pragma mark - Issues +/** + * Sends an issue + * @note Sending an issue forces the logs of the current session being sent + * to the server, and marks the session so that it is highlighted in the web console. + * @param title Short description of the issue. + * @param text Full details of the issue. Markdown format is accepted. + * @return the issue identifier + */ ++ (nullable NSString *)sendIssueWithTitle:(NSString *)title text:(NSString *)text __deprecated_msg("Use sendIssueReturningUrlWithTitle:text: instead."); + +/** + * Sends an issue + * @note Sending an issue forces the logs of the current session being sent + * to the server, and marks the session so that it is highlighted in the web console. + * @param title Short description of the issue. + * @param text Full details of the issue. Markdown format is accepted. + * @return an URL linking to the issue in Bugfender + */ ++ (nullable NSURL *)sendIssueReturningUrlWithTitle:(NSString *)title text:(NSString *)text; + +#pragma mark - Crashes + +/** + * Sends a crash + * @note This method will send immediately a crash to the server + * it doesn't take into account if crash reporting is enabled or not + * @param title Short description of the crash. + * @param text Full details of the crarsh. + * @return an URL linking to the crash in Bugfender + */ ++ (nullable NSURL *)sendCrashWithTitle:(NSString *)title text:(NSString *)text; + +#if TARGET_OS_IOS + +#pragma mark - User Feedback + +/** + Provides a View Controller to gather the feedback of the users and sent it to Bugfender. + The returning BFUserFeedbackNavigationController has to be presented modally and it has it's own Send and Cancel buttons + + Additionally, it is possible to customize the aspect of the screen accessing BFUserFeedbackNavigationController.feedbackViewController + + @param title Title for the navigation bar + @param hint Short text at the beginning + @param subjectPlaceholder placeholder in the subject textfield + @param messagePlaceholder placeholder in the message textfield + @param sendButtonTitle title for the send button in the navigation bar + @param cancelButtonTitle title for the cancel button + @return BFUserFeedbackNavigationController containing a BFUserFeedbackViewController as root view controller + */ ++ (BFUserFeedbackNavigationController *)userFeedbackViewControllerWithTitle:(NSString *)title + hint:(NSString *)hint + subjectPlaceholder:(NSString *)subjectPlaceholder + messagePlaceholder:(NSString *)messagePlaceholder + sendButtonTitle:(NSString *)sendButtonTitle + cancelButtonTitle:(NSString *)cancelButtonTitle + completion:(void (^ _Nullable )(BOOL feedbackSent, NSURL * _Nullable url))completionBlock; + +#endif + +/** + Allows to create custom UI to gather user feedback and send to Bugfender. + + @param subject subject of the feedback + @param message message of the feedback + */ ++ (void)sendUserFeedbackWithSubject:(NSString *)subject message:(NSString *)message __deprecated_msg("Use sendUserFeedbackReturningUrlWithSubject:message: instead."); + +/** + Allows to create custom UI to gather user feedback and send to Bugfender. + + @param subject subject of the feedback + @param message message of the feedback + @return URL linking to Bugfender + */ ++ (nullable NSURL *)sendUserFeedbackReturningUrlWithSubject:(NSString *)subject message:(NSString *)message; + +/** + * Logs all logs written via NSLog or OSLog. + */ ++ (void)enableNSLogLogging API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0)); + +/** + * Logs all logs written via NSLog or OSLog. + * @param interceptor intercept the logs and allow to modify or to block them before they are sent to Bugfender + */ ++ (void)enableNSLogLoggingWithInterceptor:(id )interceptor API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0)) NS_SWIFT_NAME(enableNSLogLogging(withInterceptor:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Modules/BugfenderSDK.swiftmodule/arm64-apple-ios-macabi.swiftdoc b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Modules/BugfenderSDK.swiftmodule/arm64-apple-ios-macabi.swiftdoc new file mode 100644 index 0000000..2fd1b7f Binary files /dev/null and b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Modules/BugfenderSDK.swiftmodule/arm64-apple-ios-macabi.swiftdoc differ diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Modules/BugfenderSDK.swiftmodule/arm64-apple-ios-macabi.swiftinterface b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Modules/BugfenderSDK.swiftmodule/arm64-apple-ios-macabi.swiftinterface new file mode 100644 index 0000000..e7109b5 --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Modules/BugfenderSDK.swiftmodule/arm64-apple-ios-macabi.swiftinterface @@ -0,0 +1,19 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12) +// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name BugfenderSDK +@_exported import BugfenderSDK +import Foundation +import Swift +import _Concurrency +extension BugfenderSDK.Bugfender { + public class func print(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "\n", tag: Swift.String? = nil, level: BugfenderSDK.BFLogLevel = .default, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) + public class func error(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "\n", tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) + public class func warning(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "\n", tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +} +public func BFLog(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, level: BugfenderSDK.BFLogLevel = .default, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogWarn(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogErr(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogTrace(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogInfo(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogFatal(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func bfprint(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "", tag: Swift.String? = nil, level: BugfenderSDK.BFLogLevel = .default, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Modules/BugfenderSDK.swiftmodule/x86_64-apple-ios-macabi.swiftdoc b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Modules/BugfenderSDK.swiftmodule/x86_64-apple-ios-macabi.swiftdoc new file mode 100644 index 0000000..4149561 Binary files /dev/null and b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Modules/BugfenderSDK.swiftmodule/x86_64-apple-ios-macabi.swiftdoc differ diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Modules/BugfenderSDK.swiftmodule/x86_64-apple-ios-macabi.swiftinterface b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Modules/BugfenderSDK.swiftmodule/x86_64-apple-ios-macabi.swiftinterface new file mode 100644 index 0000000..9b1751a --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Modules/BugfenderSDK.swiftmodule/x86_64-apple-ios-macabi.swiftinterface @@ -0,0 +1,19 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12) +// 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 BugfenderSDK +@_exported import BugfenderSDK +import Foundation +import Swift +import _Concurrency +extension BugfenderSDK.Bugfender { + public class func print(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "\n", tag: Swift.String? = nil, level: BugfenderSDK.BFLogLevel = .default, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) + public class func error(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "\n", tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) + public class func warning(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "\n", tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +} +public func BFLog(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, level: BugfenderSDK.BFLogLevel = .default, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogWarn(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogErr(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogTrace(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogInfo(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogFatal(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func bfprint(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "", tag: Swift.String? = nil, level: BugfenderSDK.BFLogLevel = .default, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Modules/module.modulemap b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Modules/module.modulemap new file mode 100644 index 0000000..bbe235f --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module BugfenderSDK { + umbrella header "BugfenderSDK.h" + + export * + module * { export * } +} + +module BugfenderSDK.Swift { + header "BugfenderSDK-Swift.h" + requires objc +} diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Resources/Info.plist b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Resources/Info.plist new file mode 100644 index 0000000..a907867 --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Resources/Info.plist @@ -0,0 +1,50 @@ + + + + + BuildMachineOSBuild + 23A344 + CFBundleDevelopmentRegion + en + CFBundleExecutable + BugfenderSDK + CFBundleIdentifier + com.bugfender.BugfenderSDK + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + BugfenderSDK + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 13F100 + DTPlatformName + macosx + DTPlatformVersion + 12.3 + DTSDKBuild + 21E226 + DTSDKName + macosx12.3 + DTXcode + 1341 + DTXcodeBuild + 13F100 + LSMinimumSystemVersion + 10.15 + UIDeviceFamily + + 2 + + + diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Resources/PrivacyInfo.xcprivacy b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..e9c566d --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,34 @@ + + + + + NSPrivacyTracking + + NSPrivacyCollectedDataTypes + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeOtherDiagnosticData + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeOther + + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + + + + diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/BugfenderSDK b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/BugfenderSDK new file mode 100755 index 0000000..8c82a8e Binary files /dev/null and b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/BugfenderSDK differ diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Headers/BFDefaultLogInterceptor.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Headers/BFDefaultLogInterceptor.h new file mode 100644 index 0000000..53bb420 --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Headers/BFDefaultLogInterceptor.h @@ -0,0 +1,13 @@ +// +// Created by Fran Montiel on 24/1/23. +// Copyright (c) 2023 Beenario GmbH. All rights reserved. +// + +#import +#import "BFLogInterceptor.h" + +/** + * Default BFLogInterceptor that returns the same BFInterceptedLog that receives + */ +@interface BFDefaultLogInterceptor: NSObject +@end diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Headers/BFInterceptedLog.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Headers/BFInterceptedLog.h new file mode 100644 index 0000000..0669af7 --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Headers/BFInterceptedLog.h @@ -0,0 +1,60 @@ +// +// BFInterceptedLog.h +// BugfenderSDK +// +// Created by Fran Montiel on 24/1/23. +// Copyright © 2023 Beenario GmbH. All rights reserved. +// + +#import + +/** + * Intercepted log from NSLog/OSLog + */ +@interface BFInterceptedLog : NSObject + +/** + * Initializes an BFInterceptedLog with a timestamp, text, and log level. + * @note You will usually not need to use this method. + * @param text Text of the log. + * @param level Level of the log. See BFLogLevel enum for possible values. + * @param date Timestamp of the log. + */ +-(instancetype _Nonnull) initWithText: (NSString*_Nonnull) text level: (NSInteger)level date: (NSDate*_Nonnull) date; + +/** + * Line in the source file where the log was originated. + */ +@property (nonatomic, assign) NSInteger line; + +/** + * Level of the log. See BFLogLevel enum for possible values. + */ +@property (nonatomic, assign) NSInteger level; + +/** + * Timestamp of the log. + */ +@property (nonatomic, strong) NSDate * _Nonnull date; + +/** + * Tag (or category) of the log. + */ +@property (nonatomic, strong) NSString * _Nonnull tag; + +/** + * Method of the source file where the log was originated. + */ +@property (nonatomic, strong) NSString * _Nonnull method; + +/** + * Source file name where the log was originated. + */ +@property (nonatomic, strong) NSString * _Nonnull file; + +/** + * Text of the log. + */ +@property (nonatomic, strong) NSString * _Nonnull text; + +@end diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Headers/BFLogInterceptor.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Headers/BFLogInterceptor.h new file mode 100644 index 0000000..dc8496e --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Headers/BFLogInterceptor.h @@ -0,0 +1,24 @@ +// +// NSLogInterceptor.h +// BugfenderSDK +// +// Created by Fran Montiel on 24/1/23. +// Copyright © 2023 Beenario GmbH. All rights reserved. +// + +#import +#import "BFInterceptedLog.h" + +/** + * Intercept a log entry from NSLog/OSLog and allow to modify it or to block it. + */ +@protocol BFLogInterceptor + +/** + * Intercept a log entry from NSLog/OSLog and allow to modify it or to block it. + * @param interceptedLog log intercepted + * @return The log entry to be logged. If nil is returned the log entry won't be logged. + */ +- (BFInterceptedLog *)intercept:(BFInterceptedLog *)interceptedLog; + +@end diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Headers/BFUserFeedbackNavigationController.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Headers/BFUserFeedbackNavigationController.h new file mode 100644 index 0000000..51679ab --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Headers/BFUserFeedbackNavigationController.h @@ -0,0 +1,53 @@ +// +// BFUserFeedbackViewController.h +// BugfenderSDK +// +// Created by Rubén Vázquez Otero on 15/10/2018. +// Copyright © 2018 Beenario GmbH. All rights reserved. +// + +#if TARGET_OS_IOS + +#import "BFUserFeedbackViewController.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * Navigation View Controller containing a BFUserFeedbackNavigationController as rootViewController + */ +@interface BFUserFeedbackNavigationController : UINavigationController + + + +/** + * Root View Controller containing a table with the textfields used to gather feedback + */ +@property (nonatomic, strong) BFUserFeedbackViewController *feedbackViewController; + +/** + Provides a View Controller to gather the feedback of the users and sent it to Bugfender. + The returning BFUserFeedbackNavigationController has to be presented modally and it has it's own Send and Cancel buttons + + Additionally, it is possible to customize the aspect of the screen accessing BFUserFeedbackNavigationController.feedbackViewController + + @param title Title for the navigation bar + @param hint Short text at the beginning + @param subjectPlaceholder placeholder in the subject textfield + @param messagePlaceholder placeholder in the message textfield + @param sendButtonTitle title for the send button in the navigation bar + @param cancelButtonTitle title for the cancel button + @return BFUserFeedbackNavigationController containing a BFUserFeedbackViewController as root view controller + */ ++ (BFUserFeedbackNavigationController *)userFeedbackViewControllerWithTitle:(NSString *)title + hint:(NSString *)hint + subjectPlaceholder:(NSString *)subjectPlaceholder + messagePlaceholder:(NSString *)messagePlaceholder + sendButtonTitle:(NSString *)sendButtonTitle + cancelButtonTitle:(NSString *)cancelButtonTitle + completion:(void (^)(BOOL feedbackSent, NSURL * _Nullable url))completionBlock; + + +@end + +NS_ASSUME_NONNULL_END +#endif diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Headers/BFUserFeedbackViewController.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Headers/BFUserFeedbackViewController.h new file mode 100644 index 0000000..93b5f2c --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Headers/BFUserFeedbackViewController.h @@ -0,0 +1,114 @@ +// +// BFUserFeedbackViewController.h +// BugfenderSDK +// +// Created by Rubén Vázquez Otero on 16/10/2018. +// Copyright © 2018 Beenario GmbH. All rights reserved. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * BFUserFeedbackViewController provides a basic and configurable view controller to gather feedback from the users + */ +@interface BFUserFeedbackViewController : UITableViewController { + +} + +#pragma mark - Background colors + +/** + The background of the view controller + */ +@property (nonatomic, strong) UIColor *mainBackgroundColor; + +/** + Background for textfields + */ +@property (nonatomic, strong) UIColor *secondaryBackgroundColor; + +#pragma mark - Hint + +/** + The hint is the upper text in the view controller. + Use the hint give instructions to your users or just to thank them for providing feedback + */ +@property (nonatomic, strong) NSString *hint; + +/** + * Font from the hint + */ +@property (nonatomic, strong) UIFont *hintFont; + +/** + * Font color from the hint + */ +@property (nonatomic, strong) UIColor *hintFontColor; + +#pragma mark - Subject + +/** + The subject of the feedback. + Remember to provide a placeholder + */ +@property (nonatomic, strong) UIFont *subjectFont; + +/** + * Font color from the subject textfield + */ +@property (nonatomic, strong) UIColor *subjectFontColor; + +/** + * Font color for the placeholder of the subject textfield + */ +@property (nonatomic, strong) UIColor *subjectPlaceholderFontColor; + +/** + * Subject placeholder + */ +@property (nonatomic, strong) NSString *subjectPlaceholder; + +#pragma mark - Message +/** + The message of the feedback + Remember to provide a placeholder + */ +@property (nonatomic, strong) UIFont *messageFont; + +/** + * Message font color + */ +@property (nonatomic, strong) UIColor *messageFontColor; + +/** + * Message placeholder font color + */ +@property (nonatomic, strong) UIColor *messagePlaceholderFontColor; + +/** + * Message placeholder + */ +@property (nonatomic, strong) NSString *messagePlaceholder; + +#pragma mark - Actions + +/** + * Hide view controller + */ +- (void)dismiss; + +/** + * Send feedback to Bugfender + */ +- (void)sendFeedback; + +/** + Pass a block if you want to be notified after feedback was sent (or not) + */ +@property (nonatomic, copy) void (^completionBlock)(BOOL feedbackSent, NSURL * _Nullable url); + +@end + +NS_ASSUME_NONNULL_END diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Headers/BugfenderSDK-Swift.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Headers/BugfenderSDK-Swift.h new file mode 100644 index 0000000..7ea8f74 --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Headers/BugfenderSDK-Swift.h @@ -0,0 +1,446 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12) +#ifndef BUGFENDERSDK_SWIFT_H +#define BUGFENDERSDK_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="BugfenderSDK",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12) +#ifndef BUGFENDERSDK_SWIFT_H +#define BUGFENDERSDK_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="BugfenderSDK",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Headers/BugfenderSDK.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Headers/BugfenderSDK.h new file mode 100644 index 0000000..cbdcad7 --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Headers/BugfenderSDK.h @@ -0,0 +1,443 @@ +// +// BugfenderSDK.h +// BugfenderSDK +// Copyright (c) 2014 Bugfender GmbH. All rights reserved. +// + +#import +#import "BFLogInterceptor.h" +#import "BFDefaultLogInterceptor.h" + +#if TARGET_OS_IOS + +#import "BFUserFeedbackNavigationController.h" + +#endif + +NS_ASSUME_NONNULL_BEGIN + +#define BFLibraryVersionNumber_0_1_0 0 +#define BFLibraryVersionNumber_0_2_0 1 +#define BFLibraryVersionNumber_0_2_1 2 +#define BFLibraryVersionNumber_0_3_0 3 +#define BFLibraryVersionNumber_0_3_1 4 +#define BFLibraryVersionNumber_0_3_2 5 +#define BFLibraryVersionNumber_0_3_3 6 +#define BFLibraryVersionNumber_0_3_4 7 +#define BFLibraryVersionNumber_0_3_5 8 +#define BFLibraryVersionNumber_0_3_6 9 +#define BFLibraryVersionNumber_0_3_7 10 +#define BFLibraryVersionNumber_0_3_8 11 +#define BFLibraryVersionNumber_0_3_9 12 +#define BFLibraryVersionNumber_0_3_10 13 +#define BFLibraryVersionNumber_0_3_11 14 +#define BFLibraryVersionNumber_0_3_12 15 +#define BFLibraryVersionNumber_0_3_13 16 +#define BFLibraryVersionNumber_0_3_14 17 +#define BFLibraryVersionNumber_0_3_15 18 +#define BFLibraryVersionNumber_0_3_16 19 +#define BFLibraryVersionNumber_0_3_17 20 +#define BFLibraryVersionNumber_0_3_18 21 +#define BFLibraryVersionNumber_0_3_19 22 +#define BFLibraryVersionNumber_0_3_20 23 +#define BFLibraryVersionNumber_0_3_21 24 +#define BFLibraryVersionNumber_0_3_22 25 +#define BFLibraryVersionNumber_0_3_23 26 +#define BFLibraryVersionNumber_0_3_24 27 +#define BFLibraryVersionNumber_0_3_25 28 +#define BFLibraryVersionNumber_0_3_26 29 +#define BFLibraryVersionNumber_0_3_27 30 +#define BFLibraryVersionNumber_1_4_0 31 +#define BFLibraryVersionNumber_1_4_1 32 +#define BFLibraryVersionNumber_1_4_2 33 +#define BFLibraryVersionNumber_1_4_3 34 +#define BFLibraryVersionNumber_1_4_4 34 // Mistake: We released the version without incrementing the number. +#define BFLibraryVersionNumber_1_4_5 36 +#define BFLibraryVersionNumber_1_4_6 37 +#define BFLibraryVersionNumber_1_4_7 38 +#define BFLibraryVersionNumber_1_4_8 39 +#define BFLibraryVersionNumber_1_4_9 40 +#define BFLibraryVersionNumber_1_4_10 41 +#define BFLibraryVersionNumber_1_5_0 42 +#define BFLibraryVersionNumber_1_5_1 43 +#define BFLibraryVersionNumber_1_5_2 44 +#define BFLibraryVersionNumber_1_5_3 45 +#define BFLibraryVersionNumber_1_5_4 46 +#define BFLibraryVersionNumber_1_5_5 47 +#define BFLibraryVersionNumber_1_5_6 48 +#define BFLibraryVersionNumber_1_6_0 49 +#define BFLibraryVersionNumber_1_6_1 50 +#define BFLibraryVersionNumber_1_6_2 51 +#define BFLibraryVersionNumber_1_6_3 52 +#define BFLibraryVersionNumber_1_6_4 53 +#define BFLibraryVersionNumber_1_6_5 54 +#define BFLibraryVersionNumber_1_6_6 55 +#define BFLibraryVersionNumber_1_7_0 56 +#define BFLibraryVersionNumber_1_8_0 57 +#define BFLibraryVersionNumber_1_9_0 58 +#define BFLibraryVersionNumber_1_9_1 59 +#define BFLibraryVersionNumber_1_9_2 60 +#define BFLibraryVersionNumber_1_10_0 61 +#define BFLibraryVersionNumber_1_10_1 62 +#define BFLibraryVersionNumber_1_10_2 63 +#define BFLibraryVersionNumber_1_10_3 64 +#define BFLibraryVersionNumber_1_10_4 65 +#define BFLibraryVersionNumber_1_10_5 66 +#define BFLibraryVersionNumber_1_10_6 67 +#define BFLibraryVersionNumber_1_11_0 68 +#define BFLibraryVersionNumber_1_12_0 69 +#define BFLibraryVersionNumber_1_12_1 70 +#define BFLibraryVersionNumber_1_12_2 71 +#define BFLibraryVersionNumber_1_13_0 72 +#define BFLibraryVersionNumber_1_13_1 73 +#define BFLibraryVersionNumber_1_13_2 74 + +/** + * Current Bugfender version number. + * @note This value can be compared with the defined macros BFLibraryVersionNumber_X_Y_Z. + **/ +FOUNDATION_EXPORT double const BFLibraryVersionNumber; + +/** Defines the level of a log */ +typedef NS_ENUM(NSUInteger, BFLogLevel) +{ + /** Default/Debug log level */ + BFLogLevelDefault = 0, + /** Warning log level */ + BFLogLevelWarning = 1, + /** Error log level */ + BFLogLevelError = 2, + /** Trace log level */ + BFLogLevelTrace = 3, + /** Info log level */ + BFLogLevelInfo = 4, + /** Fatal log level */ + BFLogLevelFatal = 5 +}; + +#define BFLog(args, ...) BFLog2(BFLogLevelDefault, nil, args, ##__VA_ARGS__) +#define BFLogWarn(args, ...) BFLog2(BFLogLevelWarning, nil, args, ##__VA_ARGS__) +#define BFLogErr(args, ...) BFLog2(BFLogLevelError, nil, args, ##__VA_ARGS__) +#define BFLogTrace(args, ...) BFLog2(BFLogLevelTrace, nil, args, ##__VA_ARGS__) +#define BFLogInfo(args, ...) BFLog2(BFLogLevelInfo, nil, args, ##__VA_ARGS__) +#define BFLogFatal(args, ...) BFLog2(BFLogLevelFatal, nil, args, ##__VA_ARGS__) + +#define BFLog2(logLevel, tagName, fmt, ...) \ +[Bugfender logWithLineNumber:__LINE__ method:[NSString stringWithFormat:@"%s",__PRETTY_FUNCTION__] file:[[NSString stringWithFormat:@"%s",__FILE__] lastPathComponent] level:logLevel tag:tagName message:fmt == nil ? @"" : [NSString stringWithFormat:fmt, ##__VA_ARGS__]] + + + +/** + * Main Bugfender interface. + **/ +@interface Bugfender : NSObject + +/** ******************************************************************** ** + * @name Configuration + ** ******************************************************************** **/ + +/** + * Sets the URL of the API + * @note Usage of this function is not necessary in the general use case. Please use exclusively when + * directed from technical support. + * @warning This method must be called before activateLogger. + * @param url URL of the API to use + */ ++ (void)setApiURL:(NSURL*)url; + +/** + * Sets the URL of the Bugfender Dashboard + * @note Usage of this function is not necessary in the general use case. Please use exclusively when + * directed from technical support. + * @warning This method must be called before activateLogger. + * @param url base URL of the Bugfender's dashboard + */ ++ (void)setBaseURL:(NSURL*)url; + +/** + * Activates the Bugfender logger for a specific app. + * @param appKey The app key of the Bugfender application, get it in bugfender.com + * @warning If Bugfender has already been initialized with a different app key `NSInvalidArgumentException` will be thrown. + * @note This method needs to be called before any `BFLog` call, otherwise they will be ignored. + **/ ++ (void)activateLogger:(NSString*)appKey; + +/** + * Returns the app key. + * @return The app key, or nil if Bugfender has not been initialized. + **/ ++ (nullable NSString*)appKey; + +/** + * Maximum space available to store local logs. This value is represented in bytes. Default value is 5242880 (1024*1024*5 = 5MB). + * @note If maximumLocalStorageSize is 0 (zero), then there is no limit and everything will be stored locally. + **/ ++ (NSUInteger)maximumLocalStorageSize; + +/** + * Set the maximum space available to store local logs. This value is represented in bytes. There's a limit of 50 MB. + * @param maximumLocalStorageSize Maximum size in bytes. Range accepted is from 1 MB to 50 MB. If the value provider + * is below this range it will be set to 1 MB, if is above the range it will be set to 50 MB + **/ ++ (void)setMaximumLocalStorageSize:(NSUInteger)maximumLocalStorageSize; + +/** + * Returns the device identifier used to identify the current device in the Bugfender website. + * The device identifier is constant while the application is installed in the device. + * @note This string can not be changed, but can be shown to the user or sent to your server, in order to + * keep a relationship between a Bugfender device and a user or some other important event in your application. + * + * @return A string identifying the device. + **/ ++ (NSString*)deviceIdentifier __deprecated_msg("Use deviceIdentifierUrl instead."); + +/** + * Returns a URL linking to the current device in bugfender. + * The device identifier is constant while the application is installed in the device. + * @note This url can be sent to your server and used to create integrations with other services. Also can be stored to + * keep a relationship between a Bugfender device and a user or some other important event in your application. + * + * @return URL linking to the device in Bugfender + **/ ++ (nullable NSURL *)deviceIdentifierUrl; + +/** + * + * The session identifier is constant while the application is running. + * @return A string identifying the current session. + */ ++ (nullable NSString *)sessionIdentifier __deprecated_msg("Use sessionIdentifierUrl instead."); + +/** + * + * The session identifier url is constant while the application is running. + * @note This url can be sent to your server and used to create integrations with other services. + * @return A URL linking to the current session in Bugfender. + */ ++ (nullable NSURL *)sessionIdentifierUrl; + +/** + * Synchronizes all logs with the server all the time, regardless if this device is enabled or not. + * @note This method is useful when the logs should be sent to the server + * regardless if the device is enabled in the Bugfender Console. + * + * Logs are synchronized continuously while forceEnabled is active. + * + * This command can be called anytime, and will take effect the next time the device is online. + * @param enabled Whether logs should be sent regardless of the Bugfender Console settings. + */ ++(void) setForceEnabled:(BOOL)enabled; + +/** + * Gets the status of forceEnabled. + * @see setForceEnabled + */ ++(BOOL) forceEnabled; + +/** + * Prints messages to console for debugging purposes. + * @param enabled Whether printing to console is enabled or not. By default it is enabled. + */ ++(void) setPrintToConsole:(BOOL)enabled; + +/** + * Gets the status of printToConsole. printToConsole prints messages to console. By default it is enabled. + */ ++(BOOL) printToConsole; + +#if TARGET_OS_IOS +/** + * Logs all actions performed and screen changes in the application, such as button touches, swipes and gestures. + */ ++(void)enableUIEventLogging; + +/** + * Logs all actions performed and screen changes in the application, such as button touches, swipes and gestures. + * @param ignoredViewsTags Tags of views that should not be observed and logged by Bugfender + */ ++ (void)enableUIEventLoggingWithIgnoredViewsTags:(NSArray *)ignoredViewsTags; + +#endif + +/** + * Enable crash reporting tool functionality. + */ ++(void)enableCrashReporting; + +/** ******************************************************************** ** + * @name Device details + ** ******************************************************************** **/ + +/** + * Sets the name for the device. If the Device Name is not set, then the iOS standard device name will be automatically sent + * @note This method has to be called prior to activate logger. Otherwise, an exception will be thrown. + * @param deviceName Device name that will be shown in the Dashboard. + */ ++(void)overrideDeviceName:(NSString *)deviceName __deprecated_msg("Use setDeviceString:forKey: instead, which allows to change the name once set. This function will be removed in a future version."); + +/** + * Sets a device detail with boolean type. + * @note Similarly to an NSDictionary, where you can set key-value pairs + * related to a Bugfender device. + * @param b A boolean value. + * @param key Key. + */ ++(void)setDeviceBOOL:(BOOL)b forKey:(NSString*)key; +/** + * Sets a device detail with string type. + * @note Similarly to an NSDictionary, where you can set key-value pairs + * related to a Bugfender device. + * @param s A string value. The maximum length allowed is 192 bytes. + * @param key Key. + */ ++(void)setDeviceString:(NSString*)s forKey:(NSString*)key; +/** + * Sets a device detail with integer type. + * @note Similarly to an NSDictionary, where you can set key-value pairs + * related to a Bugfender device. + * @param i An UInt64 value. + * @param key Key. + */ ++(void)setDeviceInteger:(UInt64)i forKey:(NSString*)key; +/** + * Sets a device detail with double type. + * @note Similarly to an NSDictionary, where you can set key-value pairs + * related to a Bugfender device. + * @param d A double value. + * @param key Key. + */ ++(void)setDeviceDouble:(double)d forKey:(NSString*)key; +/** + * Removes a device detail. + * @note Similarly to an NSDictionary, where you can remove an existent key-value pair + * related to a Bugfender device by indicating its key. + * @param key Key. + */ ++(void)removeDeviceKey:(NSString*)key; + +/** ******************************************************************** ** + * @name Logging + ** ******************************************************************** **/ + +/** + * Bugfender extended interface for logging, which takes a simple string as log message. + * @note This command can be called anytime, and will take effect the next time the device is online. + * For efficiency, several log lines can be sent together to the server with some delay. + * @param lineNumber The line number of the log. + * @param method The method where the log has happened. + * @param file The file where the log has happened. + * @param level Log level. + * @param tag Tag to be applied to the log line. + * @param message Message to be logged. The message will be logged verbatim, no interpretation will be performed. + * @note In Swift, prefer to use bfprint() in order to get file name and line number filled in automatically. In Objective-C you can use the BFLog or BFLog2 macros. + **/ ++ (void) logWithLineNumber:(NSInteger)lineNumber method:(NSString*)method file:(NSString*)file level:(BFLogLevel)level tag:(nullable NSString*)tag message:(NSString*)message NS_SWIFT_NAME(log(lineNumber:method:file:level:tag:message:)); + +/** ******************************************************************** ** + * @name Commands + ** ******************************************************************** **/ + +/** + * Synchronizes all logs with the server once, regardless if this device is enabled or not. + * @note This method is useful when an error condition is detected and the logs should be sent to + * the server for analysis, regardless if the device is enabled in the Bugfender Console. + * + * Logs are synchronized only once. After that, the logs are again sent according to the enabled flag + * in the Bugfender Console. + * + * This command can be called anytime, and will take effect the next time the device is online. + */ ++ (void) forceSendOnce; + +#pragma mark - Issues +/** + * Sends an issue + * @note Sending an issue forces the logs of the current session being sent + * to the server, and marks the session so that it is highlighted in the web console. + * @param title Short description of the issue. + * @param text Full details of the issue. Markdown format is accepted. + * @return the issue identifier + */ ++ (nullable NSString *)sendIssueWithTitle:(NSString *)title text:(NSString *)text __deprecated_msg("Use sendIssueReturningUrlWithTitle:text: instead."); + +/** + * Sends an issue + * @note Sending an issue forces the logs of the current session being sent + * to the server, and marks the session so that it is highlighted in the web console. + * @param title Short description of the issue. + * @param text Full details of the issue. Markdown format is accepted. + * @return an URL linking to the issue in Bugfender + */ ++ (nullable NSURL *)sendIssueReturningUrlWithTitle:(NSString *)title text:(NSString *)text; + +#pragma mark - Crashes + +/** + * Sends a crash + * @note This method will send immediately a crash to the server + * it doesn't take into account if crash reporting is enabled or not + * @param title Short description of the crash. + * @param text Full details of the crarsh. + * @return an URL linking to the crash in Bugfender + */ ++ (nullable NSURL *)sendCrashWithTitle:(NSString *)title text:(NSString *)text; + +#if TARGET_OS_IOS + +#pragma mark - User Feedback + +/** + Provides a View Controller to gather the feedback of the users and sent it to Bugfender. + The returning BFUserFeedbackNavigationController has to be presented modally and it has it's own Send and Cancel buttons + + Additionally, it is possible to customize the aspect of the screen accessing BFUserFeedbackNavigationController.feedbackViewController + + @param title Title for the navigation bar + @param hint Short text at the beginning + @param subjectPlaceholder placeholder in the subject textfield + @param messagePlaceholder placeholder in the message textfield + @param sendButtonTitle title for the send button in the navigation bar + @param cancelButtonTitle title for the cancel button + @return BFUserFeedbackNavigationController containing a BFUserFeedbackViewController as root view controller + */ ++ (BFUserFeedbackNavigationController *)userFeedbackViewControllerWithTitle:(NSString *)title + hint:(NSString *)hint + subjectPlaceholder:(NSString *)subjectPlaceholder + messagePlaceholder:(NSString *)messagePlaceholder + sendButtonTitle:(NSString *)sendButtonTitle + cancelButtonTitle:(NSString *)cancelButtonTitle + completion:(void (^ _Nullable )(BOOL feedbackSent, NSURL * _Nullable url))completionBlock; + +#endif + +/** + Allows to create custom UI to gather user feedback and send to Bugfender. + + @param subject subject of the feedback + @param message message of the feedback + */ ++ (void)sendUserFeedbackWithSubject:(NSString *)subject message:(NSString *)message __deprecated_msg("Use sendUserFeedbackReturningUrlWithSubject:message: instead."); + +/** + Allows to create custom UI to gather user feedback and send to Bugfender. + + @param subject subject of the feedback + @param message message of the feedback + @return URL linking to Bugfender + */ ++ (nullable NSURL *)sendUserFeedbackReturningUrlWithSubject:(NSString *)subject message:(NSString *)message; + +/** + * Logs all logs written via NSLog or OSLog. + */ ++ (void)enableNSLogLogging API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0)); + +/** + * Logs all logs written via NSLog or OSLog. + * @param interceptor intercept the logs and allow to modify or to block them before they are sent to Bugfender + */ ++ (void)enableNSLogLoggingWithInterceptor:(id )interceptor API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0)) NS_SWIFT_NAME(enableNSLogLogging(withInterceptor:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Modules/BugfenderSDK.swiftmodule/arm64-apple-ios-macabi.swiftdoc b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Modules/BugfenderSDK.swiftmodule/arm64-apple-ios-macabi.swiftdoc new file mode 100644 index 0000000..2fd1b7f Binary files /dev/null and b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Modules/BugfenderSDK.swiftmodule/arm64-apple-ios-macabi.swiftdoc differ diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Modules/BugfenderSDK.swiftmodule/arm64-apple-ios-macabi.swiftinterface b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Modules/BugfenderSDK.swiftmodule/arm64-apple-ios-macabi.swiftinterface new file mode 100644 index 0000000..e7109b5 --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Modules/BugfenderSDK.swiftmodule/arm64-apple-ios-macabi.swiftinterface @@ -0,0 +1,19 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12) +// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name BugfenderSDK +@_exported import BugfenderSDK +import Foundation +import Swift +import _Concurrency +extension BugfenderSDK.Bugfender { + public class func print(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "\n", tag: Swift.String? = nil, level: BugfenderSDK.BFLogLevel = .default, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) + public class func error(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "\n", tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) + public class func warning(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "\n", tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +} +public func BFLog(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, level: BugfenderSDK.BFLogLevel = .default, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogWarn(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogErr(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogTrace(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogInfo(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogFatal(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func bfprint(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "", tag: Swift.String? = nil, level: BugfenderSDK.BFLogLevel = .default, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Modules/BugfenderSDK.swiftmodule/x86_64-apple-ios-macabi.swiftdoc b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Modules/BugfenderSDK.swiftmodule/x86_64-apple-ios-macabi.swiftdoc new file mode 100644 index 0000000..4149561 Binary files /dev/null and b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Modules/BugfenderSDK.swiftmodule/x86_64-apple-ios-macabi.swiftdoc differ diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Modules/BugfenderSDK.swiftmodule/x86_64-apple-ios-macabi.swiftinterface b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Modules/BugfenderSDK.swiftmodule/x86_64-apple-ios-macabi.swiftinterface new file mode 100644 index 0000000..9b1751a --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Modules/BugfenderSDK.swiftmodule/x86_64-apple-ios-macabi.swiftinterface @@ -0,0 +1,19 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12) +// 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 BugfenderSDK +@_exported import BugfenderSDK +import Foundation +import Swift +import _Concurrency +extension BugfenderSDK.Bugfender { + public class func print(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "\n", tag: Swift.String? = nil, level: BugfenderSDK.BFLogLevel = .default, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) + public class func error(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "\n", tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) + public class func warning(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "\n", tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +} +public func BFLog(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, level: BugfenderSDK.BFLogLevel = .default, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogWarn(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogErr(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogTrace(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogInfo(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogFatal(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func bfprint(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "", tag: Swift.String? = nil, level: BugfenderSDK.BFLogLevel = .default, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Modules/module.modulemap b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 0000000..bbe235f --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module BugfenderSDK { + umbrella header "BugfenderSDK.h" + + export * + module * { export * } +} + +module BugfenderSDK.Swift { + header "BugfenderSDK-Swift.h" + requires objc +} diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Resources/Info.plist b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Resources/Info.plist new file mode 100644 index 0000000..a907867 --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,50 @@ + + + + + BuildMachineOSBuild + 23A344 + CFBundleDevelopmentRegion + en + CFBundleExecutable + BugfenderSDK + CFBundleIdentifier + com.bugfender.BugfenderSDK + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + BugfenderSDK + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 13F100 + DTPlatformName + macosx + DTPlatformVersion + 12.3 + DTSDKBuild + 21E226 + DTSDKName + macosx12.3 + DTXcode + 1341 + DTXcodeBuild + 13F100 + LSMinimumSystemVersion + 10.15 + UIDeviceFamily + + 2 + + + diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Resources/PrivacyInfo.xcprivacy b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..e9c566d --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,34 @@ + + + + + NSPrivacyTracking + + NSPrivacyCollectedDataTypes + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeOtherDiagnosticData + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeOther + + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + + + + diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/BugfenderSDK b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/BugfenderSDK new file mode 100755 index 0000000..8c82a8e Binary files /dev/null and b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/BugfenderSDK differ diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Headers/BFDefaultLogInterceptor.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Headers/BFDefaultLogInterceptor.h new file mode 100644 index 0000000..53bb420 --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Headers/BFDefaultLogInterceptor.h @@ -0,0 +1,13 @@ +// +// Created by Fran Montiel on 24/1/23. +// Copyright (c) 2023 Beenario GmbH. All rights reserved. +// + +#import +#import "BFLogInterceptor.h" + +/** + * Default BFLogInterceptor that returns the same BFInterceptedLog that receives + */ +@interface BFDefaultLogInterceptor: NSObject +@end diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Headers/BFInterceptedLog.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Headers/BFInterceptedLog.h new file mode 100644 index 0000000..0669af7 --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Headers/BFInterceptedLog.h @@ -0,0 +1,60 @@ +// +// BFInterceptedLog.h +// BugfenderSDK +// +// Created by Fran Montiel on 24/1/23. +// Copyright © 2023 Beenario GmbH. All rights reserved. +// + +#import + +/** + * Intercepted log from NSLog/OSLog + */ +@interface BFInterceptedLog : NSObject + +/** + * Initializes an BFInterceptedLog with a timestamp, text, and log level. + * @note You will usually not need to use this method. + * @param text Text of the log. + * @param level Level of the log. See BFLogLevel enum for possible values. + * @param date Timestamp of the log. + */ +-(instancetype _Nonnull) initWithText: (NSString*_Nonnull) text level: (NSInteger)level date: (NSDate*_Nonnull) date; + +/** + * Line in the source file where the log was originated. + */ +@property (nonatomic, assign) NSInteger line; + +/** + * Level of the log. See BFLogLevel enum for possible values. + */ +@property (nonatomic, assign) NSInteger level; + +/** + * Timestamp of the log. + */ +@property (nonatomic, strong) NSDate * _Nonnull date; + +/** + * Tag (or category) of the log. + */ +@property (nonatomic, strong) NSString * _Nonnull tag; + +/** + * Method of the source file where the log was originated. + */ +@property (nonatomic, strong) NSString * _Nonnull method; + +/** + * Source file name where the log was originated. + */ +@property (nonatomic, strong) NSString * _Nonnull file; + +/** + * Text of the log. + */ +@property (nonatomic, strong) NSString * _Nonnull text; + +@end diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Headers/BFLogInterceptor.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Headers/BFLogInterceptor.h new file mode 100644 index 0000000..dc8496e --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Headers/BFLogInterceptor.h @@ -0,0 +1,24 @@ +// +// NSLogInterceptor.h +// BugfenderSDK +// +// Created by Fran Montiel on 24/1/23. +// Copyright © 2023 Beenario GmbH. All rights reserved. +// + +#import +#import "BFInterceptedLog.h" + +/** + * Intercept a log entry from NSLog/OSLog and allow to modify it or to block it. + */ +@protocol BFLogInterceptor + +/** + * Intercept a log entry from NSLog/OSLog and allow to modify it or to block it. + * @param interceptedLog log intercepted + * @return The log entry to be logged. If nil is returned the log entry won't be logged. + */ +- (BFInterceptedLog *)intercept:(BFInterceptedLog *)interceptedLog; + +@end diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Headers/BFUserFeedbackNavigationController.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Headers/BFUserFeedbackNavigationController.h new file mode 100644 index 0000000..51679ab --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Headers/BFUserFeedbackNavigationController.h @@ -0,0 +1,53 @@ +// +// BFUserFeedbackViewController.h +// BugfenderSDK +// +// Created by Rubén Vázquez Otero on 15/10/2018. +// Copyright © 2018 Beenario GmbH. All rights reserved. +// + +#if TARGET_OS_IOS + +#import "BFUserFeedbackViewController.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * Navigation View Controller containing a BFUserFeedbackNavigationController as rootViewController + */ +@interface BFUserFeedbackNavigationController : UINavigationController + + + +/** + * Root View Controller containing a table with the textfields used to gather feedback + */ +@property (nonatomic, strong) BFUserFeedbackViewController *feedbackViewController; + +/** + Provides a View Controller to gather the feedback of the users and sent it to Bugfender. + The returning BFUserFeedbackNavigationController has to be presented modally and it has it's own Send and Cancel buttons + + Additionally, it is possible to customize the aspect of the screen accessing BFUserFeedbackNavigationController.feedbackViewController + + @param title Title for the navigation bar + @param hint Short text at the beginning + @param subjectPlaceholder placeholder in the subject textfield + @param messagePlaceholder placeholder in the message textfield + @param sendButtonTitle title for the send button in the navigation bar + @param cancelButtonTitle title for the cancel button + @return BFUserFeedbackNavigationController containing a BFUserFeedbackViewController as root view controller + */ ++ (BFUserFeedbackNavigationController *)userFeedbackViewControllerWithTitle:(NSString *)title + hint:(NSString *)hint + subjectPlaceholder:(NSString *)subjectPlaceholder + messagePlaceholder:(NSString *)messagePlaceholder + sendButtonTitle:(NSString *)sendButtonTitle + cancelButtonTitle:(NSString *)cancelButtonTitle + completion:(void (^)(BOOL feedbackSent, NSURL * _Nullable url))completionBlock; + + +@end + +NS_ASSUME_NONNULL_END +#endif diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Headers/BFUserFeedbackViewController.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Headers/BFUserFeedbackViewController.h new file mode 100644 index 0000000..93b5f2c --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Headers/BFUserFeedbackViewController.h @@ -0,0 +1,114 @@ +// +// BFUserFeedbackViewController.h +// BugfenderSDK +// +// Created by Rubén Vázquez Otero on 16/10/2018. +// Copyright © 2018 Beenario GmbH. All rights reserved. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * BFUserFeedbackViewController provides a basic and configurable view controller to gather feedback from the users + */ +@interface BFUserFeedbackViewController : UITableViewController { + +} + +#pragma mark - Background colors + +/** + The background of the view controller + */ +@property (nonatomic, strong) UIColor *mainBackgroundColor; + +/** + Background for textfields + */ +@property (nonatomic, strong) UIColor *secondaryBackgroundColor; + +#pragma mark - Hint + +/** + The hint is the upper text in the view controller. + Use the hint give instructions to your users or just to thank them for providing feedback + */ +@property (nonatomic, strong) NSString *hint; + +/** + * Font from the hint + */ +@property (nonatomic, strong) UIFont *hintFont; + +/** + * Font color from the hint + */ +@property (nonatomic, strong) UIColor *hintFontColor; + +#pragma mark - Subject + +/** + The subject of the feedback. + Remember to provide a placeholder + */ +@property (nonatomic, strong) UIFont *subjectFont; + +/** + * Font color from the subject textfield + */ +@property (nonatomic, strong) UIColor *subjectFontColor; + +/** + * Font color for the placeholder of the subject textfield + */ +@property (nonatomic, strong) UIColor *subjectPlaceholderFontColor; + +/** + * Subject placeholder + */ +@property (nonatomic, strong) NSString *subjectPlaceholder; + +#pragma mark - Message +/** + The message of the feedback + Remember to provide a placeholder + */ +@property (nonatomic, strong) UIFont *messageFont; + +/** + * Message font color + */ +@property (nonatomic, strong) UIColor *messageFontColor; + +/** + * Message placeholder font color + */ +@property (nonatomic, strong) UIColor *messagePlaceholderFontColor; + +/** + * Message placeholder + */ +@property (nonatomic, strong) NSString *messagePlaceholder; + +#pragma mark - Actions + +/** + * Hide view controller + */ +- (void)dismiss; + +/** + * Send feedback to Bugfender + */ +- (void)sendFeedback; + +/** + Pass a block if you want to be notified after feedback was sent (or not) + */ +@property (nonatomic, copy) void (^completionBlock)(BOOL feedbackSent, NSURL * _Nullable url); + +@end + +NS_ASSUME_NONNULL_END diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Headers/BugfenderSDK-Swift.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Headers/BugfenderSDK-Swift.h new file mode 100644 index 0000000..7ea8f74 --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Headers/BugfenderSDK-Swift.h @@ -0,0 +1,446 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12) +#ifndef BUGFENDERSDK_SWIFT_H +#define BUGFENDERSDK_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="BugfenderSDK",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12) +#ifndef BUGFENDERSDK_SWIFT_H +#define BUGFENDERSDK_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="BugfenderSDK",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Headers/BugfenderSDK.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Headers/BugfenderSDK.h new file mode 100644 index 0000000..cbdcad7 --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Headers/BugfenderSDK.h @@ -0,0 +1,443 @@ +// +// BugfenderSDK.h +// BugfenderSDK +// Copyright (c) 2014 Bugfender GmbH. All rights reserved. +// + +#import +#import "BFLogInterceptor.h" +#import "BFDefaultLogInterceptor.h" + +#if TARGET_OS_IOS + +#import "BFUserFeedbackNavigationController.h" + +#endif + +NS_ASSUME_NONNULL_BEGIN + +#define BFLibraryVersionNumber_0_1_0 0 +#define BFLibraryVersionNumber_0_2_0 1 +#define BFLibraryVersionNumber_0_2_1 2 +#define BFLibraryVersionNumber_0_3_0 3 +#define BFLibraryVersionNumber_0_3_1 4 +#define BFLibraryVersionNumber_0_3_2 5 +#define BFLibraryVersionNumber_0_3_3 6 +#define BFLibraryVersionNumber_0_3_4 7 +#define BFLibraryVersionNumber_0_3_5 8 +#define BFLibraryVersionNumber_0_3_6 9 +#define BFLibraryVersionNumber_0_3_7 10 +#define BFLibraryVersionNumber_0_3_8 11 +#define BFLibraryVersionNumber_0_3_9 12 +#define BFLibraryVersionNumber_0_3_10 13 +#define BFLibraryVersionNumber_0_3_11 14 +#define BFLibraryVersionNumber_0_3_12 15 +#define BFLibraryVersionNumber_0_3_13 16 +#define BFLibraryVersionNumber_0_3_14 17 +#define BFLibraryVersionNumber_0_3_15 18 +#define BFLibraryVersionNumber_0_3_16 19 +#define BFLibraryVersionNumber_0_3_17 20 +#define BFLibraryVersionNumber_0_3_18 21 +#define BFLibraryVersionNumber_0_3_19 22 +#define BFLibraryVersionNumber_0_3_20 23 +#define BFLibraryVersionNumber_0_3_21 24 +#define BFLibraryVersionNumber_0_3_22 25 +#define BFLibraryVersionNumber_0_3_23 26 +#define BFLibraryVersionNumber_0_3_24 27 +#define BFLibraryVersionNumber_0_3_25 28 +#define BFLibraryVersionNumber_0_3_26 29 +#define BFLibraryVersionNumber_0_3_27 30 +#define BFLibraryVersionNumber_1_4_0 31 +#define BFLibraryVersionNumber_1_4_1 32 +#define BFLibraryVersionNumber_1_4_2 33 +#define BFLibraryVersionNumber_1_4_3 34 +#define BFLibraryVersionNumber_1_4_4 34 // Mistake: We released the version without incrementing the number. +#define BFLibraryVersionNumber_1_4_5 36 +#define BFLibraryVersionNumber_1_4_6 37 +#define BFLibraryVersionNumber_1_4_7 38 +#define BFLibraryVersionNumber_1_4_8 39 +#define BFLibraryVersionNumber_1_4_9 40 +#define BFLibraryVersionNumber_1_4_10 41 +#define BFLibraryVersionNumber_1_5_0 42 +#define BFLibraryVersionNumber_1_5_1 43 +#define BFLibraryVersionNumber_1_5_2 44 +#define BFLibraryVersionNumber_1_5_3 45 +#define BFLibraryVersionNumber_1_5_4 46 +#define BFLibraryVersionNumber_1_5_5 47 +#define BFLibraryVersionNumber_1_5_6 48 +#define BFLibraryVersionNumber_1_6_0 49 +#define BFLibraryVersionNumber_1_6_1 50 +#define BFLibraryVersionNumber_1_6_2 51 +#define BFLibraryVersionNumber_1_6_3 52 +#define BFLibraryVersionNumber_1_6_4 53 +#define BFLibraryVersionNumber_1_6_5 54 +#define BFLibraryVersionNumber_1_6_6 55 +#define BFLibraryVersionNumber_1_7_0 56 +#define BFLibraryVersionNumber_1_8_0 57 +#define BFLibraryVersionNumber_1_9_0 58 +#define BFLibraryVersionNumber_1_9_1 59 +#define BFLibraryVersionNumber_1_9_2 60 +#define BFLibraryVersionNumber_1_10_0 61 +#define BFLibraryVersionNumber_1_10_1 62 +#define BFLibraryVersionNumber_1_10_2 63 +#define BFLibraryVersionNumber_1_10_3 64 +#define BFLibraryVersionNumber_1_10_4 65 +#define BFLibraryVersionNumber_1_10_5 66 +#define BFLibraryVersionNumber_1_10_6 67 +#define BFLibraryVersionNumber_1_11_0 68 +#define BFLibraryVersionNumber_1_12_0 69 +#define BFLibraryVersionNumber_1_12_1 70 +#define BFLibraryVersionNumber_1_12_2 71 +#define BFLibraryVersionNumber_1_13_0 72 +#define BFLibraryVersionNumber_1_13_1 73 +#define BFLibraryVersionNumber_1_13_2 74 + +/** + * Current Bugfender version number. + * @note This value can be compared with the defined macros BFLibraryVersionNumber_X_Y_Z. + **/ +FOUNDATION_EXPORT double const BFLibraryVersionNumber; + +/** Defines the level of a log */ +typedef NS_ENUM(NSUInteger, BFLogLevel) +{ + /** Default/Debug log level */ + BFLogLevelDefault = 0, + /** Warning log level */ + BFLogLevelWarning = 1, + /** Error log level */ + BFLogLevelError = 2, + /** Trace log level */ + BFLogLevelTrace = 3, + /** Info log level */ + BFLogLevelInfo = 4, + /** Fatal log level */ + BFLogLevelFatal = 5 +}; + +#define BFLog(args, ...) BFLog2(BFLogLevelDefault, nil, args, ##__VA_ARGS__) +#define BFLogWarn(args, ...) BFLog2(BFLogLevelWarning, nil, args, ##__VA_ARGS__) +#define BFLogErr(args, ...) BFLog2(BFLogLevelError, nil, args, ##__VA_ARGS__) +#define BFLogTrace(args, ...) BFLog2(BFLogLevelTrace, nil, args, ##__VA_ARGS__) +#define BFLogInfo(args, ...) BFLog2(BFLogLevelInfo, nil, args, ##__VA_ARGS__) +#define BFLogFatal(args, ...) BFLog2(BFLogLevelFatal, nil, args, ##__VA_ARGS__) + +#define BFLog2(logLevel, tagName, fmt, ...) \ +[Bugfender logWithLineNumber:__LINE__ method:[NSString stringWithFormat:@"%s",__PRETTY_FUNCTION__] file:[[NSString stringWithFormat:@"%s",__FILE__] lastPathComponent] level:logLevel tag:tagName message:fmt == nil ? @"" : [NSString stringWithFormat:fmt, ##__VA_ARGS__]] + + + +/** + * Main Bugfender interface. + **/ +@interface Bugfender : NSObject + +/** ******************************************************************** ** + * @name Configuration + ** ******************************************************************** **/ + +/** + * Sets the URL of the API + * @note Usage of this function is not necessary in the general use case. Please use exclusively when + * directed from technical support. + * @warning This method must be called before activateLogger. + * @param url URL of the API to use + */ ++ (void)setApiURL:(NSURL*)url; + +/** + * Sets the URL of the Bugfender Dashboard + * @note Usage of this function is not necessary in the general use case. Please use exclusively when + * directed from technical support. + * @warning This method must be called before activateLogger. + * @param url base URL of the Bugfender's dashboard + */ ++ (void)setBaseURL:(NSURL*)url; + +/** + * Activates the Bugfender logger for a specific app. + * @param appKey The app key of the Bugfender application, get it in bugfender.com + * @warning If Bugfender has already been initialized with a different app key `NSInvalidArgumentException` will be thrown. + * @note This method needs to be called before any `BFLog` call, otherwise they will be ignored. + **/ ++ (void)activateLogger:(NSString*)appKey; + +/** + * Returns the app key. + * @return The app key, or nil if Bugfender has not been initialized. + **/ ++ (nullable NSString*)appKey; + +/** + * Maximum space available to store local logs. This value is represented in bytes. Default value is 5242880 (1024*1024*5 = 5MB). + * @note If maximumLocalStorageSize is 0 (zero), then there is no limit and everything will be stored locally. + **/ ++ (NSUInteger)maximumLocalStorageSize; + +/** + * Set the maximum space available to store local logs. This value is represented in bytes. There's a limit of 50 MB. + * @param maximumLocalStorageSize Maximum size in bytes. Range accepted is from 1 MB to 50 MB. If the value provider + * is below this range it will be set to 1 MB, if is above the range it will be set to 50 MB + **/ ++ (void)setMaximumLocalStorageSize:(NSUInteger)maximumLocalStorageSize; + +/** + * Returns the device identifier used to identify the current device in the Bugfender website. + * The device identifier is constant while the application is installed in the device. + * @note This string can not be changed, but can be shown to the user or sent to your server, in order to + * keep a relationship between a Bugfender device and a user or some other important event in your application. + * + * @return A string identifying the device. + **/ ++ (NSString*)deviceIdentifier __deprecated_msg("Use deviceIdentifierUrl instead."); + +/** + * Returns a URL linking to the current device in bugfender. + * The device identifier is constant while the application is installed in the device. + * @note This url can be sent to your server and used to create integrations with other services. Also can be stored to + * keep a relationship between a Bugfender device and a user or some other important event in your application. + * + * @return URL linking to the device in Bugfender + **/ ++ (nullable NSURL *)deviceIdentifierUrl; + +/** + * + * The session identifier is constant while the application is running. + * @return A string identifying the current session. + */ ++ (nullable NSString *)sessionIdentifier __deprecated_msg("Use sessionIdentifierUrl instead."); + +/** + * + * The session identifier url is constant while the application is running. + * @note This url can be sent to your server and used to create integrations with other services. + * @return A URL linking to the current session in Bugfender. + */ ++ (nullable NSURL *)sessionIdentifierUrl; + +/** + * Synchronizes all logs with the server all the time, regardless if this device is enabled or not. + * @note This method is useful when the logs should be sent to the server + * regardless if the device is enabled in the Bugfender Console. + * + * Logs are synchronized continuously while forceEnabled is active. + * + * This command can be called anytime, and will take effect the next time the device is online. + * @param enabled Whether logs should be sent regardless of the Bugfender Console settings. + */ ++(void) setForceEnabled:(BOOL)enabled; + +/** + * Gets the status of forceEnabled. + * @see setForceEnabled + */ ++(BOOL) forceEnabled; + +/** + * Prints messages to console for debugging purposes. + * @param enabled Whether printing to console is enabled or not. By default it is enabled. + */ ++(void) setPrintToConsole:(BOOL)enabled; + +/** + * Gets the status of printToConsole. printToConsole prints messages to console. By default it is enabled. + */ ++(BOOL) printToConsole; + +#if TARGET_OS_IOS +/** + * Logs all actions performed and screen changes in the application, such as button touches, swipes and gestures. + */ ++(void)enableUIEventLogging; + +/** + * Logs all actions performed and screen changes in the application, such as button touches, swipes and gestures. + * @param ignoredViewsTags Tags of views that should not be observed and logged by Bugfender + */ ++ (void)enableUIEventLoggingWithIgnoredViewsTags:(NSArray *)ignoredViewsTags; + +#endif + +/** + * Enable crash reporting tool functionality. + */ ++(void)enableCrashReporting; + +/** ******************************************************************** ** + * @name Device details + ** ******************************************************************** **/ + +/** + * Sets the name for the device. If the Device Name is not set, then the iOS standard device name will be automatically sent + * @note This method has to be called prior to activate logger. Otherwise, an exception will be thrown. + * @param deviceName Device name that will be shown in the Dashboard. + */ ++(void)overrideDeviceName:(NSString *)deviceName __deprecated_msg("Use setDeviceString:forKey: instead, which allows to change the name once set. This function will be removed in a future version."); + +/** + * Sets a device detail with boolean type. + * @note Similarly to an NSDictionary, where you can set key-value pairs + * related to a Bugfender device. + * @param b A boolean value. + * @param key Key. + */ ++(void)setDeviceBOOL:(BOOL)b forKey:(NSString*)key; +/** + * Sets a device detail with string type. + * @note Similarly to an NSDictionary, where you can set key-value pairs + * related to a Bugfender device. + * @param s A string value. The maximum length allowed is 192 bytes. + * @param key Key. + */ ++(void)setDeviceString:(NSString*)s forKey:(NSString*)key; +/** + * Sets a device detail with integer type. + * @note Similarly to an NSDictionary, where you can set key-value pairs + * related to a Bugfender device. + * @param i An UInt64 value. + * @param key Key. + */ ++(void)setDeviceInteger:(UInt64)i forKey:(NSString*)key; +/** + * Sets a device detail with double type. + * @note Similarly to an NSDictionary, where you can set key-value pairs + * related to a Bugfender device. + * @param d A double value. + * @param key Key. + */ ++(void)setDeviceDouble:(double)d forKey:(NSString*)key; +/** + * Removes a device detail. + * @note Similarly to an NSDictionary, where you can remove an existent key-value pair + * related to a Bugfender device by indicating its key. + * @param key Key. + */ ++(void)removeDeviceKey:(NSString*)key; + +/** ******************************************************************** ** + * @name Logging + ** ******************************************************************** **/ + +/** + * Bugfender extended interface for logging, which takes a simple string as log message. + * @note This command can be called anytime, and will take effect the next time the device is online. + * For efficiency, several log lines can be sent together to the server with some delay. + * @param lineNumber The line number of the log. + * @param method The method where the log has happened. + * @param file The file where the log has happened. + * @param level Log level. + * @param tag Tag to be applied to the log line. + * @param message Message to be logged. The message will be logged verbatim, no interpretation will be performed. + * @note In Swift, prefer to use bfprint() in order to get file name and line number filled in automatically. In Objective-C you can use the BFLog or BFLog2 macros. + **/ ++ (void) logWithLineNumber:(NSInteger)lineNumber method:(NSString*)method file:(NSString*)file level:(BFLogLevel)level tag:(nullable NSString*)tag message:(NSString*)message NS_SWIFT_NAME(log(lineNumber:method:file:level:tag:message:)); + +/** ******************************************************************** ** + * @name Commands + ** ******************************************************************** **/ + +/** + * Synchronizes all logs with the server once, regardless if this device is enabled or not. + * @note This method is useful when an error condition is detected and the logs should be sent to + * the server for analysis, regardless if the device is enabled in the Bugfender Console. + * + * Logs are synchronized only once. After that, the logs are again sent according to the enabled flag + * in the Bugfender Console. + * + * This command can be called anytime, and will take effect the next time the device is online. + */ ++ (void) forceSendOnce; + +#pragma mark - Issues +/** + * Sends an issue + * @note Sending an issue forces the logs of the current session being sent + * to the server, and marks the session so that it is highlighted in the web console. + * @param title Short description of the issue. + * @param text Full details of the issue. Markdown format is accepted. + * @return the issue identifier + */ ++ (nullable NSString *)sendIssueWithTitle:(NSString *)title text:(NSString *)text __deprecated_msg("Use sendIssueReturningUrlWithTitle:text: instead."); + +/** + * Sends an issue + * @note Sending an issue forces the logs of the current session being sent + * to the server, and marks the session so that it is highlighted in the web console. + * @param title Short description of the issue. + * @param text Full details of the issue. Markdown format is accepted. + * @return an URL linking to the issue in Bugfender + */ ++ (nullable NSURL *)sendIssueReturningUrlWithTitle:(NSString *)title text:(NSString *)text; + +#pragma mark - Crashes + +/** + * Sends a crash + * @note This method will send immediately a crash to the server + * it doesn't take into account if crash reporting is enabled or not + * @param title Short description of the crash. + * @param text Full details of the crarsh. + * @return an URL linking to the crash in Bugfender + */ ++ (nullable NSURL *)sendCrashWithTitle:(NSString *)title text:(NSString *)text; + +#if TARGET_OS_IOS + +#pragma mark - User Feedback + +/** + Provides a View Controller to gather the feedback of the users and sent it to Bugfender. + The returning BFUserFeedbackNavigationController has to be presented modally and it has it's own Send and Cancel buttons + + Additionally, it is possible to customize the aspect of the screen accessing BFUserFeedbackNavigationController.feedbackViewController + + @param title Title for the navigation bar + @param hint Short text at the beginning + @param subjectPlaceholder placeholder in the subject textfield + @param messagePlaceholder placeholder in the message textfield + @param sendButtonTitle title for the send button in the navigation bar + @param cancelButtonTitle title for the cancel button + @return BFUserFeedbackNavigationController containing a BFUserFeedbackViewController as root view controller + */ ++ (BFUserFeedbackNavigationController *)userFeedbackViewControllerWithTitle:(NSString *)title + hint:(NSString *)hint + subjectPlaceholder:(NSString *)subjectPlaceholder + messagePlaceholder:(NSString *)messagePlaceholder + sendButtonTitle:(NSString *)sendButtonTitle + cancelButtonTitle:(NSString *)cancelButtonTitle + completion:(void (^ _Nullable )(BOOL feedbackSent, NSURL * _Nullable url))completionBlock; + +#endif + +/** + Allows to create custom UI to gather user feedback and send to Bugfender. + + @param subject subject of the feedback + @param message message of the feedback + */ ++ (void)sendUserFeedbackWithSubject:(NSString *)subject message:(NSString *)message __deprecated_msg("Use sendUserFeedbackReturningUrlWithSubject:message: instead."); + +/** + Allows to create custom UI to gather user feedback and send to Bugfender. + + @param subject subject of the feedback + @param message message of the feedback + @return URL linking to Bugfender + */ ++ (nullable NSURL *)sendUserFeedbackReturningUrlWithSubject:(NSString *)subject message:(NSString *)message; + +/** + * Logs all logs written via NSLog or OSLog. + */ ++ (void)enableNSLogLogging API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0)); + +/** + * Logs all logs written via NSLog or OSLog. + * @param interceptor intercept the logs and allow to modify or to block them before they are sent to Bugfender + */ ++ (void)enableNSLogLoggingWithInterceptor:(id )interceptor API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0)) NS_SWIFT_NAME(enableNSLogLogging(withInterceptor:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Modules/BugfenderSDK.swiftmodule/arm64-apple-ios-macabi.swiftdoc b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Modules/BugfenderSDK.swiftmodule/arm64-apple-ios-macabi.swiftdoc new file mode 100644 index 0000000..2fd1b7f Binary files /dev/null and b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Modules/BugfenderSDK.swiftmodule/arm64-apple-ios-macabi.swiftdoc differ diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Modules/BugfenderSDK.swiftmodule/arm64-apple-ios-macabi.swiftinterface b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Modules/BugfenderSDK.swiftmodule/arm64-apple-ios-macabi.swiftinterface new file mode 100644 index 0000000..e7109b5 --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Modules/BugfenderSDK.swiftmodule/arm64-apple-ios-macabi.swiftinterface @@ -0,0 +1,19 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12) +// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name BugfenderSDK +@_exported import BugfenderSDK +import Foundation +import Swift +import _Concurrency +extension BugfenderSDK.Bugfender { + public class func print(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "\n", tag: Swift.String? = nil, level: BugfenderSDK.BFLogLevel = .default, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) + public class func error(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "\n", tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) + public class func warning(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "\n", tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +} +public func BFLog(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, level: BugfenderSDK.BFLogLevel = .default, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogWarn(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogErr(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogTrace(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogInfo(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogFatal(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func bfprint(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "", tag: Swift.String? = nil, level: BugfenderSDK.BFLogLevel = .default, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Modules/BugfenderSDK.swiftmodule/x86_64-apple-ios-macabi.swiftdoc b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Modules/BugfenderSDK.swiftmodule/x86_64-apple-ios-macabi.swiftdoc new file mode 100644 index 0000000..4149561 Binary files /dev/null and b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Modules/BugfenderSDK.swiftmodule/x86_64-apple-ios-macabi.swiftdoc differ diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Modules/BugfenderSDK.swiftmodule/x86_64-apple-ios-macabi.swiftinterface b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Modules/BugfenderSDK.swiftmodule/x86_64-apple-ios-macabi.swiftinterface new file mode 100644 index 0000000..9b1751a --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Modules/BugfenderSDK.swiftmodule/x86_64-apple-ios-macabi.swiftinterface @@ -0,0 +1,19 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12) +// 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 BugfenderSDK +@_exported import BugfenderSDK +import Foundation +import Swift +import _Concurrency +extension BugfenderSDK.Bugfender { + public class func print(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "\n", tag: Swift.String? = nil, level: BugfenderSDK.BFLogLevel = .default, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) + public class func error(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "\n", tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) + public class func warning(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "\n", tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +} +public func BFLog(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, level: BugfenderSDK.BFLogLevel = .default, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogWarn(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogErr(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogTrace(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogInfo(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogFatal(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func bfprint(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "", tag: Swift.String? = nil, level: BugfenderSDK.BFLogLevel = .default, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Modules/module.modulemap b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Modules/module.modulemap new file mode 100644 index 0000000..bbe235f --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module BugfenderSDK { + umbrella header "BugfenderSDK.h" + + export * + module * { export * } +} + +module BugfenderSDK.Swift { + header "BugfenderSDK-Swift.h" + requires objc +} diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Resources/Info.plist b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Resources/Info.plist new file mode 100644 index 0000000..a907867 --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Resources/Info.plist @@ -0,0 +1,50 @@ + + + + + BuildMachineOSBuild + 23A344 + CFBundleDevelopmentRegion + en + CFBundleExecutable + BugfenderSDK + CFBundleIdentifier + com.bugfender.BugfenderSDK + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + BugfenderSDK + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 13F100 + DTPlatformName + macosx + DTPlatformVersion + 12.3 + DTSDKBuild + 21E226 + DTSDKName + macosx12.3 + DTXcode + 1341 + DTXcodeBuild + 13F100 + LSMinimumSystemVersion + 10.15 + UIDeviceFamily + + 2 + + + diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Resources/PrivacyInfo.xcprivacy b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..e9c566d --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/Current/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,34 @@ + + + + + NSPrivacyTracking + + NSPrivacyCollectedDataTypes + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeOtherDiagnosticData + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeOther + + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + + + + diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/BugfenderSDK b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/BugfenderSDK new file mode 100755 index 0000000..795bd3c Binary files /dev/null and b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/BugfenderSDK differ diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Headers/BFDefaultLogInterceptor.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Headers/BFDefaultLogInterceptor.h new file mode 100644 index 0000000..53bb420 --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Headers/BFDefaultLogInterceptor.h @@ -0,0 +1,13 @@ +// +// Created by Fran Montiel on 24/1/23. +// Copyright (c) 2023 Beenario GmbH. All rights reserved. +// + +#import +#import "BFLogInterceptor.h" + +/** + * Default BFLogInterceptor that returns the same BFInterceptedLog that receives + */ +@interface BFDefaultLogInterceptor: NSObject +@end diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Headers/BFInterceptedLog.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Headers/BFInterceptedLog.h new file mode 100644 index 0000000..0669af7 --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Headers/BFInterceptedLog.h @@ -0,0 +1,60 @@ +// +// BFInterceptedLog.h +// BugfenderSDK +// +// Created by Fran Montiel on 24/1/23. +// Copyright © 2023 Beenario GmbH. All rights reserved. +// + +#import + +/** + * Intercepted log from NSLog/OSLog + */ +@interface BFInterceptedLog : NSObject + +/** + * Initializes an BFInterceptedLog with a timestamp, text, and log level. + * @note You will usually not need to use this method. + * @param text Text of the log. + * @param level Level of the log. See BFLogLevel enum for possible values. + * @param date Timestamp of the log. + */ +-(instancetype _Nonnull) initWithText: (NSString*_Nonnull) text level: (NSInteger)level date: (NSDate*_Nonnull) date; + +/** + * Line in the source file where the log was originated. + */ +@property (nonatomic, assign) NSInteger line; + +/** + * Level of the log. See BFLogLevel enum for possible values. + */ +@property (nonatomic, assign) NSInteger level; + +/** + * Timestamp of the log. + */ +@property (nonatomic, strong) NSDate * _Nonnull date; + +/** + * Tag (or category) of the log. + */ +@property (nonatomic, strong) NSString * _Nonnull tag; + +/** + * Method of the source file where the log was originated. + */ +@property (nonatomic, strong) NSString * _Nonnull method; + +/** + * Source file name where the log was originated. + */ +@property (nonatomic, strong) NSString * _Nonnull file; + +/** + * Text of the log. + */ +@property (nonatomic, strong) NSString * _Nonnull text; + +@end diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Headers/BFLogInterceptor.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Headers/BFLogInterceptor.h new file mode 100644 index 0000000..dc8496e --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Headers/BFLogInterceptor.h @@ -0,0 +1,24 @@ +// +// NSLogInterceptor.h +// BugfenderSDK +// +// Created by Fran Montiel on 24/1/23. +// Copyright © 2023 Beenario GmbH. All rights reserved. +// + +#import +#import "BFInterceptedLog.h" + +/** + * Intercept a log entry from NSLog/OSLog and allow to modify it or to block it. + */ +@protocol BFLogInterceptor + +/** + * Intercept a log entry from NSLog/OSLog and allow to modify it or to block it. + * @param interceptedLog log intercepted + * @return The log entry to be logged. If nil is returned the log entry won't be logged. + */ +- (BFInterceptedLog *)intercept:(BFInterceptedLog *)interceptedLog; + +@end diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Headers/BFUserFeedbackNavigationController.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Headers/BFUserFeedbackNavigationController.h new file mode 100644 index 0000000..51679ab --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Headers/BFUserFeedbackNavigationController.h @@ -0,0 +1,53 @@ +// +// BFUserFeedbackViewController.h +// BugfenderSDK +// +// Created by Rubén Vázquez Otero on 15/10/2018. +// Copyright © 2018 Beenario GmbH. All rights reserved. +// + +#if TARGET_OS_IOS + +#import "BFUserFeedbackViewController.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + * Navigation View Controller containing a BFUserFeedbackNavigationController as rootViewController + */ +@interface BFUserFeedbackNavigationController : UINavigationController + + + +/** + * Root View Controller containing a table with the textfields used to gather feedback + */ +@property (nonatomic, strong) BFUserFeedbackViewController *feedbackViewController; + +/** + Provides a View Controller to gather the feedback of the users and sent it to Bugfender. + The returning BFUserFeedbackNavigationController has to be presented modally and it has it's own Send and Cancel buttons + + Additionally, it is possible to customize the aspect of the screen accessing BFUserFeedbackNavigationController.feedbackViewController + + @param title Title for the navigation bar + @param hint Short text at the beginning + @param subjectPlaceholder placeholder in the subject textfield + @param messagePlaceholder placeholder in the message textfield + @param sendButtonTitle title for the send button in the navigation bar + @param cancelButtonTitle title for the cancel button + @return BFUserFeedbackNavigationController containing a BFUserFeedbackViewController as root view controller + */ ++ (BFUserFeedbackNavigationController *)userFeedbackViewControllerWithTitle:(NSString *)title + hint:(NSString *)hint + subjectPlaceholder:(NSString *)subjectPlaceholder + messagePlaceholder:(NSString *)messagePlaceholder + sendButtonTitle:(NSString *)sendButtonTitle + cancelButtonTitle:(NSString *)cancelButtonTitle + completion:(void (^)(BOOL feedbackSent, NSURL * _Nullable url))completionBlock; + + +@end + +NS_ASSUME_NONNULL_END +#endif diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Headers/BFUserFeedbackViewController.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Headers/BFUserFeedbackViewController.h new file mode 100644 index 0000000..93b5f2c --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Headers/BFUserFeedbackViewController.h @@ -0,0 +1,114 @@ +// +// BFUserFeedbackViewController.h +// BugfenderSDK +// +// Created by Rubén Vázquez Otero on 16/10/2018. +// Copyright © 2018 Beenario GmbH. All rights reserved. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + * BFUserFeedbackViewController provides a basic and configurable view controller to gather feedback from the users + */ +@interface BFUserFeedbackViewController : UITableViewController { + +} + +#pragma mark - Background colors + +/** + The background of the view controller + */ +@property (nonatomic, strong) UIColor *mainBackgroundColor; + +/** + Background for textfields + */ +@property (nonatomic, strong) UIColor *secondaryBackgroundColor; + +#pragma mark - Hint + +/** + The hint is the upper text in the view controller. + Use the hint give instructions to your users or just to thank them for providing feedback + */ +@property (nonatomic, strong) NSString *hint; + +/** + * Font from the hint + */ +@property (nonatomic, strong) UIFont *hintFont; + +/** + * Font color from the hint + */ +@property (nonatomic, strong) UIColor *hintFontColor; + +#pragma mark - Subject + +/** + The subject of the feedback. + Remember to provide a placeholder + */ +@property (nonatomic, strong) UIFont *subjectFont; + +/** + * Font color from the subject textfield + */ +@property (nonatomic, strong) UIColor *subjectFontColor; + +/** + * Font color for the placeholder of the subject textfield + */ +@property (nonatomic, strong) UIColor *subjectPlaceholderFontColor; + +/** + * Subject placeholder + */ +@property (nonatomic, strong) NSString *subjectPlaceholder; + +#pragma mark - Message +/** + The message of the feedback + Remember to provide a placeholder + */ +@property (nonatomic, strong) UIFont *messageFont; + +/** + * Message font color + */ +@property (nonatomic, strong) UIColor *messageFontColor; + +/** + * Message placeholder font color + */ +@property (nonatomic, strong) UIColor *messagePlaceholderFontColor; + +/** + * Message placeholder + */ +@property (nonatomic, strong) NSString *messagePlaceholder; + +#pragma mark - Actions + +/** + * Hide view controller + */ +- (void)dismiss; + +/** + * Send feedback to Bugfender + */ +- (void)sendFeedback; + +/** + Pass a block if you want to be notified after feedback was sent (or not) + */ +@property (nonatomic, copy) void (^completionBlock)(BOOL feedbackSent, NSURL * _Nullable url); + +@end + +NS_ASSUME_NONNULL_END diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Headers/BugfenderSDK-Swift.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Headers/BugfenderSDK-Swift.h new file mode 100644 index 0000000..7ea8f74 --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Headers/BugfenderSDK-Swift.h @@ -0,0 +1,446 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12) +#ifndef BUGFENDERSDK_SWIFT_H +#define BUGFENDERSDK_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="BugfenderSDK",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12) +#ifndef BUGFENDERSDK_SWIFT_H +#define BUGFENDERSDK_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="BugfenderSDK",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Headers/BugfenderSDK.h b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Headers/BugfenderSDK.h new file mode 100644 index 0000000..cbdcad7 --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Headers/BugfenderSDK.h @@ -0,0 +1,443 @@ +// +// BugfenderSDK.h +// BugfenderSDK +// Copyright (c) 2014 Bugfender GmbH. All rights reserved. +// + +#import +#import "BFLogInterceptor.h" +#import "BFDefaultLogInterceptor.h" + +#if TARGET_OS_IOS + +#import "BFUserFeedbackNavigationController.h" + +#endif + +NS_ASSUME_NONNULL_BEGIN + +#define BFLibraryVersionNumber_0_1_0 0 +#define BFLibraryVersionNumber_0_2_0 1 +#define BFLibraryVersionNumber_0_2_1 2 +#define BFLibraryVersionNumber_0_3_0 3 +#define BFLibraryVersionNumber_0_3_1 4 +#define BFLibraryVersionNumber_0_3_2 5 +#define BFLibraryVersionNumber_0_3_3 6 +#define BFLibraryVersionNumber_0_3_4 7 +#define BFLibraryVersionNumber_0_3_5 8 +#define BFLibraryVersionNumber_0_3_6 9 +#define BFLibraryVersionNumber_0_3_7 10 +#define BFLibraryVersionNumber_0_3_8 11 +#define BFLibraryVersionNumber_0_3_9 12 +#define BFLibraryVersionNumber_0_3_10 13 +#define BFLibraryVersionNumber_0_3_11 14 +#define BFLibraryVersionNumber_0_3_12 15 +#define BFLibraryVersionNumber_0_3_13 16 +#define BFLibraryVersionNumber_0_3_14 17 +#define BFLibraryVersionNumber_0_3_15 18 +#define BFLibraryVersionNumber_0_3_16 19 +#define BFLibraryVersionNumber_0_3_17 20 +#define BFLibraryVersionNumber_0_3_18 21 +#define BFLibraryVersionNumber_0_3_19 22 +#define BFLibraryVersionNumber_0_3_20 23 +#define BFLibraryVersionNumber_0_3_21 24 +#define BFLibraryVersionNumber_0_3_22 25 +#define BFLibraryVersionNumber_0_3_23 26 +#define BFLibraryVersionNumber_0_3_24 27 +#define BFLibraryVersionNumber_0_3_25 28 +#define BFLibraryVersionNumber_0_3_26 29 +#define BFLibraryVersionNumber_0_3_27 30 +#define BFLibraryVersionNumber_1_4_0 31 +#define BFLibraryVersionNumber_1_4_1 32 +#define BFLibraryVersionNumber_1_4_2 33 +#define BFLibraryVersionNumber_1_4_3 34 +#define BFLibraryVersionNumber_1_4_4 34 // Mistake: We released the version without incrementing the number. +#define BFLibraryVersionNumber_1_4_5 36 +#define BFLibraryVersionNumber_1_4_6 37 +#define BFLibraryVersionNumber_1_4_7 38 +#define BFLibraryVersionNumber_1_4_8 39 +#define BFLibraryVersionNumber_1_4_9 40 +#define BFLibraryVersionNumber_1_4_10 41 +#define BFLibraryVersionNumber_1_5_0 42 +#define BFLibraryVersionNumber_1_5_1 43 +#define BFLibraryVersionNumber_1_5_2 44 +#define BFLibraryVersionNumber_1_5_3 45 +#define BFLibraryVersionNumber_1_5_4 46 +#define BFLibraryVersionNumber_1_5_5 47 +#define BFLibraryVersionNumber_1_5_6 48 +#define BFLibraryVersionNumber_1_6_0 49 +#define BFLibraryVersionNumber_1_6_1 50 +#define BFLibraryVersionNumber_1_6_2 51 +#define BFLibraryVersionNumber_1_6_3 52 +#define BFLibraryVersionNumber_1_6_4 53 +#define BFLibraryVersionNumber_1_6_5 54 +#define BFLibraryVersionNumber_1_6_6 55 +#define BFLibraryVersionNumber_1_7_0 56 +#define BFLibraryVersionNumber_1_8_0 57 +#define BFLibraryVersionNumber_1_9_0 58 +#define BFLibraryVersionNumber_1_9_1 59 +#define BFLibraryVersionNumber_1_9_2 60 +#define BFLibraryVersionNumber_1_10_0 61 +#define BFLibraryVersionNumber_1_10_1 62 +#define BFLibraryVersionNumber_1_10_2 63 +#define BFLibraryVersionNumber_1_10_3 64 +#define BFLibraryVersionNumber_1_10_4 65 +#define BFLibraryVersionNumber_1_10_5 66 +#define BFLibraryVersionNumber_1_10_6 67 +#define BFLibraryVersionNumber_1_11_0 68 +#define BFLibraryVersionNumber_1_12_0 69 +#define BFLibraryVersionNumber_1_12_1 70 +#define BFLibraryVersionNumber_1_12_2 71 +#define BFLibraryVersionNumber_1_13_0 72 +#define BFLibraryVersionNumber_1_13_1 73 +#define BFLibraryVersionNumber_1_13_2 74 + +/** + * Current Bugfender version number. + * @note This value can be compared with the defined macros BFLibraryVersionNumber_X_Y_Z. + **/ +FOUNDATION_EXPORT double const BFLibraryVersionNumber; + +/** Defines the level of a log */ +typedef NS_ENUM(NSUInteger, BFLogLevel) +{ + /** Default/Debug log level */ + BFLogLevelDefault = 0, + /** Warning log level */ + BFLogLevelWarning = 1, + /** Error log level */ + BFLogLevelError = 2, + /** Trace log level */ + BFLogLevelTrace = 3, + /** Info log level */ + BFLogLevelInfo = 4, + /** Fatal log level */ + BFLogLevelFatal = 5 +}; + +#define BFLog(args, ...) BFLog2(BFLogLevelDefault, nil, args, ##__VA_ARGS__) +#define BFLogWarn(args, ...) BFLog2(BFLogLevelWarning, nil, args, ##__VA_ARGS__) +#define BFLogErr(args, ...) BFLog2(BFLogLevelError, nil, args, ##__VA_ARGS__) +#define BFLogTrace(args, ...) BFLog2(BFLogLevelTrace, nil, args, ##__VA_ARGS__) +#define BFLogInfo(args, ...) BFLog2(BFLogLevelInfo, nil, args, ##__VA_ARGS__) +#define BFLogFatal(args, ...) BFLog2(BFLogLevelFatal, nil, args, ##__VA_ARGS__) + +#define BFLog2(logLevel, tagName, fmt, ...) \ +[Bugfender logWithLineNumber:__LINE__ method:[NSString stringWithFormat:@"%s",__PRETTY_FUNCTION__] file:[[NSString stringWithFormat:@"%s",__FILE__] lastPathComponent] level:logLevel tag:tagName message:fmt == nil ? @"" : [NSString stringWithFormat:fmt, ##__VA_ARGS__]] + + + +/** + * Main Bugfender interface. + **/ +@interface Bugfender : NSObject + +/** ******************************************************************** ** + * @name Configuration + ** ******************************************************************** **/ + +/** + * Sets the URL of the API + * @note Usage of this function is not necessary in the general use case. Please use exclusively when + * directed from technical support. + * @warning This method must be called before activateLogger. + * @param url URL of the API to use + */ ++ (void)setApiURL:(NSURL*)url; + +/** + * Sets the URL of the Bugfender Dashboard + * @note Usage of this function is not necessary in the general use case. Please use exclusively when + * directed from technical support. + * @warning This method must be called before activateLogger. + * @param url base URL of the Bugfender's dashboard + */ ++ (void)setBaseURL:(NSURL*)url; + +/** + * Activates the Bugfender logger for a specific app. + * @param appKey The app key of the Bugfender application, get it in bugfender.com + * @warning If Bugfender has already been initialized with a different app key `NSInvalidArgumentException` will be thrown. + * @note This method needs to be called before any `BFLog` call, otherwise they will be ignored. + **/ ++ (void)activateLogger:(NSString*)appKey; + +/** + * Returns the app key. + * @return The app key, or nil if Bugfender has not been initialized. + **/ ++ (nullable NSString*)appKey; + +/** + * Maximum space available to store local logs. This value is represented in bytes. Default value is 5242880 (1024*1024*5 = 5MB). + * @note If maximumLocalStorageSize is 0 (zero), then there is no limit and everything will be stored locally. + **/ ++ (NSUInteger)maximumLocalStorageSize; + +/** + * Set the maximum space available to store local logs. This value is represented in bytes. There's a limit of 50 MB. + * @param maximumLocalStorageSize Maximum size in bytes. Range accepted is from 1 MB to 50 MB. If the value provider + * is below this range it will be set to 1 MB, if is above the range it will be set to 50 MB + **/ ++ (void)setMaximumLocalStorageSize:(NSUInteger)maximumLocalStorageSize; + +/** + * Returns the device identifier used to identify the current device in the Bugfender website. + * The device identifier is constant while the application is installed in the device. + * @note This string can not be changed, but can be shown to the user or sent to your server, in order to + * keep a relationship between a Bugfender device and a user or some other important event in your application. + * + * @return A string identifying the device. + **/ ++ (NSString*)deviceIdentifier __deprecated_msg("Use deviceIdentifierUrl instead."); + +/** + * Returns a URL linking to the current device in bugfender. + * The device identifier is constant while the application is installed in the device. + * @note This url can be sent to your server and used to create integrations with other services. Also can be stored to + * keep a relationship between a Bugfender device and a user or some other important event in your application. + * + * @return URL linking to the device in Bugfender + **/ ++ (nullable NSURL *)deviceIdentifierUrl; + +/** + * + * The session identifier is constant while the application is running. + * @return A string identifying the current session. + */ ++ (nullable NSString *)sessionIdentifier __deprecated_msg("Use sessionIdentifierUrl instead."); + +/** + * + * The session identifier url is constant while the application is running. + * @note This url can be sent to your server and used to create integrations with other services. + * @return A URL linking to the current session in Bugfender. + */ ++ (nullable NSURL *)sessionIdentifierUrl; + +/** + * Synchronizes all logs with the server all the time, regardless if this device is enabled or not. + * @note This method is useful when the logs should be sent to the server + * regardless if the device is enabled in the Bugfender Console. + * + * Logs are synchronized continuously while forceEnabled is active. + * + * This command can be called anytime, and will take effect the next time the device is online. + * @param enabled Whether logs should be sent regardless of the Bugfender Console settings. + */ ++(void) setForceEnabled:(BOOL)enabled; + +/** + * Gets the status of forceEnabled. + * @see setForceEnabled + */ ++(BOOL) forceEnabled; + +/** + * Prints messages to console for debugging purposes. + * @param enabled Whether printing to console is enabled or not. By default it is enabled. + */ ++(void) setPrintToConsole:(BOOL)enabled; + +/** + * Gets the status of printToConsole. printToConsole prints messages to console. By default it is enabled. + */ ++(BOOL) printToConsole; + +#if TARGET_OS_IOS +/** + * Logs all actions performed and screen changes in the application, such as button touches, swipes and gestures. + */ ++(void)enableUIEventLogging; + +/** + * Logs all actions performed and screen changes in the application, such as button touches, swipes and gestures. + * @param ignoredViewsTags Tags of views that should not be observed and logged by Bugfender + */ ++ (void)enableUIEventLoggingWithIgnoredViewsTags:(NSArray *)ignoredViewsTags; + +#endif + +/** + * Enable crash reporting tool functionality. + */ ++(void)enableCrashReporting; + +/** ******************************************************************** ** + * @name Device details + ** ******************************************************************** **/ + +/** + * Sets the name for the device. If the Device Name is not set, then the iOS standard device name will be automatically sent + * @note This method has to be called prior to activate logger. Otherwise, an exception will be thrown. + * @param deviceName Device name that will be shown in the Dashboard. + */ ++(void)overrideDeviceName:(NSString *)deviceName __deprecated_msg("Use setDeviceString:forKey: instead, which allows to change the name once set. This function will be removed in a future version."); + +/** + * Sets a device detail with boolean type. + * @note Similarly to an NSDictionary, where you can set key-value pairs + * related to a Bugfender device. + * @param b A boolean value. + * @param key Key. + */ ++(void)setDeviceBOOL:(BOOL)b forKey:(NSString*)key; +/** + * Sets a device detail with string type. + * @note Similarly to an NSDictionary, where you can set key-value pairs + * related to a Bugfender device. + * @param s A string value. The maximum length allowed is 192 bytes. + * @param key Key. + */ ++(void)setDeviceString:(NSString*)s forKey:(NSString*)key; +/** + * Sets a device detail with integer type. + * @note Similarly to an NSDictionary, where you can set key-value pairs + * related to a Bugfender device. + * @param i An UInt64 value. + * @param key Key. + */ ++(void)setDeviceInteger:(UInt64)i forKey:(NSString*)key; +/** + * Sets a device detail with double type. + * @note Similarly to an NSDictionary, where you can set key-value pairs + * related to a Bugfender device. + * @param d A double value. + * @param key Key. + */ ++(void)setDeviceDouble:(double)d forKey:(NSString*)key; +/** + * Removes a device detail. + * @note Similarly to an NSDictionary, where you can remove an existent key-value pair + * related to a Bugfender device by indicating its key. + * @param key Key. + */ ++(void)removeDeviceKey:(NSString*)key; + +/** ******************************************************************** ** + * @name Logging + ** ******************************************************************** **/ + +/** + * Bugfender extended interface for logging, which takes a simple string as log message. + * @note This command can be called anytime, and will take effect the next time the device is online. + * For efficiency, several log lines can be sent together to the server with some delay. + * @param lineNumber The line number of the log. + * @param method The method where the log has happened. + * @param file The file where the log has happened. + * @param level Log level. + * @param tag Tag to be applied to the log line. + * @param message Message to be logged. The message will be logged verbatim, no interpretation will be performed. + * @note In Swift, prefer to use bfprint() in order to get file name and line number filled in automatically. In Objective-C you can use the BFLog or BFLog2 macros. + **/ ++ (void) logWithLineNumber:(NSInteger)lineNumber method:(NSString*)method file:(NSString*)file level:(BFLogLevel)level tag:(nullable NSString*)tag message:(NSString*)message NS_SWIFT_NAME(log(lineNumber:method:file:level:tag:message:)); + +/** ******************************************************************** ** + * @name Commands + ** ******************************************************************** **/ + +/** + * Synchronizes all logs with the server once, regardless if this device is enabled or not. + * @note This method is useful when an error condition is detected and the logs should be sent to + * the server for analysis, regardless if the device is enabled in the Bugfender Console. + * + * Logs are synchronized only once. After that, the logs are again sent according to the enabled flag + * in the Bugfender Console. + * + * This command can be called anytime, and will take effect the next time the device is online. + */ ++ (void) forceSendOnce; + +#pragma mark - Issues +/** + * Sends an issue + * @note Sending an issue forces the logs of the current session being sent + * to the server, and marks the session so that it is highlighted in the web console. + * @param title Short description of the issue. + * @param text Full details of the issue. Markdown format is accepted. + * @return the issue identifier + */ ++ (nullable NSString *)sendIssueWithTitle:(NSString *)title text:(NSString *)text __deprecated_msg("Use sendIssueReturningUrlWithTitle:text: instead."); + +/** + * Sends an issue + * @note Sending an issue forces the logs of the current session being sent + * to the server, and marks the session so that it is highlighted in the web console. + * @param title Short description of the issue. + * @param text Full details of the issue. Markdown format is accepted. + * @return an URL linking to the issue in Bugfender + */ ++ (nullable NSURL *)sendIssueReturningUrlWithTitle:(NSString *)title text:(NSString *)text; + +#pragma mark - Crashes + +/** + * Sends a crash + * @note This method will send immediately a crash to the server + * it doesn't take into account if crash reporting is enabled or not + * @param title Short description of the crash. + * @param text Full details of the crarsh. + * @return an URL linking to the crash in Bugfender + */ ++ (nullable NSURL *)sendCrashWithTitle:(NSString *)title text:(NSString *)text; + +#if TARGET_OS_IOS + +#pragma mark - User Feedback + +/** + Provides a View Controller to gather the feedback of the users and sent it to Bugfender. + The returning BFUserFeedbackNavigationController has to be presented modally and it has it's own Send and Cancel buttons + + Additionally, it is possible to customize the aspect of the screen accessing BFUserFeedbackNavigationController.feedbackViewController + + @param title Title for the navigation bar + @param hint Short text at the beginning + @param subjectPlaceholder placeholder in the subject textfield + @param messagePlaceholder placeholder in the message textfield + @param sendButtonTitle title for the send button in the navigation bar + @param cancelButtonTitle title for the cancel button + @return BFUserFeedbackNavigationController containing a BFUserFeedbackViewController as root view controller + */ ++ (BFUserFeedbackNavigationController *)userFeedbackViewControllerWithTitle:(NSString *)title + hint:(NSString *)hint + subjectPlaceholder:(NSString *)subjectPlaceholder + messagePlaceholder:(NSString *)messagePlaceholder + sendButtonTitle:(NSString *)sendButtonTitle + cancelButtonTitle:(NSString *)cancelButtonTitle + completion:(void (^ _Nullable )(BOOL feedbackSent, NSURL * _Nullable url))completionBlock; + +#endif + +/** + Allows to create custom UI to gather user feedback and send to Bugfender. + + @param subject subject of the feedback + @param message message of the feedback + */ ++ (void)sendUserFeedbackWithSubject:(NSString *)subject message:(NSString *)message __deprecated_msg("Use sendUserFeedbackReturningUrlWithSubject:message: instead."); + +/** + Allows to create custom UI to gather user feedback and send to Bugfender. + + @param subject subject of the feedback + @param message message of the feedback + @return URL linking to Bugfender + */ ++ (nullable NSURL *)sendUserFeedbackReturningUrlWithSubject:(NSString *)subject message:(NSString *)message; + +/** + * Logs all logs written via NSLog or OSLog. + */ ++ (void)enableNSLogLogging API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0)); + +/** + * Logs all logs written via NSLog or OSLog. + * @param interceptor intercept the logs and allow to modify or to block them before they are sent to Bugfender + */ ++ (void)enableNSLogLoggingWithInterceptor:(id )interceptor API_AVAILABLE(macos(10.15), ios(15.0), tvos(15.0), watchos(8.0)) NS_SWIFT_NAME(enableNSLogLogging(withInterceptor:)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Info.plist b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Info.plist new file mode 100644 index 0000000..25e3939 Binary files /dev/null and b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Info.plist differ diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Modules/BugfenderSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Modules/BugfenderSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..0d02e0d Binary files /dev/null and b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Modules/BugfenderSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Modules/BugfenderSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Modules/BugfenderSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..ef6ab86 --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Modules/BugfenderSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -0,0 +1,19 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name BugfenderSDK +@_exported import BugfenderSDK +import Foundation +import Swift +import _Concurrency +extension BugfenderSDK.Bugfender { + public class func print(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "\n", tag: Swift.String? = nil, level: BugfenderSDK.BFLogLevel = .default, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) + public class func error(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "\n", tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) + public class func warning(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "\n", tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +} +public func BFLog(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, level: BugfenderSDK.BFLogLevel = .default, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogWarn(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogErr(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogTrace(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogInfo(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogFatal(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func bfprint(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "", tag: Swift.String? = nil, level: BugfenderSDK.BFLogLevel = .default, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Modules/BugfenderSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Modules/BugfenderSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..0418f8c Binary files /dev/null and b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Modules/BugfenderSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Modules/BugfenderSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Modules/BugfenderSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..bcdd1c7 --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Modules/BugfenderSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -0,0 +1,19 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name BugfenderSDK +@_exported import BugfenderSDK +import Foundation +import Swift +import _Concurrency +extension BugfenderSDK.Bugfender { + public class func print(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "\n", tag: Swift.String? = nil, level: BugfenderSDK.BFLogLevel = .default, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) + public class func error(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "\n", tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) + public class func warning(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "\n", tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +} +public func BFLog(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, level: BugfenderSDK.BFLogLevel = .default, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogWarn(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogErr(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogTrace(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogInfo(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func BFLogFatal(_ format: Swift.String, _ args: Swift.CVarArg..., tag: Swift.String? = nil, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) +public func bfprint(_ items: Any..., separator: Swift.String = " ", terminator: Swift.String = "", tag: Swift.String? = nil, level: BugfenderSDK.BFLogLevel = .default, filename: Swift.String = #file, line: Swift.Int = #line, funcname: Swift.String = #function) diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Modules/module.modulemap b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Modules/module.modulemap new file mode 100644 index 0000000..bbe235f --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module BugfenderSDK { + umbrella header "BugfenderSDK.h" + + export * + module * { export * } +} + +module BugfenderSDK.Swift { + header "BugfenderSDK-Swift.h" + requires objc +} diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/PrivacyInfo.xcprivacy b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..e9c566d --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/PrivacyInfo.xcprivacy @@ -0,0 +1,34 @@ + + + + + NSPrivacyTracking + + NSPrivacyCollectedDataTypes + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeOtherDiagnosticData + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeOther + + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + + + + diff --git a/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/_CodeSignature/CodeResources b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..83cc268 --- /dev/null +++ b/Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/_CodeSignature/CodeResources @@ -0,0 +1,267 @@ + + + + + files + + Headers/BFDefaultLogInterceptor.h + + HM3OfaV/2/FAmMiZhowi7Z+XD3k= + + Headers/BFInterceptedLog.h + + InKoTT1wl9WenJUaI/UucvEsjfE= + + Headers/BFLogInterceptor.h + + HEA76HZiRCGnFUYr6egoRlxIx/I= + + Headers/BFUserFeedbackNavigationController.h + + pgNFegt5zvOiPUxMA25ZNeKFPoM= + + Headers/BFUserFeedbackViewController.h + + 2nyi/Du3qqDKGIjd2XYC7Mvm6BU= + + Headers/BugfenderSDK-Swift.h + + goKnCiTLLc5YC3BXYeuUlnVZ1hA= + + Headers/BugfenderSDK.h + + F8KHDwTKD8B6Rtw5Xqu1sSVKrRo= + + Info.plist + + qDBSYqudn9B22gPGczY0iuVoE0A= + + Modules/BugfenderSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + eCUprcGV/tgZSP2NE334dUvV+94= + + Modules/BugfenderSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + EWnBlpL+5mkil3Wg3R2IqHZPLdQ= + + Modules/BugfenderSDK.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + bsco+65vXtdzZWUqAZrzqU1vn0c= + + Modules/BugfenderSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + U4ocJLflXEFGIbVWK1v9l9LfbSA= + + Modules/BugfenderSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + +DWYy/rn8HL/AR2XbshLPuD6BvA= + + Modules/BugfenderSDK.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + gUHZBGXULA4YRojr7cJbWutvzDw= + + Modules/module.modulemap + + xZtXWOeaGjR4IJPDZoGmvH+flWg= + + PrivacyInfo.xcprivacy + + hvWgeSSd3CM7mvMNrAyctw4z0FY= + + + files2 + + Headers/BFDefaultLogInterceptor.h + + hash2 + + RPzjmSJ0KeLiYXq9hGrpzX/YhmMaxX5QUPFjOrC9+rs= + + + Headers/BFInterceptedLog.h + + hash2 + + UcwfFY0qkHqthVY2AufNK+Eps9AsOCdPr/1xz3EXsBg= + + + Headers/BFLogInterceptor.h + + hash2 + + N4IIYmip6wsKAxkKJ7CKK95v6mHIkVoyURQH938ca5c= + + + Headers/BFUserFeedbackNavigationController.h + + hash2 + + l8gcWZ/QAHe/vDz+pEzNEUS0JBQ3UAKqilS9QX0XGxE= + + + Headers/BFUserFeedbackViewController.h + + hash2 + + erKOMKGGxHhi9xZCBIYJTISwyaA0bXoGP3dOUh15uaE= + + + Headers/BugfenderSDK-Swift.h + + hash2 + + QYi0P74b2+gdSeOuOki5w9Fl5RTlw1denuO7RqatpJI= + + + Headers/BugfenderSDK.h + + hash2 + + lLTKBnJHfpoKXVZ7HSEaX6iez0L+KFO+CK6McDmdVeI= + + + Modules/BugfenderSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + hash2 + + VfOHX/2HUKpb5ganiSS2IW6wA2YiOR/EilPXEDboxSc= + + + Modules/BugfenderSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + hash2 + + HQlq38sS5qUdKW/zYgKxEomrJ6JVyyQQ7DfI1ztTUgQ= + + + Modules/BugfenderSDK.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + hash2 + + kjbuB4qfgs+KbpDdm6rZG2kccoR4Axw8Ke6LHautG8w= + + + Modules/BugfenderSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + hash2 + + WpDVcuW2lGqRsTYL7b68UKhvtVgK9KshW342ek255Ps= + + + Modules/BugfenderSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + hash2 + + 2/eIz3pHpB8CcFpdOSJ784+mFtVHgELc2Z2wHlrV5og= + + + Modules/BugfenderSDK.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + hash2 + + 5xKm3qi+bYPQNdEhfxGUMQLhawbUtRyTnKYO/ck3+kU= + + + Modules/module.modulemap + + hash2 + + W+xWtwWp87xBEmAY+kx5GGQKmBGHRQjwFHLpY6afDeQ= + + + PrivacyInfo.xcprivacy + + hash2 + + 8Bw1x3CoeC5gLRbhV0CWwxI3HmL64X/ikUs5sXB+e54= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/Assets/Plugins/iOS/libBugfenderSDK.a b/Assets/Plugins/iOS/libBugfenderSDK.a deleted file mode 100644 index fd25deb..0000000 Binary files a/Assets/Plugins/iOS/libBugfenderSDK.a and /dev/null differ diff --git a/Assets/StreamingAssets.meta b/Assets/StreamingAssets.meta new file mode 100644 index 0000000..14bfb09 --- /dev/null +++ b/Assets/StreamingAssets.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: a2436c34ee4594697bccecfef14fc8ca +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/manifest.json b/Packages/manifest.json index b8dd705..39ab5f1 100644 --- a/Packages/manifest.json +++ b/Packages/manifest.json @@ -1,18 +1,19 @@ { "dependencies": { - "com.unity.2d.animation": "7.0.6", - "com.unity.2d.pixel-perfect": "5.0.1", - "com.unity.2d.psdimporter": "6.0.4", + "com.unity.2d.animation": "9.1.0", + "com.unity.2d.pixel-perfect": "5.0.3", + "com.unity.2d.psdimporter": "8.0.4", "com.unity.2d.sprite": "1.0.0", - "com.unity.2d.spriteshape": "7.0.4", + "com.unity.2d.spriteshape": "9.0.2", "com.unity.2d.tilemap": "1.0.0", - "com.unity.collab-proxy": "1.15.18", - "com.unity.ide.rider": "3.0.15", - "com.unity.ide.visualstudio": "2.0.16", + "com.unity.ai.navigation": "1.1.5", + "com.unity.collab-proxy": "2.3.1", + "com.unity.ide.rider": "3.0.28", + "com.unity.ide.visualstudio": "2.0.22", "com.unity.ide.vscode": "1.2.5", - "com.unity.test-framework": "1.1.31", + "com.unity.test-framework": "1.1.33", "com.unity.textmeshpro": "3.0.6", - "com.unity.timeline": "1.6.4", + "com.unity.timeline": "1.7.6", "com.unity.ugui": "1.0.0", "com.unity.modules.ai": "1.0.0", "com.unity.modules.androidjni": "1.0.0", diff --git a/Packages/packages-lock.json b/Packages/packages-lock.json index f711f20..eacdd2a 100644 --- a/Packages/packages-lock.json +++ b/Packages/packages-lock.json @@ -1,50 +1,45 @@ { "dependencies": { "com.unity.2d.animation": { - "version": "7.0.6", + "version": "9.1.0", "depth": 0, "source": "registry", "dependencies": { - "com.unity.2d.common": "6.0.3", + "com.unity.2d.common": "8.0.2", "com.unity.2d.sprite": "1.0.0", + "com.unity.collections": "1.1.0", "com.unity.modules.animation": "1.0.0", "com.unity.modules.uielements": "1.0.0" }, "url": "https://packages.unity.com" }, "com.unity.2d.common": { - "version": "6.0.3", + "version": "8.0.2", "depth": 1, "source": "registry", "dependencies": { "com.unity.2d.sprite": "1.0.0", "com.unity.mathematics": "1.1.0", "com.unity.modules.uielements": "1.0.0", - "com.unity.burst": "1.5.1" + "com.unity.modules.animation": "1.0.0", + "com.unity.burst": "1.7.3" }, "url": "https://packages.unity.com" }, - "com.unity.2d.path": { - "version": "5.0.2", - "depth": 1, - "source": "registry", - "dependencies": {}, - "url": "https://packages.unity.com" - }, "com.unity.2d.pixel-perfect": { - "version": "5.0.1", + "version": "5.0.3", "depth": 0, "source": "registry", "dependencies": {}, "url": "https://packages.unity.com" }, "com.unity.2d.psdimporter": { - "version": "6.0.4", + "version": "8.0.4", "depth": 0, "source": "registry", "dependencies": { - "com.unity.2d.animation": "7.0.6", - "com.unity.2d.common": "6.0.3", + "com.unity.2d.animation": "9.1.0", + "com.unity.2d.common": "8.0.2", "com.unity.2d.sprite": "1.0.0" }, "url": "https://packages.unity.com" @@ -56,13 +51,12 @@ "dependencies": {} }, "com.unity.2d.spriteshape": { - "version": "7.0.4", + "version": "9.0.2", "depth": 0, "source": "registry", "dependencies": { "com.unity.mathematics": "1.1.0", - "com.unity.2d.common": "6.0.3", - "com.unity.2d.path": "5.0.2", + "com.unity.2d.common": "8.0.1", "com.unity.modules.physics2d": "1.0.0" }, "url": "https://packages.unity.com" @@ -71,23 +65,44 @@ "version": "1.0.0", "depth": 0, "source": "builtin", - "dependencies": {} + "dependencies": { + "com.unity.modules.tilemap": "1.0.0", + "com.unity.modules.uielements": "1.0.0" + } + }, + "com.unity.ai.navigation": { + "version": "1.1.5", + "depth": 0, + "source": "registry", + "dependencies": { + "com.unity.modules.ai": "1.0.0" + }, + "url": "https://packages.unity.com" }, "com.unity.burst": { - "version": "1.6.6", + "version": "1.8.13", "depth": 2, "source": "registry", "dependencies": { - "com.unity.mathematics": "1.2.1" + "com.unity.mathematics": "1.2.1", + "com.unity.modules.jsonserialize": "1.0.0" }, "url": "https://packages.unity.com" }, "com.unity.collab-proxy": { - "version": "1.15.18", + "version": "2.3.1", "depth": 0, "source": "registry", + "dependencies": {}, + "url": "https://packages.unity.com" + }, + "com.unity.collections": { + "version": "1.2.4", + "depth": 1, + "source": "registry", "dependencies": { - "com.unity.services.core": "1.0.1" + "com.unity.burst": "1.6.6", + "com.unity.test-framework": "1.1.31" }, "url": "https://packages.unity.com" }, @@ -99,7 +114,7 @@ "url": "https://packages.unity.com" }, "com.unity.ide.rider": { - "version": "3.0.15", + "version": "3.0.28", "depth": 0, "source": "registry", "dependencies": { @@ -108,7 +123,7 @@ "url": "https://packages.unity.com" }, "com.unity.ide.visualstudio": { - "version": "2.0.16", + "version": "2.0.22", "depth": 0, "source": "registry", "dependencies": { @@ -130,26 +145,8 @@ "dependencies": {}, "url": "https://packages.unity.com" }, - "com.unity.nuget.newtonsoft-json": { - "version": "3.0.2", - "depth": 2, - "source": "registry", - "dependencies": {}, - "url": "https://packages.unity.com" - }, - "com.unity.services.core": { - "version": "1.4.0", - "depth": 1, - "source": "registry", - "dependencies": { - "com.unity.modules.unitywebrequest": "1.0.0", - "com.unity.nuget.newtonsoft-json": "3.0.2", - "com.unity.modules.androidjni": "1.0.0" - }, - "url": "https://packages.unity.com" - }, "com.unity.test-framework": { - "version": "1.1.31", + "version": "1.1.33", "depth": 0, "source": "registry", "dependencies": { @@ -169,7 +166,7 @@ "url": "https://packages.unity.com" }, "com.unity.timeline": { - "version": "1.6.4", + "version": "1.7.6", "depth": 0, "source": "registry", "dependencies": { @@ -321,17 +318,6 @@ "version": "1.0.0", "depth": 0, "source": "builtin", - "dependencies": { - "com.unity.modules.ui": "1.0.0", - "com.unity.modules.imgui": "1.0.0", - "com.unity.modules.jsonserialize": "1.0.0", - "com.unity.modules.uielementsnative": "1.0.0" - } - }, - "com.unity.modules.uielementsnative": { - "version": "1.0.0", - "depth": 1, - "source": "builtin", "dependencies": { "com.unity.modules.ui": "1.0.0", "com.unity.modules.imgui": "1.0.0", diff --git a/ProjectSettings/BurstAotSettings_iOS.json b/ProjectSettings/BurstAotSettings_iOS.json new file mode 100644 index 0000000..771d37b --- /dev/null +++ b/ProjectSettings/BurstAotSettings_iOS.json @@ -0,0 +1,14 @@ +{ + "MonoBehaviour": { + "Version": 4, + "EnableBurstCompilation": true, + "EnableOptimisations": true, + "EnableSafetyChecks": false, + "EnableDebugInAllBuilds": false, + "CpuMinTargetX32": 0, + "CpuMaxTargetX32": 0, + "CpuMinTargetX64": 0, + "CpuMaxTargetX64": 0, + "OptimizeFor": 0 + } +} diff --git a/ProjectSettings/CommonBurstAotSettings.json b/ProjectSettings/CommonBurstAotSettings.json new file mode 100644 index 0000000..0293daf --- /dev/null +++ b/ProjectSettings/CommonBurstAotSettings.json @@ -0,0 +1,6 @@ +{ + "MonoBehaviour": { + "Version": 4, + "DisabledWarnings": "" + } +} diff --git a/ProjectSettings/ProjectVersion.txt b/ProjectSettings/ProjectVersion.txt index 4cb0460..9efb20c 100644 --- a/ProjectSettings/ProjectVersion.txt +++ b/ProjectSettings/ProjectVersion.txt @@ -1,2 +1,2 @@ -m_EditorVersion: 2021.3.6f1 -m_EditorVersionWithRevision: 2021.3.6f1 (7da38d85baf6) +m_EditorVersion: 2022.3.27f1 +m_EditorVersionWithRevision: 2022.3.27f1 (73effa14754f) diff --git a/ProjectSettings/UnityConnectSettings.asset b/ProjectSettings/UnityConnectSettings.asset index fa0b146..6125b30 100644 --- a/ProjectSettings/UnityConnectSettings.asset +++ b/ProjectSettings/UnityConnectSettings.asset @@ -9,6 +9,7 @@ UnityConnectSettings: m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events m_EventUrl: https://cdp.cloud.unity3d.com/v1/events m_ConfigUrl: https://config.uca.cloud.unity3d.com + m_DashboardUrl: https://dashboard.unity3d.com m_TestInitMode: 0 CrashReportingSettings: m_EventUrl: https://perf-events.cloud.unity3d.com diff --git a/ProjectSettings/boot.config b/ProjectSettings/boot.config deleted file mode 100644 index e69de29..0000000 diff --git a/README.md b/README.md index b06f825..a292e2c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,9 @@ # BugfenderSDK-Unity -Bugfender is compatible with Unity iOS and Android platforms. We have made an asset package to adapt the native iOS and Android to the interface required by Unity. - +Bugfender is compatible with Unity iOS and Android platforms. We have made an asset package to adapt the native Bugfender iOS and Android SDKs to the interface required by Unity. + +This package requires Unity 2022.3.27 (LTS), Unity 2023.2.18, or newer. + To use Bugfender in your Unity project, follow these steps: * Download and import the assets package into your project. * Drag the Assets / Bugfender / Prefabs / Bugfender prefab to your hierarchy. @@ -10,18 +12,23 @@ To use Bugfender in your Unity project, follow these steps: * You can use the Bugfender.Log() method to write logs. If you use Bugfender in a platform other than iOS or Android, any calls to Bugfender will be just ignored but other than that, your application will keep working as usual. Please note the WebGL platform is currently not supported yet, although we plan to support it in the future. - + +### Script Execution Order +Bugfender is provided as a Prefab that you can drop into your project. Before using Bugfender, the `Start()` method of the Prefab needs to be called, so you can ensure it's available before your scripts start running by setting a **Script Execution Order** in your **Project Settings**, like so: + +![Script Execution Order](https://user-images.githubusercontent.com/864706/220148469-91455103-32d7-46fc-be27-c718f86dc930.png) + ## How to update the libraries To update the Android library: - * Download the [Bugfender Android SDK aar file](https://search.maven.org/search?q=g:com.bugfender.sdk) + * Download the [Bugfender Android SDK aar file](https://central.sonatype.com/artifact/com.bugfender.sdk/android/versions) (click on **Browse**, then download the file) * Delete the current file in `Assets/Plugins/Android` and replace it with the .aar file just downloaded To update the iOS framework: - * Download the latest [Bugfender iOS SDK release](https://github.com/bugfender/BugfenderSDK-iOS/releases): `static-lib.zip` - * Under `Assets/Plugins/iOS`, delete all items except `BugfenderBridge` - * Unzip the `static-lib.zip` file and add its contents to `Assets/Plugins/iOS` - * Edit the `libBugfenderSDK` item and add the following **Framework Dependencies**: `MobileCoreServices` and `Security` + * Download the latest [Bugfender iOS SDK release](https://github.com/bugfender/BugfenderSDK-iOS/releases): `BugfenderSDK.xcframework.zip` + * Unzip it + * Under `Assets/Plugins/iOS`, delete the current `BugfenderSDK.xcframework` and replace it with the one you just downloaded (keep `BugfenderBridge.mm`) + * Edit the `BugfenderSDK.xcframework` item and, under the **iOS Platform settings**, add the following **Framework Dependencies**: `MobileCoreServices` and `Security`; and check **Add to Embedded Binaries**. ## Exporting the `.unitypackage` diff --git a/export.sh b/export.sh index 6743915..5a2b3a1 100755 --- a/export.sh +++ b/export.sh @@ -1,6 +1,6 @@ -#!/bin/bash -UNITY_BIN="/Applications/Unity/Hub/Editor/2021.3.*/Unity.app/Contents/MacOS/Unity" -IOS_VERSION="$(cat Assets/Plugins/iOS/BugfenderSDK.h | perl -ne '/BFLibraryVersionNumber_([\d_]+)/s and $v=$1; END {$v=~s/_/./g; print $v}')" +#!/bin/bash -e +UNITY_BIN="/Applications/Unity/Hub/Editor/2022.3.*/Unity.app/Contents/MacOS/Unity" +IOS_VERSION="$(cat Assets/Plugins/iOS/BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/Headers/BugfenderSDK.h | perl -ne '/BFLibraryVersionNumber_([\d_]+)/s and $v=$1; END {$v=~s/_/./g; print $v}')" ANDROID_VERSION="$(ls Assets/Plugins/Android/android-*.aar | perl -ne 'print $1 if /.*-([\d.]+)\.aar/s')" PACKAGE_NAME="Bugfender-android${ANDROID_VERSION}-iOS${IOS_VERSION}.unitypackage"