From 0542a43f758440ca2a472d085a29f6ccc5859dc1 Mon Sep 17 00:00:00 2001 From: Richard Elms Date: Tue, 4 Jun 2024 10:43:12 +0200 Subject: [PATCH] initial commit --- features/csharp/csharp_config.feature | 2 +- src/BugsnagUnity/Native/Android/NativeInterface.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/features/csharp/csharp_config.feature b/features/csharp/csharp_config.feature index 890a07fc3..5954f26d0 100644 --- a/features/csharp/csharp_config.feature +++ b/features/csharp/csharp_config.feature @@ -115,7 +115,7 @@ Feature: csharp events And the event "breadcrumbs.1.metaData.dictionary.stringArray.0" equals "12345678901234567890***80 CHARS TRUNCATED***" And the event "breadcrumbs.1.metaData.stringDictionary.testKey" equals "12345678901234567890***80 CHARS TRUNCATED***" - @skip_cocoa @skip_android #not supported on these platforms + @skip_cocoa #not supported on these platforms Scenario: GenerateAnonymousId When I run the game in the "GenerateAnonymousId" state And I wait to receive an error diff --git a/src/BugsnagUnity/Native/Android/NativeInterface.cs b/src/BugsnagUnity/Native/Android/NativeInterface.cs index ef0f8cda7..97b730e1a 100644 --- a/src/BugsnagUnity/Native/Android/NativeInterface.cs +++ b/src/BugsnagUnity/Native/Android/NativeInterface.cs @@ -346,7 +346,7 @@ AndroidJavaObject CreateNativeConfig(Configuration config) obj.Call("setSendLaunchCrashesSynchronously", config.SendLaunchCrashesSynchronously); obj.Call("setMaxReportedThreads", config.MaxReportedThreads); obj.Call("setMaxStringValueLength", config.MaxStringValueLength); - + obj.Call("setGenerateAnonymousId", config.GenerateAnonymousId); if (config.GetUser() != null) {