Skip to content

Commit

Permalink
deps(react-native): Remove bugsnag-cocoa class extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
nickdowell committed Jan 21, 2021
1 parent 57c38d6 commit 1f14b7c
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
//

#import "BugsnagConfigSerializer.h"
#import "BugsnagCollections.h"

@implementation BugsnagConfigSerializer

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@
#import "BugsnagThread+Private.h"
#import "BugsnagUser+Private.h"

@interface BugsnagEvent ()
- (void)attachCustomStacktrace:(NSArray *)frames withType:(NSString *)type;
@end

@implementation BugsnagEventDeserializer

- (BugsnagEvent *)deserializeEvent:(NSDictionary *)payload {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@
#import "BugsnagConfigSerializer.h"
#import "BugsnagEventDeserializer.h"

@interface Bugsnag ()
+ (void)updateCodeBundleId:(NSString *)codeBundleId;
+ (void)notifyInternal:(BugsnagEvent *_Nonnull)event
block:(BOOL (^_Nonnull)(BugsnagEvent *_Nonnull))block;
+ (void)addRuntimeVersionInfo:(NSString *)info
withKey:(NSString *)key;
@end

@interface BugsnagReactNative ()
@property (nonatomic) BugsnagConfigSerializer *configSerializer;
@end
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,11 @@
#import "BugsnagReactNativeEmitter.h"

#import "Bugsnag+Private.h"
#import "BugsnagClient.h"
#import "BugsnagClient+Private.h"
#import "BugsnagStateEvent.h"

typedef void (^BugsnagObserverBlock)(BugsnagStateEvent *_Nonnull event);

@interface BugsnagClient ()
- (void)addObserverWithBlock:(BugsnagObserverBlock _Nonnull)block;
- (void)removeObserverWithBlock:(BugsnagObserverBlock _Nonnull)block;
@end

@interface BugsnagMetadata ()
- (NSDictionary *)toDictionary;
@end

@interface BugsnagReactNativeEmitter ()
@property BugsnagObserverBlock observerBlock;
@end
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#import "BugsnagReactNativePlugin.h"

#import "Bugsnag.h"
#import "BugsnagClient+Private.h"
#import "BugsnagConfiguration.h"
#import "BugsnagError.h"

@interface BugsnagReactNativePlugin () <BugsnagPlugin>
Expand Down

0 comments on commit 1f14b7c

Please sign in to comment.