/capacitor-installed-via-altstore

Checks if the App is installed via altstoreio/AltStore

Primary LanguageSwift

capacitor-installed-via-altstore

A simple plugin to know if Capacitor.js App was installed via AltStore

It checks URL Types which begins with altstore-. If found then isAltStoreInstallation() returns { isAltStored: true }.

If you know of Properties which are added in by AltStore or AltServer in Bundle.main.infoDictionary, please make an issue!

Install

npm install capacitor-installed-via-altstore
npx cap sync

API

isAltStoreInstallation()

isAltStoreInstallation() => Promise<{ isAltStored: boolean; }>

Returns: Promise<{ isAltStored: boolean; }>