![](/img/trans.png)
[英]How do I publish a new version for an app from another developer to Apple App Store and Google Play?
[英]How do I differentiate from which store app is installed from i.e Baidu Store / Google Play Store?
我的应用 已在Play商店和百度商店中部署。 对于通知,需要与应用程序不同。 已安装。
当我使用getInstallerPackageName()方法时,Redmi Note 3返回正确的值,但HTC返回null。
为什么会观察到这种差异?
还有其他更好的方法吗?
关于这个答案: https : //stackoverflow.com/a/13293534/2724879我建议当它的null时,它来自百度;当它的com.android.vending
它来自谷歌xD
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.