In order to get a specific visa, I need to verify my ɪᴅ using a government official app. I went on the play store and it first showed as not being compatible because it requires ɴꜰᴄ which my phone doesn’t have.
So I manually downloaded the app and obtained an xapk because the single app consists of several .apk
. So far no problems using adb install-multiple
. I then launched that app to verify my ɪᴅ and then the app complained it wasn’t installed from the Google’s play store.
The solution to this situation is normally to simply install the apk using pm -i com.android.vending apk
.
But how do that when the same app ɪᴅ consist of several .apk
?
Please also note it uses com.android.vending.CHECK_LICENSE
for the same purpose so that setting the installer after isn’t enough.
pm
,adb
doesn’t have a full way to fake the installer. This means the app complains I should only download it for free from Google Play for my security…CHECK_LICENSE
work when installed from APK?" while Y is "How to install multiple APK usingpm
?" since there's a possibility that Play Store sets something on the server when installing from Play Store, thuspm
may be irrelevant since it will just do the same installation process like from ADB (which you have successfully done). Your follow-up question is perhaps a more reasonable way to solve this issue.pm
itself is certainly on-topic, which @Robert 's comment has answered (the link mentioned ADB only foradb shell
, but the main topic is usingpm
). Thus, consider trying that guide and let us know the result, or post it as a proper answer!adb install-multiple
is how I got the app to complain it wasn’t installed from the Google’s Play Store. Thepm
/cmd package
tool can fake the installer, but I don’t see how to use them on split ᴀᴘᴋs… App is supposed to be started off‑line so without accessing Google’s servers…