I'm trying the new "push" model for the direct share targets of Android Q. I'm using ShortcutMaangerCompat from Android X package as explained here . I removed the old direct share service too. I tested my app on previous versions to check if backward compatible, it seems ok. On Android Q emulator I always get the "direct share not available". See image. Is it a bug? Emulator problem? Just me? I don't understand if I did something wrong with my app since I can't see any direct share targets on android Q.
This is indeed Android Q Emulator issue . I ran the same sample app in Pixel Phone with Android 10, it works just fine showing the Contacts correctly in the place of where it showed "Direct Share not available" in Emulator.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.