capacitor-installed-via-altstore
TypeScript icon, indicating that this package has built-in type declarations

1.5.0 • Public • Published

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; }>


Readme

Keywords

Package Sidebar

Install

npm i capacitor-installed-via-altstore

Weekly Downloads

0

Version

1.5.0

License

MIT

Unpacked Size

17.8 kB

Total Files

26

Last publish

Collaborators

  • charliecat