android-disable-direct-share
android-disable-direct-share copied to clipboard
This will crash apps in Android 10 (Q)
This method worked in 9.0 and earlier, but in 10.0 it will crash a running app if you try to share anything. I don't know what the better solution is yet, but you should add a warning to this effect.
Android 10/Q no longer polls apps for Direct Share targets (apps now push them using a new API) so the filter is probably redundant on Q anyway.
My guess is that we're stuck with Direct Share until someone finds another way to block it.
Thanks. I added a warning to the README.