How to expose component from installed app to be visible to instant app?

冷暖自知 提交于 2019-11-30 18:17:39
Oasis Feng

At last, I figured out the syntax:

For Android O+, you can specify android:visibleToInstantApps="true" to the component.

For lower version of Android, add this meta-data to your <application> (not working for components):

<meta-data android:name="instantapps.clients.allowed" android:value="true" />

More Info can be found here 3.15. Instant Apps

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!