App store problem

Hello I am making an app store like Google play store.
In mit app inventor if I click on the button the apk will be installed but not the app.
So is there any way to download all the apk files in the start of the app.
And when I click on download button it should download the app not apk

This can potentially harm your phone, because if you download a lot of big files at the beginning of your app, your app will most likely run out of sufficient cache or memory.

There is an alternative to this. You can use the extension here.

  • download the APK to the app specific directory.

  • after the download is completed, install it with the Install block.