[ios][crash] adding missing required string formatter: 'NSInvalidArgumentException if @p format is nil'

This commit is contained in:
Salakar 2017-10-03 10:01:08 +01:00
parent a1534c23b8
commit aa2e8804b7
1 changed files with 3 additions and 3 deletions

View File

@ -7,15 +7,15 @@
RCT_EXPORT_MODULE();
RCT_EXPORT_METHOD(log:(NSString *)message) {
FIRCrashLog(message);
FIRCrashLog(@"%@", message);
}
RCT_EXPORT_METHOD(logcat:(nonnull NSNumber *) level tag:(NSString *) tag message:(NSString *) message) {
FIRCrashLog(message);
FIRCrashLog(@"%@", message);
}
RCT_EXPORT_METHOD(report:(NSString *) message) {
FIRCrashLog(message);
FIRCrashLog(@"%@", message);
assert(NO);
}