2
0
mirror of synced 2025-01-10 06:05:53 +00:00
2017-03-10 14:18:07 +00:00

27 lines
457 B
Objective-C

#import "RNFirebaseCrash.h"
#import "Firebase.h"
@implementation RNFirebaseCrash
RCT_EXPORT_MODULE(RNFirebaseCrash);
RCT_EXPORT_METHOD(log:(NSString *)message)
{
FIRCrashLog(message);
}
RCT_EXPORT_METHOD(logcat:(nonnull NSNumber *) level
tag:(NSString *) tag
message:(NSString *) message)
{
FIRCrashLog(message);
}
RCT_EXPORT_METHOD(report:(NSString *) message)
{
FIRCrashLog(message);
assert(NO);
}
@end