@crumbsdk/react-native 0.0.1-rc.3 → 0.0.1-rc.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +270 -8
- package/android/build.gradle +0 -1
- package/android/src/main/java/com/margelo/nitro/crumbsdk/reactnative/CrumbReactNative.kt +121 -3
- package/app.plugin.js +22 -0
- package/ios/CrumbReactNative.swift +135 -3
- package/lib/module/NativeCrumbReactNative.web.js +5 -1
- package/lib/module/NativeCrumbReactNative.web.js.map +1 -1
- package/lib/module/index.js +91 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/javascript-crash-capture.js +497 -0
- package/lib/module/javascript-crash-capture.js.map +1 -0
- package/lib/module/log-buffer.js +22 -2
- package/lib/module/log-buffer.js.map +1 -1
- package/lib/module/screen-context.js +127 -0
- package/lib/module/screen-context.js.map +1 -0
- package/lib/typescript/src/CrumbReactNative.nitro.d.ts +5 -1
- package/lib/typescript/src/CrumbReactNative.nitro.d.ts.map +1 -1
- package/lib/typescript/src/NativeCrumbReactNative.web.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +7 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/javascript-crash-capture.d.ts +74 -0
- package/lib/typescript/src/javascript-crash-capture.d.ts.map +1 -0
- package/lib/typescript/src/log-buffer.d.ts +1 -0
- package/lib/typescript/src/log-buffer.d.ts.map +1 -1
- package/lib/typescript/src/screen-context.d.ts +19 -0
- package/lib/typescript/src/screen-context.d.ts.map +1 -0
- package/lib/typescript/src/types.d.ts +38 -0
- package/lib/typescript/src/types.d.ts.map +1 -1
- package/native/ios/CrumbSDKCore.podspec +28 -0
- package/native/ios/CrumbSDKUI.podspec +38 -0
- package/native/ios/LICENSE +201 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/Info.plist +96 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/PrivacyInfo.xcprivacy +39 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_arm64e/CrashReporter.framework/CrashReporter +0 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_arm64e/CrashReporter.framework/Headers/CrashReporter.h +366 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_arm64e/CrashReporter.framework/Headers/PLCrashFeatureConfig.h +108 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_arm64e/CrashReporter.framework/Headers/PLCrashMacros.h +143 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_arm64e/CrashReporter.framework/Headers/PLCrashNamespace.h +320 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_arm64e/CrashReporter.framework/Headers/PLCrashReport.h +193 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_arm64e/CrashReporter.framework/Headers/PLCrashReportApplicationInfo.h +52 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_arm64e/CrashReporter.framework/Headers/PLCrashReportBinaryImageInfo.h +76 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_arm64e/CrashReporter.framework/Headers/PLCrashReportExceptionInfo.h +59 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_arm64e/CrashReporter.framework/Headers/PLCrashReportFormatter.h +55 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_arm64e/CrashReporter.framework/Headers/PLCrashReportMachExceptionInfo.h +41 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_arm64e/CrashReporter.framework/Headers/PLCrashReportMachineInfo.h +64 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_arm64e/CrashReporter.framework/Headers/PLCrashReportProcessInfo.h +80 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_arm64e/CrashReporter.framework/Headers/PLCrashReportProcessorInfo.h +64 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_arm64e/CrashReporter.framework/Headers/PLCrashReportRegisterInfo.h +45 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_arm64e/CrashReporter.framework/Headers/PLCrashReportSignalInfo.h +50 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_arm64e/CrashReporter.framework/Headers/PLCrashReportStackFrameInfo.h +50 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_arm64e/CrashReporter.framework/Headers/PLCrashReportSymbolInfo.h +51 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_arm64e/CrashReporter.framework/Headers/PLCrashReportSystemInfo.h +158 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_arm64e/CrashReporter.framework/Headers/PLCrashReportTextFormatter.h +59 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_arm64e/CrashReporter.framework/Headers/PLCrashReportThreadInfo.h +75 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_arm64e/CrashReporter.framework/Headers/PLCrashReporter.h +131 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_arm64e/CrashReporter.framework/Headers/PLCrashReporterConfig.h +193 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_arm64e/CrashReporter.framework/Info.plist +0 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_arm64e/CrashReporter.framework/Modules/module.modulemap +8 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_arm64e/CrashReporter.framework/PrivacyInfo.xcprivacy +39 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/CrashReporter +0 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Headers/CrashReporter.h +366 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Headers/PLCrashFeatureConfig.h +108 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Headers/PLCrashMacros.h +143 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Headers/PLCrashNamespace.h +320 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Headers/PLCrashReport.h +193 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Headers/PLCrashReportApplicationInfo.h +52 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Headers/PLCrashReportBinaryImageInfo.h +76 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Headers/PLCrashReportExceptionInfo.h +59 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Headers/PLCrashReportFormatter.h +55 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Headers/PLCrashReportMachExceptionInfo.h +41 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Headers/PLCrashReportMachineInfo.h +64 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Headers/PLCrashReportProcessInfo.h +80 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Headers/PLCrashReportProcessorInfo.h +64 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Headers/PLCrashReportRegisterInfo.h +45 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Headers/PLCrashReportSignalInfo.h +50 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Headers/PLCrashReportStackFrameInfo.h +50 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Headers/PLCrashReportSymbolInfo.h +51 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Headers/PLCrashReportSystemInfo.h +158 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Headers/PLCrashReportTextFormatter.h +59 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Headers/PLCrashReportThreadInfo.h +75 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Headers/PLCrashReporter.h +131 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Headers/PLCrashReporterConfig.h +193 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Modules/module.modulemap +8 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Resources/Info.plist +52 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Resources/PrivacyInfo.xcprivacy +39 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/A/CrashReporter +0 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/A/Headers/CrashReporter.h +366 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/A/Headers/PLCrashFeatureConfig.h +108 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/A/Headers/PLCrashMacros.h +143 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/A/Headers/PLCrashNamespace.h +320 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/A/Headers/PLCrashReport.h +193 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/A/Headers/PLCrashReportApplicationInfo.h +52 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/A/Headers/PLCrashReportBinaryImageInfo.h +76 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/A/Headers/PLCrashReportExceptionInfo.h +59 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/A/Headers/PLCrashReportFormatter.h +55 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/A/Headers/PLCrashReportMachExceptionInfo.h +41 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/A/Headers/PLCrashReportMachineInfo.h +64 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/A/Headers/PLCrashReportProcessInfo.h +80 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/A/Headers/PLCrashReportProcessorInfo.h +64 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/A/Headers/PLCrashReportRegisterInfo.h +45 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/A/Headers/PLCrashReportSignalInfo.h +50 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/A/Headers/PLCrashReportStackFrameInfo.h +50 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/A/Headers/PLCrashReportSymbolInfo.h +51 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/A/Headers/PLCrashReportSystemInfo.h +158 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/A/Headers/PLCrashReportTextFormatter.h +59 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/A/Headers/PLCrashReportThreadInfo.h +75 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/A/Headers/PLCrashReporter.h +131 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/A/Headers/PLCrashReporterConfig.h +193 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/A/Modules/module.modulemap +8 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/A/Resources/Info.plist +52 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/A/Resources/PrivacyInfo.xcprivacy +39 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/Current/CrashReporter +0 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/Current/Headers/CrashReporter.h +366 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/Current/Headers/PLCrashFeatureConfig.h +108 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/Current/Headers/PLCrashMacros.h +143 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/Current/Headers/PLCrashNamespace.h +320 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/Current/Headers/PLCrashReport.h +193 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/Current/Headers/PLCrashReportApplicationInfo.h +52 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/Current/Headers/PLCrashReportBinaryImageInfo.h +76 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/Current/Headers/PLCrashReportExceptionInfo.h +59 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/Current/Headers/PLCrashReportFormatter.h +55 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/Current/Headers/PLCrashReportMachExceptionInfo.h +41 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/Current/Headers/PLCrashReportMachineInfo.h +64 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/Current/Headers/PLCrashReportProcessInfo.h +80 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/Current/Headers/PLCrashReportProcessorInfo.h +64 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/Current/Headers/PLCrashReportRegisterInfo.h +45 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/Current/Headers/PLCrashReportSignalInfo.h +50 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/Current/Headers/PLCrashReportStackFrameInfo.h +50 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/Current/Headers/PLCrashReportSymbolInfo.h +51 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/Current/Headers/PLCrashReportSystemInfo.h +158 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/Current/Headers/PLCrashReportTextFormatter.h +59 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/Current/Headers/PLCrashReportThreadInfo.h +75 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/Current/Headers/PLCrashReporter.h +131 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/Current/Headers/PLCrashReporterConfig.h +193 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/Current/Modules/module.modulemap +8 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/Current/Resources/Info.plist +52 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-maccatalyst/CrashReporter.framework/Versions/Current/Resources/PrivacyInfo.xcprivacy +39 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-simulator/CrashReporter.framework/CrashReporter +0 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-simulator/CrashReporter.framework/Headers/CrashReporter.h +366 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashFeatureConfig.h +108 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashMacros.h +143 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashNamespace.h +320 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReport.h +193 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReportApplicationInfo.h +52 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReportBinaryImageInfo.h +76 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReportExceptionInfo.h +59 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReportFormatter.h +55 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReportMachExceptionInfo.h +41 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReportMachineInfo.h +64 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReportProcessInfo.h +80 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReportProcessorInfo.h +64 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReportRegisterInfo.h +45 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReportSignalInfo.h +50 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReportStackFrameInfo.h +50 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReportSymbolInfo.h +51 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReportSystemInfo.h +158 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReportTextFormatter.h +59 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReportThreadInfo.h +75 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReporter.h +131 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReporterConfig.h +193 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-simulator/CrashReporter.framework/Info.plist +0 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-simulator/CrashReporter.framework/Modules/module.modulemap +8 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-simulator/CrashReporter.framework/PrivacyInfo.xcprivacy +39 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-simulator/CrashReporter.framework/_CodeSignature/CodeDirectory +0 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-simulator/CrashReporter.framework/_CodeSignature/CodeRequirements +0 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-simulator/CrashReporter.framework/_CodeSignature/CodeRequirements-1 +0 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-simulator/CrashReporter.framework/_CodeSignature/CodeResources +462 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/ios-arm64_x86_64-simulator/CrashReporter.framework/_CodeSignature/CodeSignature +0 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/CrashReporter +0 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Headers/CrashReporter.h +366 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Headers/PLCrashFeatureConfig.h +108 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Headers/PLCrashMacros.h +143 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Headers/PLCrashNamespace.h +320 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Headers/PLCrashReport.h +193 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Headers/PLCrashReportApplicationInfo.h +52 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Headers/PLCrashReportBinaryImageInfo.h +76 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Headers/PLCrashReportExceptionInfo.h +59 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Headers/PLCrashReportFormatter.h +55 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Headers/PLCrashReportMachExceptionInfo.h +41 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Headers/PLCrashReportMachineInfo.h +64 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Headers/PLCrashReportProcessInfo.h +80 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Headers/PLCrashReportProcessorInfo.h +64 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Headers/PLCrashReportRegisterInfo.h +45 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Headers/PLCrashReportSignalInfo.h +50 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Headers/PLCrashReportStackFrameInfo.h +50 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Headers/PLCrashReportSymbolInfo.h +51 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Headers/PLCrashReportSystemInfo.h +158 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Headers/PLCrashReportTextFormatter.h +59 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Headers/PLCrashReportThreadInfo.h +75 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Headers/PLCrashReporter.h +131 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Headers/PLCrashReporterConfig.h +193 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Modules/module.modulemap +8 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Resources/Info.plist +48 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Resources/PrivacyInfo.xcprivacy +39 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/A/CrashReporter +0 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/A/Headers/CrashReporter.h +366 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/A/Headers/PLCrashFeatureConfig.h +108 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/A/Headers/PLCrashMacros.h +143 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/A/Headers/PLCrashNamespace.h +320 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/A/Headers/PLCrashReport.h +193 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/A/Headers/PLCrashReportApplicationInfo.h +52 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/A/Headers/PLCrashReportBinaryImageInfo.h +76 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/A/Headers/PLCrashReportExceptionInfo.h +59 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/A/Headers/PLCrashReportFormatter.h +55 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/A/Headers/PLCrashReportMachExceptionInfo.h +41 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/A/Headers/PLCrashReportMachineInfo.h +64 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/A/Headers/PLCrashReportProcessInfo.h +80 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/A/Headers/PLCrashReportProcessorInfo.h +64 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/A/Headers/PLCrashReportRegisterInfo.h +45 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/A/Headers/PLCrashReportSignalInfo.h +50 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/A/Headers/PLCrashReportStackFrameInfo.h +50 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/A/Headers/PLCrashReportSymbolInfo.h +51 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/A/Headers/PLCrashReportSystemInfo.h +158 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/A/Headers/PLCrashReportTextFormatter.h +59 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/A/Headers/PLCrashReportThreadInfo.h +75 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/A/Headers/PLCrashReporter.h +131 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/A/Headers/PLCrashReporterConfig.h +193 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/A/Modules/module.modulemap +8 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/A/Resources/Info.plist +48 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/A/Resources/PrivacyInfo.xcprivacy +39 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/Current/CrashReporter +0 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/Current/Headers/CrashReporter.h +366 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/Current/Headers/PLCrashFeatureConfig.h +108 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/Current/Headers/PLCrashMacros.h +143 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/Current/Headers/PLCrashNamespace.h +320 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/Current/Headers/PLCrashReport.h +193 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/Current/Headers/PLCrashReportApplicationInfo.h +52 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/Current/Headers/PLCrashReportBinaryImageInfo.h +76 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/Current/Headers/PLCrashReportExceptionInfo.h +59 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/Current/Headers/PLCrashReportFormatter.h +55 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/Current/Headers/PLCrashReportMachExceptionInfo.h +41 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/Current/Headers/PLCrashReportMachineInfo.h +64 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/Current/Headers/PLCrashReportProcessInfo.h +80 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/Current/Headers/PLCrashReportProcessorInfo.h +64 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/Current/Headers/PLCrashReportRegisterInfo.h +45 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/Current/Headers/PLCrashReportSignalInfo.h +50 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/Current/Headers/PLCrashReportStackFrameInfo.h +50 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/Current/Headers/PLCrashReportSymbolInfo.h +51 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/Current/Headers/PLCrashReportSystemInfo.h +158 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/Current/Headers/PLCrashReportTextFormatter.h +59 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/Current/Headers/PLCrashReportThreadInfo.h +75 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/Current/Headers/PLCrashReporter.h +131 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/Current/Headers/PLCrashReporterConfig.h +193 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/Current/Modules/module.modulemap +8 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/Current/Resources/Info.plist +48 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/macos-arm64_x86_64/CrashReporter.framework/Versions/Current/Resources/PrivacyInfo.xcprivacy +39 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64/CrashReporter.framework/CrashReporter +0 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64/CrashReporter.framework/Headers/CrashReporter.h +366 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64/CrashReporter.framework/Headers/PLCrashFeatureConfig.h +108 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64/CrashReporter.framework/Headers/PLCrashMacros.h +143 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64/CrashReporter.framework/Headers/PLCrashNamespace.h +320 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64/CrashReporter.framework/Headers/PLCrashReport.h +193 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64/CrashReporter.framework/Headers/PLCrashReportApplicationInfo.h +52 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64/CrashReporter.framework/Headers/PLCrashReportBinaryImageInfo.h +76 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64/CrashReporter.framework/Headers/PLCrashReportExceptionInfo.h +59 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64/CrashReporter.framework/Headers/PLCrashReportFormatter.h +55 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64/CrashReporter.framework/Headers/PLCrashReportMachExceptionInfo.h +41 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64/CrashReporter.framework/Headers/PLCrashReportMachineInfo.h +64 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64/CrashReporter.framework/Headers/PLCrashReportProcessInfo.h +80 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64/CrashReporter.framework/Headers/PLCrashReportProcessorInfo.h +64 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64/CrashReporter.framework/Headers/PLCrashReportRegisterInfo.h +45 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64/CrashReporter.framework/Headers/PLCrashReportSignalInfo.h +50 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64/CrashReporter.framework/Headers/PLCrashReportStackFrameInfo.h +50 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64/CrashReporter.framework/Headers/PLCrashReportSymbolInfo.h +51 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64/CrashReporter.framework/Headers/PLCrashReportSystemInfo.h +158 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64/CrashReporter.framework/Headers/PLCrashReportTextFormatter.h +59 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64/CrashReporter.framework/Headers/PLCrashReportThreadInfo.h +75 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64/CrashReporter.framework/Headers/PLCrashReporter.h +131 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64/CrashReporter.framework/Headers/PLCrashReporterConfig.h +193 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64/CrashReporter.framework/Info.plist +0 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64/CrashReporter.framework/Modules/module.modulemap +8 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64/CrashReporter.framework/PrivacyInfo.xcprivacy +39 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64_x86_64-simulator/CrashReporter.framework/CrashReporter +0 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64_x86_64-simulator/CrashReporter.framework/Headers/CrashReporter.h +366 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashFeatureConfig.h +108 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashMacros.h +143 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashNamespace.h +320 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReport.h +193 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReportApplicationInfo.h +52 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReportBinaryImageInfo.h +76 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReportExceptionInfo.h +59 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReportFormatter.h +55 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReportMachExceptionInfo.h +41 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReportMachineInfo.h +64 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReportProcessInfo.h +80 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReportProcessorInfo.h +64 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReportRegisterInfo.h +45 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReportSignalInfo.h +50 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReportStackFrameInfo.h +50 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReportSymbolInfo.h +51 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReportSystemInfo.h +158 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReportTextFormatter.h +59 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReportThreadInfo.h +75 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReporter.h +131 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64_x86_64-simulator/CrashReporter.framework/Headers/PLCrashReporterConfig.h +193 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64_x86_64-simulator/CrashReporter.framework/Info.plist +0 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64_x86_64-simulator/CrashReporter.framework/Modules/module.modulemap +8 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64_x86_64-simulator/CrashReporter.framework/PrivacyInfo.xcprivacy +39 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64_x86_64-simulator/CrashReporter.framework/_CodeSignature/CodeDirectory +0 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64_x86_64-simulator/CrashReporter.framework/_CodeSignature/CodeRequirements +0 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64_x86_64-simulator/CrashReporter.framework/_CodeSignature/CodeRequirements-1 +0 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64_x86_64-simulator/CrashReporter.framework/_CodeSignature/CodeResources +462 -0
- package/native/ios/PLCrashReporter/CrashReporter.xcframework/tvos-arm64_x86_64-simulator/CrashReporter.framework/_CodeSignature/CodeSignature +0 -0
- package/native/ios/PLCrashReporter/LICENSE.txt +54 -0
- package/native/ios/PLCrashReporter/PLCrashReporter.podspec +19 -0
- package/native/ios/VERSION +1 -0
- package/native/ios/packages/ios/Sources/CrumbCore/Crumb.swift +108 -0
- package/native/ios/packages/ios/Sources/CrumbCore/CrumbConfiguration.swift +212 -0
- package/native/ios/packages/ios/Sources/CrumbCore/CrumbDiagnostics.swift +158 -0
- package/native/ios/packages/ios/Sources/CrumbCore/CrumbFailureStacks.swift +94 -0
- package/native/ios/packages/ios/Sources/CrumbCore/CrumbInfrastructureHealthProbe.swift +110 -0
- package/native/ios/packages/ios/Sources/CrumbCore/CrumbJavaScriptCrashRecovery.swift +136 -0
- package/native/ios/packages/ios/Sources/CrumbCore/CrumbJavaScriptCrashStore.swift +502 -0
- package/native/ios/packages/ios/Sources/CrumbCore/CrumbJavaScriptFailureContext.swift +166 -0
- package/native/ios/packages/ios/Sources/CrumbCore/CrumbLogs.swift +138 -0
- package/native/ios/packages/ios/Sources/CrumbCore/CrumbPolicy.swift +336 -0
- package/native/ios/packages/ios/Sources/CrumbCore/CrumbRendering.swift +68 -0
- package/native/ios/packages/ios/Sources/CrumbCore/CrumbReportEnvelope.swift +666 -0
- package/native/ios/packages/ios/Sources/CrumbCore/CrumbReportQueue.swift +543 -0
- package/native/ios/packages/ios/Sources/CrumbCore/CrumbReportUploader.swift +304 -0
- package/native/ios/packages/ios/Sources/CrumbCore/CrumbRuntime.swift +306 -0
- package/native/ios/packages/ios/Sources/CrumbCore/CrumbSDKVersion.swift +5 -0
- package/native/ios/packages/ios/Sources/CrumbCore/CrumbScreenContext.swift +29 -0
- package/native/ios/packages/ios/Sources/CrumbUI/CrumbDesign.swift +151 -0
- package/native/ios/packages/ios/Sources/CrumbUI/CrumbLocalization.swift +23 -0
- package/native/ios/packages/ios/Sources/CrumbUI/CrumbQualityInstrumentation.swift +30 -0
- package/native/ios/packages/ios/Sources/CrumbUI/CrumbRenderingMonitor.swift +40 -0
- package/native/ios/packages/ios/Sources/CrumbUI/CrumbReporter.swift +1705 -0
- package/native/ios/packages/ios/Sources/CrumbUI/CrumbReporterLifecycle.swift +119 -0
- package/native/ios/packages/ios/Sources/CrumbUI/CrumbScreenshotArtifact.swift +186 -0
- package/native/ios/packages/ios/Sources/CrumbUI/CrumbShakeGestureRecognizer.swift +62 -0
- package/native/ios/packages/ios/Sources/CrumbUI/CrumbUploadCoordinator.swift +113 -0
- package/native/ios/packages/ios/Sources/CrumbUI/CrumbWorkspacePolicyCoordinator.swift +86 -0
- package/native/ios/packages/ios/Sources/CrumbUI/OnDemandDiagnosticsCollector.swift +269 -0
- package/native/ios/packages/ios/Sources/CrumbUI/OnDemandLogCollector.swift +213 -0
- package/native/ios/packages/ios/Sources/CrumbUI/Resources/en.lproj/Localizable.strings +75 -0
- package/native/ios/provenance.json +8 -0
- package/nitrogen/generated/android/c++/JHybridCrumbReactNativeSpec.cpp +32 -3
- package/nitrogen/generated/android/c++/JHybridCrumbReactNativeSpec.hpp +5 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/crumbsdk/reactnative/HybridCrumbReactNativeSpec.kt +17 -1
- package/nitrogen/generated/ios/CrumbReactNative-Swift-Cxx-Bridge.hpp +9 -0
- package/nitrogen/generated/ios/c++/HybridCrumbReactNativeSpecSwift.hpp +30 -2
- package/nitrogen/generated/ios/swift/HybridCrumbReactNativeSpec.swift +5 -1
- package/nitrogen/generated/ios/swift/HybridCrumbReactNativeSpec_cxx.swift +55 -2
- package/nitrogen/generated/shared/c++/HybridCrumbReactNativeSpec.cpp +4 -0
- package/nitrogen/generated/shared/c++/HybridCrumbReactNativeSpec.hpp +5 -1
- package/package.json +15 -5
- package/plugin/podfile.cjs +21 -0
- package/scripts/ios.rb +23 -0
- package/src/CrumbReactNative.nitro.ts +5 -1
- package/src/NativeCrumbReactNative.web.ts +4 -0
- package/src/index.ts +218 -1
- package/src/javascript-crash-capture.ts +774 -0
- package/src/log-buffer.ts +27 -2
- package/src/screen-context.ts +154 -0
- package/src/types.ts +53 -0
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
import Foundation
|
|
2
|
+
|
|
3
|
+
public struct CrumbConfiguration: Equatable, Sendable {
|
|
4
|
+
public let projectKey: String
|
|
5
|
+
public let environment: String
|
|
6
|
+
public let release: CrumbRelease
|
|
7
|
+
public let invocation: Set<CrumbInvocation>
|
|
8
|
+
public let capture: CrumbCaptureOptions
|
|
9
|
+
public let diagnostics: CrumbDiagnosticsOptions
|
|
10
|
+
public let privacy: CrumbPrivacyOptions
|
|
11
|
+
public let upload: CrumbUploadOptions
|
|
12
|
+
public let reporter: CrumbReporterOptions
|
|
13
|
+
public let evidence: Set<CrumbEvidenceCategory>
|
|
14
|
+
public let application: CrumbApplicationMetadata
|
|
15
|
+
public let customContext: CrumbCustomContextOptions
|
|
16
|
+
public let workspacePolicy: CrumbWorkspacePolicyOptions
|
|
17
|
+
|
|
18
|
+
public init(
|
|
19
|
+
projectKey: String,
|
|
20
|
+
environment: String,
|
|
21
|
+
release: CrumbRelease,
|
|
22
|
+
invocation: Set<CrumbInvocation> = [.shake, .programmatic],
|
|
23
|
+
capture: CrumbCaptureOptions = .init(),
|
|
24
|
+
diagnostics: CrumbDiagnosticsOptions = .init(),
|
|
25
|
+
privacy: CrumbPrivacyOptions = .init(),
|
|
26
|
+
upload: CrumbUploadOptions = .init(),
|
|
27
|
+
reporter: CrumbReporterOptions = .init(),
|
|
28
|
+
evidence: Set<CrumbEvidenceCategory> = Set(CrumbEvidenceCategory.allCases),
|
|
29
|
+
application: CrumbApplicationMetadata = .init(),
|
|
30
|
+
customContext: CrumbCustomContextOptions = .init(),
|
|
31
|
+
workspacePolicy: CrumbWorkspacePolicyOptions = .init()
|
|
32
|
+
) {
|
|
33
|
+
self.projectKey = projectKey
|
|
34
|
+
self.environment = environment
|
|
35
|
+
self.release = release
|
|
36
|
+
self.invocation = invocation
|
|
37
|
+
self.capture = capture
|
|
38
|
+
self.diagnostics = diagnostics
|
|
39
|
+
self.privacy = privacy
|
|
40
|
+
self.upload = upload
|
|
41
|
+
self.reporter = reporter
|
|
42
|
+
self.evidence = evidence
|
|
43
|
+
self.application = application
|
|
44
|
+
self.customContext = customContext
|
|
45
|
+
self.workspacePolicy = workspacePolicy
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
public struct CrumbUploadOptions: Equatable, Sendable {
|
|
50
|
+
/// Base URL for the Crumb ingestion service. A nil URL keeps upload disabled.
|
|
51
|
+
public let ingestionURL: URL?
|
|
52
|
+
|
|
53
|
+
public init(ingestionURL: URL? = nil) {
|
|
54
|
+
self.ingestionURL = ingestionURL
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
public struct CrumbRelease: Equatable, Sendable {
|
|
59
|
+
public let appVersion: String
|
|
60
|
+
public let nativeBuild: String
|
|
61
|
+
public let bundleVersion: String?
|
|
62
|
+
|
|
63
|
+
public init(
|
|
64
|
+
appVersion: String,
|
|
65
|
+
nativeBuild: String,
|
|
66
|
+
bundleVersion: String? = nil
|
|
67
|
+
) {
|
|
68
|
+
self.appVersion = appVersion
|
|
69
|
+
self.nativeBuild = nativeBuild
|
|
70
|
+
self.bundleVersion = bundleVersion
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
public enum CrumbInvocation: String, Hashable, Sendable {
|
|
75
|
+
case shake
|
|
76
|
+
case programmatic
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
public struct CrumbCaptureOptions: Equatable, Sendable {
|
|
80
|
+
public let screenshot: Bool
|
|
81
|
+
public let maximumScreenshotDimension: Int
|
|
82
|
+
public let maximumScreenshotBytes: Int
|
|
83
|
+
|
|
84
|
+
public init(
|
|
85
|
+
screenshot: Bool = true,
|
|
86
|
+
maximumScreenshotDimension: Int = 2_048,
|
|
87
|
+
maximumScreenshotBytes: Int = 5_242_880
|
|
88
|
+
) {
|
|
89
|
+
self.screenshot = screenshot
|
|
90
|
+
self.maximumScreenshotDimension = maximumScreenshotDimension
|
|
91
|
+
self.maximumScreenshotBytes = maximumScreenshotBytes
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
public struct CrumbDiagnosticsOptions: Equatable, Sendable {
|
|
96
|
+
/// Optional public Crumb `/health` URL. A nil URL disables API probing.
|
|
97
|
+
public let healthCheckURL: URL?
|
|
98
|
+
public let timeout: TimeInterval
|
|
99
|
+
public let logs: CrumbLogOptions
|
|
100
|
+
public let renderingEnabled: Bool
|
|
101
|
+
package let javascriptCrashCaptureEnabled: Bool
|
|
102
|
+
|
|
103
|
+
public init(
|
|
104
|
+
healthCheckURL: URL? = nil,
|
|
105
|
+
timeout: TimeInterval = 2,
|
|
106
|
+
logs: CrumbLogOptions = .init(),
|
|
107
|
+
javascriptCrashCaptureEnabled: Bool = false,
|
|
108
|
+
renderingEnabled: Bool = false
|
|
109
|
+
) {
|
|
110
|
+
self.healthCheckURL = healthCheckURL
|
|
111
|
+
self.timeout = timeout
|
|
112
|
+
self.logs = logs
|
|
113
|
+
self.javascriptCrashCaptureEnabled = javascriptCrashCaptureEnabled
|
|
114
|
+
self.renderingEnabled = renderingEnabled
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
public struct CrumbPrivacyOptions: Equatable, Sendable {
|
|
119
|
+
public let maskAllTextInputs: Bool
|
|
120
|
+
public let maskScreenshotsBeforeUpload: Bool
|
|
121
|
+
|
|
122
|
+
public init(
|
|
123
|
+
maskAllTextInputs: Bool = true,
|
|
124
|
+
maskScreenshotsBeforeUpload: Bool = true
|
|
125
|
+
) {
|
|
126
|
+
self.maskAllTextInputs = maskAllTextInputs
|
|
127
|
+
self.maskScreenshotsBeforeUpload = maskScreenshotsBeforeUpload
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/// Controls the reporter's appearance without allowing host applications to
|
|
132
|
+
/// replace Crumb's layout, copy, or branding.
|
|
133
|
+
public enum CrumbTheme: String, CaseIterable, Codable, Sendable {
|
|
134
|
+
case system
|
|
135
|
+
case light
|
|
136
|
+
case dark
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/// The small set of fields rendered by the built-in reporter.
|
|
140
|
+
public enum CrumbReporterField: String, CaseIterable, Hashable, Codable, Sendable {
|
|
141
|
+
case category
|
|
142
|
+
case description
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/// Optional report-time evidence that can be disabled by the host or made
|
|
146
|
+
/// stricter by a workspace policy. Release and runtime identity remain part of
|
|
147
|
+
/// the required report envelope.
|
|
148
|
+
public enum CrumbEvidenceCategory: String, CaseIterable, Hashable, Codable, Sendable {
|
|
149
|
+
case screenshot
|
|
150
|
+
case performance
|
|
151
|
+
case network
|
|
152
|
+
case logs
|
|
153
|
+
case threadStacks = "thread_stacks"
|
|
154
|
+
case healthCheck = "health_check"
|
|
155
|
+
case customContext = "custom_context"
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
public struct CrumbReporterOptions: Equatable, Sendable {
|
|
159
|
+
public let theme: CrumbTheme
|
|
160
|
+
public let visibleFields: Set<CrumbReporterField>
|
|
161
|
+
|
|
162
|
+
public init(
|
|
163
|
+
theme: CrumbTheme = .system,
|
|
164
|
+
visibleFields: Set<CrumbReporterField> = [.category, .description]
|
|
165
|
+
) {
|
|
166
|
+
self.theme = theme
|
|
167
|
+
self.visibleFields = visibleFields
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/// Application identity is separate from release identity so an integrator
|
|
172
|
+
/// can provide a stable public name while keeping version/build fields in
|
|
173
|
+
/// `CrumbRelease`.
|
|
174
|
+
public struct CrumbApplicationMetadata: Equatable, Sendable {
|
|
175
|
+
public let name: String?
|
|
176
|
+
|
|
177
|
+
public init(name: String? = nil) {
|
|
178
|
+
self.name = name
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/// Custom context is deliberately a string-only, explicitly allowlisted map.
|
|
183
|
+
/// Values are bounded and sanitized again by the effective-policy evaluator
|
|
184
|
+
/// before a report envelope is built.
|
|
185
|
+
public struct CrumbCustomContextOptions: Equatable, Sendable {
|
|
186
|
+
public let values: [String: String]
|
|
187
|
+
public let allowedKeys: Set<String>
|
|
188
|
+
|
|
189
|
+
public init(
|
|
190
|
+
values: [String: String] = [:],
|
|
191
|
+
allowedKeys: Set<String> = []
|
|
192
|
+
) {
|
|
193
|
+
self.values = values
|
|
194
|
+
self.allowedKeys = allowedKeys
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/// Enables the optional workspace policy fetch. Omitting the URL preserves
|
|
199
|
+
/// the current local-only behavior; when configured, optional evidence stays
|
|
200
|
+
/// disabled until a valid policy is fetched or loaded from a still-valid cache.
|
|
201
|
+
public struct CrumbWorkspacePolicyOptions: Equatable, Sendable {
|
|
202
|
+
public let url: URL?
|
|
203
|
+
public let timeout: TimeInterval
|
|
204
|
+
|
|
205
|
+
public init(
|
|
206
|
+
url: URL? = nil,
|
|
207
|
+
timeout: TimeInterval = 2
|
|
208
|
+
) {
|
|
209
|
+
self.url = url
|
|
210
|
+
self.timeout = timeout
|
|
211
|
+
}
|
|
212
|
+
}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import Foundation
|
|
2
|
+
|
|
3
|
+
public struct CrumbThreadDiagnostic: Equatable, Sendable {
|
|
4
|
+
public let id: UInt64
|
|
5
|
+
public let name: String
|
|
6
|
+
public let state: String
|
|
7
|
+
public let cpuUsagePercent: Double?
|
|
8
|
+
|
|
9
|
+
public init(id: UInt64, name: String, state: String, cpuUsagePercent: Double?) {
|
|
10
|
+
self.id = id
|
|
11
|
+
self.name = name
|
|
12
|
+
self.state = state
|
|
13
|
+
self.cpuUsagePercent = cpuUsagePercent
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
public enum CrumbStackTraceCaptureStatus: String, Equatable, Sendable {
|
|
18
|
+
case captured
|
|
19
|
+
case unavailable
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
public struct CrumbThreadStackDiagnostic: Equatable, Sendable {
|
|
23
|
+
public let id: UInt64
|
|
24
|
+
public let name: String
|
|
25
|
+
public let state: String
|
|
26
|
+
public let frames: [String]
|
|
27
|
+
|
|
28
|
+
public init(id: UInt64, name: String, state: String, frames: [String]) {
|
|
29
|
+
self.id = id
|
|
30
|
+
self.name = name
|
|
31
|
+
self.state = state
|
|
32
|
+
self.frames = frames
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
public struct CrumbStackTraceDiagnostic: Equatable, Sendable {
|
|
37
|
+
public let status: CrumbStackTraceCaptureStatus
|
|
38
|
+
public let scope: String
|
|
39
|
+
public let threads: [CrumbThreadStackDiagnostic]
|
|
40
|
+
public let truncated: Bool
|
|
41
|
+
public let unavailableReason: String?
|
|
42
|
+
|
|
43
|
+
public init(
|
|
44
|
+
status: CrumbStackTraceCaptureStatus,
|
|
45
|
+
scope: String,
|
|
46
|
+
threads: [CrumbThreadStackDiagnostic],
|
|
47
|
+
truncated: Bool,
|
|
48
|
+
unavailableReason: String?
|
|
49
|
+
) {
|
|
50
|
+
self.status = status
|
|
51
|
+
self.scope = scope
|
|
52
|
+
self.threads = threads
|
|
53
|
+
self.truncated = truncated
|
|
54
|
+
self.unavailableReason = unavailableReason
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
public struct CrumbHealthCheckDiagnostic: Equatable, Sendable {
|
|
59
|
+
public let host: String
|
|
60
|
+
public let succeeded: Bool
|
|
61
|
+
public let statusCode: Int?
|
|
62
|
+
public let latencyMilliseconds: Int
|
|
63
|
+
public let failure: String?
|
|
64
|
+
|
|
65
|
+
public init(
|
|
66
|
+
host: String,
|
|
67
|
+
succeeded: Bool,
|
|
68
|
+
statusCode: Int?,
|
|
69
|
+
latencyMilliseconds: Int,
|
|
70
|
+
failure: String?
|
|
71
|
+
) {
|
|
72
|
+
self.host = host
|
|
73
|
+
self.succeeded = succeeded
|
|
74
|
+
self.statusCode = statusCode
|
|
75
|
+
self.latencyMilliseconds = latencyMilliseconds
|
|
76
|
+
self.failure = failure
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
public struct CrumbNetworkDiagnostic: Equatable, Sendable {
|
|
81
|
+
public let status: String
|
|
82
|
+
public let transport: String
|
|
83
|
+
public let cellularGeneration: String?
|
|
84
|
+
public let isExpensive: Bool
|
|
85
|
+
public let isConstrained: Bool
|
|
86
|
+
public let healthCheck: CrumbHealthCheckDiagnostic?
|
|
87
|
+
|
|
88
|
+
public init(
|
|
89
|
+
status: String,
|
|
90
|
+
transport: String,
|
|
91
|
+
cellularGeneration: String?,
|
|
92
|
+
isExpensive: Bool,
|
|
93
|
+
isConstrained: Bool,
|
|
94
|
+
healthCheck: CrumbHealthCheckDiagnostic?
|
|
95
|
+
) {
|
|
96
|
+
self.status = status
|
|
97
|
+
self.transport = transport
|
|
98
|
+
self.cellularGeneration = cellularGeneration
|
|
99
|
+
self.isExpensive = isExpensive
|
|
100
|
+
self.isConstrained = isConstrained
|
|
101
|
+
self.healthCheck = healthCheck
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
public struct CrumbDiagnosticsSnapshot: Equatable, Sendable {
|
|
106
|
+
public let capturedAt: Date
|
|
107
|
+
public let location: String
|
|
108
|
+
public let processName: String
|
|
109
|
+
public let processID: Int32
|
|
110
|
+
public let cpuUsagePercent: Double?
|
|
111
|
+
public let residentMemoryBytes: UInt64?
|
|
112
|
+
public let physicalFootprintBytes: UInt64?
|
|
113
|
+
public let thermalState: String
|
|
114
|
+
public let threadCount: Int
|
|
115
|
+
public let busiestThreads: [CrumbThreadDiagnostic]
|
|
116
|
+
public let screenContext: CrumbScreenContext?
|
|
117
|
+
public let rendering: CrumbRenderingSnapshot?
|
|
118
|
+
public let gpuStatus: String
|
|
119
|
+
public let network: CrumbNetworkDiagnostic
|
|
120
|
+
public let logs: CrumbLogDiagnostic
|
|
121
|
+
public let stackTraces: CrumbStackTraceDiagnostic
|
|
122
|
+
|
|
123
|
+
public init(
|
|
124
|
+
capturedAt: Date,
|
|
125
|
+
location: String,
|
|
126
|
+
processName: String,
|
|
127
|
+
processID: Int32,
|
|
128
|
+
cpuUsagePercent: Double?,
|
|
129
|
+
residentMemoryBytes: UInt64?,
|
|
130
|
+
physicalFootprintBytes: UInt64?,
|
|
131
|
+
thermalState: String,
|
|
132
|
+
threadCount: Int,
|
|
133
|
+
busiestThreads: [CrumbThreadDiagnostic],
|
|
134
|
+
gpuStatus: String,
|
|
135
|
+
network: CrumbNetworkDiagnostic,
|
|
136
|
+
logs: CrumbLogDiagnostic,
|
|
137
|
+
stackTraces: CrumbStackTraceDiagnostic,
|
|
138
|
+
rendering: CrumbRenderingSnapshot? = nil,
|
|
139
|
+
screenContext: CrumbScreenContext? = nil
|
|
140
|
+
) {
|
|
141
|
+
self.capturedAt = capturedAt
|
|
142
|
+
self.location = location
|
|
143
|
+
self.processName = processName
|
|
144
|
+
self.processID = processID
|
|
145
|
+
self.cpuUsagePercent = cpuUsagePercent
|
|
146
|
+
self.residentMemoryBytes = residentMemoryBytes
|
|
147
|
+
self.physicalFootprintBytes = physicalFootprintBytes
|
|
148
|
+
self.thermalState = thermalState
|
|
149
|
+
self.threadCount = threadCount
|
|
150
|
+
self.busiestThreads = busiestThreads
|
|
151
|
+
self.gpuStatus = gpuStatus
|
|
152
|
+
self.network = network
|
|
153
|
+
self.logs = logs
|
|
154
|
+
self.stackTraces = stackTraces
|
|
155
|
+
self.rendering = rendering
|
|
156
|
+
self.screenContext = screenContext
|
|
157
|
+
}
|
|
158
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import Foundation
|
|
2
|
+
import CrashReporter
|
|
3
|
+
#if canImport(Darwin)
|
|
4
|
+
import Darwin
|
|
5
|
+
#endif
|
|
6
|
+
|
|
7
|
+
/// Local-only, independently discardable evidence. IDs are snapshot indexes, not Mach IDs.
|
|
8
|
+
package struct CrumbFailureStacks: Codable, Equatable, Sendable {
|
|
9
|
+
package struct Thread: Codable, Equatable, Sendable {
|
|
10
|
+
let index: UInt64
|
|
11
|
+
let name: String
|
|
12
|
+
let state: String
|
|
13
|
+
let frames: [String]
|
|
14
|
+
}
|
|
15
|
+
package let threads: [Thread]
|
|
16
|
+
package let truncated: Bool
|
|
17
|
+
package static let maximumBytes = 12_288
|
|
18
|
+
private static let captureLock = NSLock()
|
|
19
|
+
|
|
20
|
+
package func validated() -> Self? {
|
|
21
|
+
guard threads.count <= 32, threads.allSatisfy({ thread in
|
|
22
|
+
thread.name.utf8.count <= 128 && thread.state.utf8.count <= 64 &&
|
|
23
|
+
thread.frames.count <= 16 && thread.frames.allSatisfy { $0.utf8.count <= 512 }
|
|
24
|
+
}), let data = try? JSONEncoder().encode(self), data.count <= Self.maximumBytes else { return nil }
|
|
25
|
+
return self
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
package var diagnostic: CrumbStackTraceDiagnostic {
|
|
29
|
+
CrumbStackTraceDiagnostic(status: threads.isEmpty ? .unavailable : .captured,
|
|
30
|
+
scope: "native_threads", threads: threads.map {
|
|
31
|
+
CrumbThreadStackDiagnostic(id: $0.index, name: CrumbLogSanitizer.sanitize($0.name),
|
|
32
|
+
state: $0.state, frames: $0.frames.map(CrumbLogSanitizer.sanitize))
|
|
33
|
+
}, truncated: truncated, unavailableReason: threads.isEmpty ? "native_stack_capture_empty" : nil)
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/// Called only during an opted-in JS handoff, never from a native signal handler.
|
|
37
|
+
/// Live reports temporarily suspend threads. PLCrashReporter resumes them before returning;
|
|
38
|
+
/// no crash handler is enabled and symbol lookup happens only after that return.
|
|
39
|
+
package static func capture() -> Self? {
|
|
40
|
+
guard captureLock.try() else { return nil }
|
|
41
|
+
defer { captureLock.unlock() }
|
|
42
|
+
let config = PLCrashReporterConfig(signalHandlerType: .BSD, symbolicationStrategy: [],
|
|
43
|
+
shouldRegisterUncaughtExceptionHandler: false, basePath: NSTemporaryDirectory(), maxReportBytes: 1_048_576)
|
|
44
|
+
guard let reporter = PLCrashReporter(configuration: config),
|
|
45
|
+
let data = reporter.generateLiveReport(), data.count <= 1_048_576,
|
|
46
|
+
let report = try? PLCrashReport(data: data),
|
|
47
|
+
let captured = report.threads as? [PLCrashReportThreadInfo] else { return nil }
|
|
48
|
+
let sorted = captured.sorted {
|
|
49
|
+
if $0.crashed != $1.crashed { return $0.crashed }
|
|
50
|
+
return $0.threadNumber < $1.threadNumber
|
|
51
|
+
}
|
|
52
|
+
var threads: [Thread] = []
|
|
53
|
+
var truncated = captured.count > 32
|
|
54
|
+
for thread in sorted.prefix(32) {
|
|
55
|
+
guard thread.threadNumber >= 0,
|
|
56
|
+
let frames = thread.stackFrames as? [PLCrashReportStackFrameInfo] else { truncated = true; continue }
|
|
57
|
+
if frames.count > 16 { truncated = true }
|
|
58
|
+
let rawFrames = frames.prefix(16).map { frame in format(frame, report: report) }
|
|
59
|
+
if rawFrames.contains(where: { $0.utf8.count > 512 }) { truncated = true }
|
|
60
|
+
let formatted = rawFrames.map { value in
|
|
61
|
+
value.utf8.count <= 512 ? value : String(decoding: value.utf8.prefix(508), as: UTF8.self)
|
|
62
|
+
}
|
|
63
|
+
guard !formatted.isEmpty else { continue }
|
|
64
|
+
threads.append(Thread(index: UInt64(thread.threadNumber), name: "Thread \(thread.threadNumber)",
|
|
65
|
+
state: thread.crashed ? "capture_thread" : "unknown", frames: formatted))
|
|
66
|
+
while let encoded = try? JSONEncoder().encode(Self(threads: threads, truncated: true)), encoded.count > maximumBytes {
|
|
67
|
+
truncated = true
|
|
68
|
+
guard let last = threads.popLast() else { break }
|
|
69
|
+
guard last.frames.count > 1 else { break }
|
|
70
|
+
threads.append(Thread(index: last.index, name: last.name, state: last.state, frames: Array(last.frames.dropLast())))
|
|
71
|
+
}
|
|
72
|
+
if truncated && threads.last?.index != UInt64(thread.threadNumber) { break }
|
|
73
|
+
}
|
|
74
|
+
return Self(threads: threads, truncated: truncated).validated()
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
private static func format(_ frame: PLCrashReportStackFrameInfo, report: PLCrashReport) -> String {
|
|
78
|
+
let address = frame.instructionPointer
|
|
79
|
+
guard let image = report.image(forAddress: address), address >= image.imageBaseAddress else {
|
|
80
|
+
return "unknown image · 0x\(String(address, radix: 16))"
|
|
81
|
+
}
|
|
82
|
+
let module = URL(fileURLWithPath: image.imageName).lastPathComponent
|
|
83
|
+
let uuid = image.hasImageUUID ? image.imageUUID ?? "unknown" : "unknown"
|
|
84
|
+
var value = "\(module) + 0x\(String(address - image.imageBaseAddress, radix: 16)) [\(uuid)]"
|
|
85
|
+
#if canImport(Darwin)
|
|
86
|
+
var info = Dl_info()
|
|
87
|
+
if let pointer = UnsafeRawPointer(bitPattern: UInt(address)), dladdr(pointer, &info) != 0,
|
|
88
|
+
let symbol = info.dli_sname, let start = info.dli_saddr, address >= UInt64(UInt(bitPattern: start)) {
|
|
89
|
+
value += " · \(String(cString: symbol)) + \(address - UInt64(UInt(bitPattern: start)))"
|
|
90
|
+
}
|
|
91
|
+
#endif
|
|
92
|
+
return CrumbLogSanitizer.sanitize(value)
|
|
93
|
+
}
|
|
94
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import Foundation
|
|
2
|
+
|
|
3
|
+
package struct CrumbHealthHeadResult: Sendable {
|
|
4
|
+
package let statusCode: Int?
|
|
5
|
+
package let latencyMilliseconds: Int
|
|
6
|
+
package let failure: String?
|
|
7
|
+
|
|
8
|
+
package init(statusCode: Int?, latencyMilliseconds: Int, failure: String?) {
|
|
9
|
+
self.statusCode = statusCode
|
|
10
|
+
self.latencyMilliseconds = latencyMilliseconds
|
|
11
|
+
self.failure = failure
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
package enum CrumbInfrastructureHealthProbe {
|
|
16
|
+
package typealias HeadRequest = (URLRequest, TimeInterval) -> CrumbHealthHeadResult
|
|
17
|
+
|
|
18
|
+
package static func capture(
|
|
19
|
+
url: URL,
|
|
20
|
+
timeout: TimeInterval,
|
|
21
|
+
head: HeadRequest = performHead
|
|
22
|
+
) -> CrumbHealthCheckDiagnostic {
|
|
23
|
+
var request = URLRequest(
|
|
24
|
+
url: url,
|
|
25
|
+
cachePolicy: .reloadIgnoringLocalCacheData,
|
|
26
|
+
timeoutInterval: timeout
|
|
27
|
+
)
|
|
28
|
+
request.httpMethod = "HEAD"
|
|
29
|
+
let result = head(request, timeout)
|
|
30
|
+
return CrumbHealthCheckDiagnostic(
|
|
31
|
+
host: url.host ?? "unknown",
|
|
32
|
+
succeeded: result.failure == nil &&
|
|
33
|
+
(result.statusCode.map { (200..<300).contains($0) } ?? false),
|
|
34
|
+
statusCode: result.statusCode,
|
|
35
|
+
latencyMilliseconds: min(max(result.latencyMilliseconds, 0), 30_000),
|
|
36
|
+
failure: result.failure.map { String($0.prefix(128)) }
|
|
37
|
+
)
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
private static func performHead(
|
|
41
|
+
request: URLRequest,
|
|
42
|
+
timeout: TimeInterval
|
|
43
|
+
) -> CrumbHealthHeadResult {
|
|
44
|
+
let startedAt = DispatchTime.now()
|
|
45
|
+
let result = HealthProbeValue()
|
|
46
|
+
let semaphore = DispatchSemaphore(value: 0)
|
|
47
|
+
let task = URLSession.shared.dataTask(with: request) { _, response, error in
|
|
48
|
+
result.setIfEmpty(
|
|
49
|
+
CrumbHealthHeadResult(
|
|
50
|
+
statusCode: (response as? HTTPURLResponse)?.statusCode,
|
|
51
|
+
latencyMilliseconds: elapsedMilliseconds(since: startedAt),
|
|
52
|
+
failure: error.map(failureName)
|
|
53
|
+
)
|
|
54
|
+
)
|
|
55
|
+
semaphore.signal()
|
|
56
|
+
}
|
|
57
|
+
task.resume()
|
|
58
|
+
if semaphore.wait(timeout: .now() + timeout) == .timedOut {
|
|
59
|
+
task.cancel()
|
|
60
|
+
return CrumbHealthHeadResult(
|
|
61
|
+
statusCode: nil,
|
|
62
|
+
latencyMilliseconds: Int(timeout * 1_000),
|
|
63
|
+
failure: "timeout"
|
|
64
|
+
)
|
|
65
|
+
}
|
|
66
|
+
return result.value ?? CrumbHealthHeadResult(
|
|
67
|
+
statusCode: nil,
|
|
68
|
+
latencyMilliseconds: elapsedMilliseconds(since: startedAt),
|
|
69
|
+
failure: "unavailable"
|
|
70
|
+
)
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
private func elapsedMilliseconds(since start: DispatchTime) -> Int {
|
|
75
|
+
let elapsed = DispatchTime.now().uptimeNanoseconds - start.uptimeNanoseconds
|
|
76
|
+
return Int(elapsed / 1_000_000)
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
private func failureName(_ error: Error) -> String {
|
|
80
|
+
guard let error = error as? URLError else {
|
|
81
|
+
return String(String(describing: type(of: error)).prefix(128))
|
|
82
|
+
}
|
|
83
|
+
return switch error.code {
|
|
84
|
+
case .timedOut: "timeout"
|
|
85
|
+
case .notConnectedToInternet: "not_connected"
|
|
86
|
+
case .cannotFindHost, .dnsLookupFailed: "cannot_find_host"
|
|
87
|
+
case .cannotConnectToHost: "cannot_connect"
|
|
88
|
+
case .networkConnectionLost: "connection_lost"
|
|
89
|
+
case .secureConnectionFailed, .serverCertificateUntrusted: "tls_failed"
|
|
90
|
+
case .cancelled: "cancelled"
|
|
91
|
+
default: "transport_error"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
private final class HealthProbeValue: @unchecked Sendable {
|
|
96
|
+
private let lock = NSLock()
|
|
97
|
+
private var storage: CrumbHealthHeadResult?
|
|
98
|
+
|
|
99
|
+
var value: CrumbHealthHeadResult? {
|
|
100
|
+
lock.lock()
|
|
101
|
+
defer { lock.unlock() }
|
|
102
|
+
return storage
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
func setIfEmpty(_ value: CrumbHealthHeadResult) {
|
|
106
|
+
lock.lock()
|
|
107
|
+
defer { lock.unlock() }
|
|
108
|
+
if storage == nil { storage = value }
|
|
109
|
+
}
|
|
110
|
+
}
|