Sample Header Ad - 728x90

How to install an app consisting of multiple apk using the `pm` android’s command?

0 votes
0 answers
1806 views
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](https://android.stackexchange.com/q/251483/87784) . 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.
Asked by user2284570 (501 rep)
Jun 10, 2023, 07:41 PM