/* * Copyright (c) Meta Platforms, Inc. and affiliates. * All rights reserved. * * This source code is licensed under the license found in the * LICENSE file in the root directory of this source tree. */ #import #import #import NS_ASSUME_NONNULL_BEGIN NS_SWIFT_NAME(CrashHandler) @interface FBSDKCrashHandler : NSObject @property (class, nonatomic, readonly) FBSDKCrashHandler *shared; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; + (void)disable; + (void)addObserver:(id)observer; + (void)removeObserver:(id)observer; + (void)clearCrashReportFiles; + (NSString *)getFBSDKVersion; - (void)saveException:(NSException *)exception; - (void)disable; @end NS_ASSUME_NONNULL_END