mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-23 07:15:35 +01:00
ADD: Detect if report is from macOS
This commit is contained in:
parent
a06136bbaf
commit
a27b867399
1 changed files with 10 additions and 0 deletions
|
@ -20,7 +20,17 @@
|
|||
|
||||
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
|
||||
{
|
||||
|
||||
// Set the appType based on the current platform
|
||||
#if TARGET_OS_MACCATALYST
|
||||
BugsnagConfiguration *config = [BugsnagConfiguration loadConfig];
|
||||
config.appType = @"macOS";
|
||||
// Start Bugsnag with the configuration
|
||||
[Bugsnag startWithConfiguration:config];
|
||||
#else
|
||||
[Bugsnag start];
|
||||
#endif
|
||||
|
||||
[self copyDeviceUID];
|
||||
|
||||
[[NSUserDefaults standardUserDefaults] addObserver:self
|
||||
|
|
Loading…
Add table
Reference in a new issue