Skip to content

Add store names to "installerStore" documentation #1468

@Francesco-FL

Description

@Francesco-FL

Plugin

package_info_plus

Use case

My goal is to open my apps page based on the store where the app was downloaded.

So if the user has downloaded the app on Google Play, I would like to open the Google Play developer page, same thing for iOS, Amazon, and other stores.

To do this, I need to know from which store the app was installed.

You added installerStore, but in my opinion it's not documented enough, because I don't know what names to compare the string with. I don't know if installerStore will return me for example "com.android.vending" or "Google Play Store" or something else.

The package I've used up to now (and which internally allowed you to understand exactly which store you were in) was this: https://pub.dev/packages/store_checker

Proposal

I see two possibilities to improve the function:

  • internally create a comparison system like the plugin I linked to you, in order to allow the developer to compare the store in a clear way

or

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions