I have an appstore that I want to do the same as google play store and amazon store which have unique values when calling getInstallerPackageName(). like apps that were installed from amazon would return com.amazon.venezia and apps installed from google play would return com.android.vending.
is it possible I can do the same? so when calling getInstallerPackageName() for the apps that were downloaded and installed from my appstore would return for example com.myapp.vending?
also, i know calling getInstallerPackageName() would return null if the app is sideloaded, but there might be cases where A app can be downloaded and installed from another 3rd party source and not from my app. both ways of installing this A app would return null when calling getInstallerPackageName().