From aebcf2433a0dfa7493b362e702e27ddd5a310a37 Mon Sep 17 00:00:00 2001 From: nsingh-branch Date: Thu, 3 Oct 2024 10:33:45 -0700 Subject: [PATCH] Added logging always --- BranchSDK/Platforms/Android/BranchAndroid.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/BranchSDK/Platforms/Android/BranchAndroid.cs b/BranchSDK/Platforms/Android/BranchAndroid.cs index 3f38485..4d8d511 100644 --- a/BranchSDK/Platforms/Android/BranchAndroid.cs +++ b/BranchSDK/Platforms/Android/BranchAndroid.cs @@ -93,6 +93,8 @@ public static void Init(Android.App.Application app, String branchKey, IBranchSe AndroidNativeBranch.EnableLogging(BranchLogger.BranchLogLevel.Verbose); } + AndroidNativeBranch.EnableLogging(BranchLogger.BranchLogLevel.Verbose); + instance.lifeCycleHandler = new BranchAndroidLifeCycleHandler(callback); app.RegisterActivityLifecycleCallbacks(instance.lifeCycleHandler); @@ -125,6 +127,8 @@ public static void Init(Android.App.Application app, String branchKey, IBranchBU AndroidNativeBranch.EnableLogging(BranchLogger.BranchLogLevel.Verbose); } + AndroidNativeBranch.EnableLogging(BranchLogger.BranchLogLevel.Verbose); + instance.lifeCycleHandler = new BranchAndroidLifeCycleHandler(callback); app.RegisterActivityLifecycleCallbacks(instance.lifeCycleHandler);