@trentrand/capacitor-instant
v0.1.0
Published
Capacitor plugin to check if Android Instant App or Apple App Clip
Readme
@trentrand/capacitor-instant
Capacitor plugin to check if Android Instant App or Apple App Clip
Install
npm install @trentrand/capacitor-instant
npx cap syncAPI
isInstantApp()
isInstantApp() => Promise<{ value: boolean; }>Returns whether the app is running as an Android Instant App or iOS App Clip. This value is determined at app initialization and cached.
On Android: Uses PackageManager.isInstantApp() On iOS: Checks for XCAppClipURL environment variable On Web: Always returns false
Returns: Promise<{ value: boolean; }>
