[SceneKit Spectrum] Added device name to logging
Device name logging is essential in determining if crashes are on specific device models that haven't been blocklisted. Signed-off-by: Christopher Snowhill <kode54@gmail.com>swiftingly
parent
41d4c7458e
commit
b01924e10e
|
@ -13,6 +13,10 @@
|
|||
|
||||
#import "analyzer.h"
|
||||
|
||||
#import "Logging.h"
|
||||
|
||||
@import Firebase;
|
||||
|
||||
#define LOWER_BOUND -80
|
||||
|
||||
static void *kSpectrumViewSKContext = &kSpectrumViewSKContext;
|
||||
|
@ -61,6 +65,9 @@ extern NSString *CogPlaybackDidStopNotficiation;
|
|||
|
||||
if(!device) return nil;
|
||||
|
||||
DLog(@"SceneKit visualizer accessed device named: %@", device.name);
|
||||
[[FIRCrashlytics crashlytics] logWithFormat:@"SceneKit visualizer accessed device named: %@", device.name];
|
||||
|
||||
if([device.name containsString:@"AMD"]) {
|
||||
if([device.name containsString:@"FirePro D"] ||
|
||||
[device.name containsString:@" M2"] ||
|
||||
|
|
Loading…
Reference in New Issue