From aa2e8804b7ac08a46cb31fbf2eaa28292cb2dd6e Mon Sep 17 00:00:00 2001 From: Salakar Date: Tue, 3 Oct 2017 10:01:08 +0100 Subject: [PATCH] [ios][crash] adding missing required string formatter: 'NSInvalidArgumentException if @p format is nil' --- ios/RNFirebase/crash/RNFirebaseCrash.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ios/RNFirebase/crash/RNFirebaseCrash.m b/ios/RNFirebase/crash/RNFirebaseCrash.m index c34b2eab..1ff364f0 100644 --- a/ios/RNFirebase/crash/RNFirebaseCrash.m +++ b/ios/RNFirebase/crash/RNFirebaseCrash.m @@ -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); }