1.5.0 • Published 2 years ago
capacitor-installed-via-altstore v1.5.0
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 syncAPI
isAltStoreInstallation()
isAltStoreInstallation() => Promise<{ isAltStored: boolean; }>Returns: Promise<{ isAltStored: boolean; }>