[英]Detect the source of apk download
I have an apk file present in 2 standalone servers both of which have separate download links. 我在2个独立服务器中都有一个apk文件,两个服务器都有单独的下载链接。
I would like to know if it is possible to detect from which link the apk was downloaded after the app was installed and opened. 我想知道在安装和打开应用程序后,是否有可能检测到从哪个链接下载了apk。 The download is via browser and the one of the requirements is that the build has to remain the same.
下载是通过浏览器进行的,其中一项要求是构建必须保持不变。
If you are just installing your APK as a link directly on a file server, and the APKs are exactly the same, then no, there is no way to do this. 如果您只是将APK作为链接直接安装在文件服务器上,并且APK完全相同,那么就没有办法做到这一点。
Here are some work-arounds: 以下是一些变通方法:
download
folder, and you could probably look at the Android download
s folder after opening the app and look at the file name. download
文件夹,打开应用程序并查看文件名后,您可能会查看Android download
的文件夹。 This would not be reliable in any way though, as users could easily delete the file before actually opening your app, or there could be old downloads also.
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.