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
ts
import { open } from 'protocol-launcher/app-store'
const url = open()Open Specific Page
ts
import { open } from 'protocol-launcher/app-store'
const url = open({
path: 'account/subscriptions',
})Search Apps
ts
import { search } from 'protocol-launcher/app-store'
const url = search({
query: 'things',
})Open App Page
ts
import { app } from 'protocol-launcher/app-store'
const url = app({
id: '836500024',
})Open App Page with Action
ts
import { app } from 'protocol-launcher/app-store'
const url = app({
id: '836500024',
action: 'write-review',
})