Skip to content

set installer? #47

@whitis

Description

@whitis

Installer is currently set to null. Seems like you can do better than that although fdroid doesn't do very well either since it uses an external app to actually install unlike google play and amazon app store.

fdroid was installed using fdroidcl

adb shell pm list packages -i -f -U | fgrep -i fdroid
package:/data/app/org.fdroid.fdroid-iuAasAj9JZFxU3XWeoSptQ==/base.apk=org.fdroid.fdroid installer=null uid:10473

antenna pod was manually installed using f-droid app

adb shell pm list packages -i -f -U | fgrep -i antenna
package:/data/app/de.danoeh.antennapod-ipm6qV5SdjpZAUEcvlRjog==/base.apk=de.danoeh.antennapod installer=com.google.android.packageinstaller uid:10474

This was an example I found of how to set the installer when installing via adb
adb shell pm install -i "com.android.vending" -r /data/local/tmp/app.apk
but with that you need to push the file across first, unlike adb install. The -r will reinstall

the following options looked interesting

--originating-uri: set URI where app was downloaded from
--referrer: set URI that instigated the install of the app

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions