Android7_Shortcuts_Demo
Android7_Shortcuts_Demo copied to clipboard
如何实现targetpackage动态配置
如何实现targetpackage动态配置,targetpackage在这里指的是applocationid,而我们applocationId debug与release不一样。 不知道作者有合适的动态配置方案没有,我试过几种方案均不合我意
@LeoYe168 可以利用多渠道打包尝试, 不用的渠道使用不同的string
@qibin0506 shortcute.xml文件使用不了 引用的 string变量
@LeoYe168 那尝试在多渠道区分shortcut.xml呢?
@qibin0506 这个应该可行,只是未免有点用牛刀了。。 共享一个我在网上找的解决方案,亲测可行 https://github.com/Zellius/android-shortcut-gradle-plugin/blob/master/README.md