diff --git a/branch-sdk-automation-testbed/android/app/src/main/java/com/branch_sdk_react_native_app/MainApplication.java b/branch-sdk-automation-testbed/android/app/src/main/java/com/branch_sdk_react_native_app/MainApplication.java index a6dff0dd4..6665176be 100644 --- a/branch-sdk-automation-testbed/android/app/src/main/java/com/branch_sdk_react_native_app/MainApplication.java +++ b/branch-sdk-automation-testbed/android/app/src/main/java/com/branch_sdk_react_native_app/MainApplication.java @@ -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; @@ -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); } /**