0.1.8 • Published 6 months ago
capacitor-native-configuration v0.1.8
capacitor-native-configuration
Allows to pass native configuration to the capacitor web view which persists between OTA updates
Install
npm install capacitor-native-configuration
npx cap sync
API
get(...)
get<T extends "webhost">(options: { key: T; }) => Promise<Record<T, NativeConfiguration[T]>>
Param | Type |
---|---|
options | { key: T; } |
Returns: Promise<Record<T, NativeConfigurationT>>
Interfaces
NativeConfiguration
Prop | Type |
---|---|
webhost | string |
Type Aliases
Record
Construct a type with a set of properties K of type T
{
}