infinum / android_dbinspector

Android library for viewing, editing and sharing in app databases.
Apache License 2.0
951 stars 91 forks source link

Control over dbinspector shortcut #110

Open nightfury96 opened 11 months ago

nightfury96 commented 11 months ago

:warning: Please describe your feature request

I want to use dbinspector just in the Explicit way for the release version, so I removed the additional launcher icon but the Android shortcut (long click of app icon) still exists. Please provide a way to remove the shortcut like the automatic launcher icon.

:bulb: Describe the solution you'd like

:bar_chart: Describe alternatives you've considered

:page_facing_up: Additional context

:raising_hand: Do you want to develop this feature yourself?

raanaYavari commented 9 months ago

If you are using Implementation, Using "debugImplementation" and "releaseImplementation " in your app gradle file would be best.

debugImplementation "com.infinum.dbinspector:dbinspector:5.4.9"
releaseImplementation "com.infinum.dbinspector:dbinspector-no-op:5.4.9"
nightfury96 commented 9 months ago

If you are using Implementation, Using "debugImplementation" and "releaseImplementation " in your app gradle file would be best.

debugImplementation "com.infinum.dbinspector:dbinspector:5.4.9"
releaseImplementation "com.infinum.dbinspector:dbinspector-no-op:5.4.9"

Thanks, but I don't want to delete this feature in the release version because with no-op, I can't invoke dbinspector explicitly.