Skip to content

Commit

Permalink
Updated logging level to verbose.
Browse files Browse the repository at this point in the history
  • Loading branch information
NidhiDixit09 committed Aug 7, 2024
1 parent 5a1f3b2 commit 9ca5a54
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
import com.facebook.react.ReactPackage;
import com.facebook.react.config.ReactFeatureFlags;
import com.facebook.soloader.SoLoader;

import io.branch.referral.Branch;
import io.branch.referral.BranchLogger;
import io.branch.saas.sdk.testbed.newarchitecture.MainApplicationReactNativeHost;
import java.lang.reflect.InvocationTargetException;
import java.util.List;
Expand Down Expand Up @@ -59,9 +62,9 @@ public void onCreate() {
SoLoader.init(this, /* native exopackage */ false);
initializeFlipper(this, getReactNativeHost().getReactInstanceManager());
// Branch logging for debugging
RNBranchModule.enableLogging();
Branch.enableLogging(BranchLogger.BranchLogLevel.VERBOSE);

RNBranchModule.getAutoInstance(this);
RNBranchModule.getAutoInstance(this);
}

/**
Expand Down

0 comments on commit 9ca5a54

Please sign in to comment.