Broken BranchLogger in V5.8.0
prateekkejriwal opened this issue · 1 comments
Describe the bug
With the release of V5.8.0, Branch SDK is unable to log the messages on the Android Logger.
There is an addition of another value ( isDebug ) in the BranchLogger.kt here.
This value is set using BuildConfig.DEBUG which is referencing to the BuildConfig.DEBUG of the SDK and not the actual application. Because of this check, SDK is unable to print any logs even with logging enabled.
Test Details -
SDK Version - 5.8.0
Android Version - 14
Device - Samsung S22 Ultra
Test App Attached.
My Application.zip
My Application_5dot7dot5.zip. Same app with SDK version 5.7.5 with working logs.
Steps to reproduce
1.Integrate Branch SDK as per the help docs here.
2.Run the app through debugger on a physical or an emulator device.
3. Check the Logcat for logs printed by Branch SDK.
OR
Use the provided app source.
- Import the project into Android Studio
- Run the app through debugger on a physical or an emulator device.
- Check the Logcat for logs printed by Branch SDK.
Expected behavior
Branch SDK should have printed logs on the log cat.
SDK Version
5.8.0
Make and Model
S22 Ultra
OS
14
Additional Information/Context
No response
Fixed in 5.8.1