I'm looking to open the google play install modal instead of opening up google play store app like this for my own app:
However, looking online [1][2], it seems that you need permission from google to do so for your app?
And deducing from source 2, I believe the code would looks something like...