/* * 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 DEPRECATED_MSG_ATTRIBUTE("`init` is deprecated and will be removed in the next major release."); + (instancetype)new DEPRECATED_MSG_ATTRIBUTE("`new` is deprecated and will be removed in the next major release."); + (void)disable; + (void)addObserver:(id)observer; + (void)removeObserver:(id)observer; + (void)clearCrashReportFiles; + (NSString *)getFBSDKVersion; - (void)disable; @end NS_ASSUME_NONNULL_END