One of the largest Chinese phone makers, Xiaomi, wants to stop Android users from removing APKs from their handsets, but happily Google opposes the notion.
The simplicity of extracting and distributing APK files—which are used to install apps—has benefited the Android ecosystem significantly over time. For instance, if a recent app update results in significant problems, you can visit a crowdsourced website like APKMirror and download an earlier version of the program until the issue is fixed. A buddy can also locally email you the APK file of a game or app update to install if you only have a limited quantity of data. These same files will be used by our APK Insight team to look for signs of upcoming enhancements.
Despite this, not all businesses appear to have the same attitude toward users viewing the source code and other documents for their apps. A Xiaomi developer has submitted an submitted a proposal to the Android Open Source Project that would categorically prohibit owners of Android devices from copying APK files off of their phone, as reported by Mishaal Rahman on Twitter . The justification given is a desire to safeguard personal resources.
Don’t let shell get the data apk.
We shouldn’t enable anyone to pull the apk because it might contain some exclusive resources.
The Google Play Store or another reputable app store should be the only places where users can download programs, according to Xiaomi developer suggests . Fortunately, Google seems to be vehemently opposed to the idea, though occasionally not for the reasons you might anticipate.
The Xiaomi proposal has a fault, which is that it would and should only prevent APK files from being extracted on a standard (user) build of Android, as pointed out by one Googler. The Googler suggests that in that case, enthusiasts would just install a debug build of Android and carry on with regular APK extraction. According to that reasoning, they are against Xiaomi’s protection strategy because it wouldn’t genuinely safeguard anything.
Even further, some Google employees have argued against the notion that the information contained in an APK file can ever be regarded as secret.
Is it ever possible to consider an APK private?
APKs shouldn’t be expected to keep their contents a secret, in my opinion. I’m not sure why we would even want it, and even if we did, even with this change, there is really no way we could guarantee it.
All things considered, it is abundantly evident that Google is not in favor of making it more difficult to extract APK files from your device, which is encouraging for the open future of the Android app market.