2
0
mirror of synced 2025-01-11 22:54:12 +00:00

27 lines
457 B
Mathematica
Raw Normal View History

#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