DebugDrawer
DebugDrawer copied to clipboard
Share timber logs fails on Android 24+
Starting from Android 24, you cannot use file:// schemas to share content to other apps.
https://commonsware.com/blog/2016/03/14/psa-file-scheme-ban-n-developer-preview.html
The library should use a FileProvider to share the logs with other apps. Keep in mind that an app can have one single FileProvider so the TimberModule needs to get the app's file provider authority and use that to create the URI.
Let me know if you're interested in a PR.
I'm also very interested in this feature. Is this lib is no longer being maintained, we can create our custom modules as a workaround.
It seems this library is no longer being maintained. So I fixed this issue in my forked repository herer: https://github.com/lenguyenthanh/DebugDrawer
I also published it to https://jitpack.io/#lenguyenthanh/debugdrawer so anyone can use that. Here is example setup:
debugImplementation "com.github.lenguyenthanh.debugdrawer:debugdrawer-base:0.9.0"
debugImplementation "com.github.lenguyenthanh.debugdrawer:debugdrawer:0.9.0"
debugImplementation "com.github.lenguyenthanh.debugdrawer:debugdrawer-view:0.9.0"
debugImplementation "com.github.lenguyenthanh.debugdrawer:debugdrawer-okhttp3:0.9.0"
debugImplementation "com.github.lenguyenthanh.debugdrawer:debugdrawer-scalpel:0.9.0"
debugImplementation "com.github.lenguyenthanh.debugdrawer:debugdrawer-picasso:0.9.0"
debugImplementation "com.github.lenguyenthanh.debugdrawer:debugdrawer-timber:0.9.0"
debugImplementation "com.github.lenguyenthanh.debugdrawer:debugdrawer-fps:0.9.0"
debugImplementation "com.github.lenguyenthanh.debugdrawer:debugdrawer-actions:0.9.0"
debugImplementation "com.github.lenguyenthanh.debugdrawer:debugdrawer-commons:0.9.0"