Skip to content

App Store

App Store is a digital distribution platform developed and maintained by Apple Inc. for iPhone, iPod Touch, iPad, and Mac devices, allowing users to browse and download applications from iTunes Store or Mac App Store. Protocol Launcher allows you to generate deep links to open and configure resources in App Store.

Usage

There are two ways to use this library:

  • On-Demand import from subpaths enables tree-shaking and keeps bundles small.
  • Full Import from the root package is convenient but includes all app modules.

Pick On-Demand for production builds; Full Import is fine for quick scripts or demos.

Select Installation Method

On-Demand
Recommended. Optimized for production.
Full Import
Convenient. Good for quick scripts.

Open App Store

On-Demand
ts
import { open } from 'protocol-launcher/app-store'

const url = open()

Open Specific Page

On-Demand
ts
import { open } from 'protocol-launcher/app-store'

const url = open({
  path: 'account/subscriptions',
})

Search Apps

On-Demand
ts
import { search } from 'protocol-launcher/app-store'

const url = search({
  query: 'things',
})

Open App Page

On-Demand
ts
import { app } from 'protocol-launcher/app-store'

const url = app({
  id: '836500024',
})

Open App Page with Action

On-Demand
ts
import { app } from 'protocol-launcher/app-store'

const url = app({
  id: '836500024',
  action: 'write-review',
})