capacitor-native-configuration
v1.0.0
Published
Allows to pass native configuration to the capacitor web view which persists between OTA updates
Downloads
46
Readme
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 syncAPI
get(...)
get<T extends "webhost">(options: { key: T; }) => Promise<Record<T, NativeConfiguration[T]>>| Param | Type |
| ------------- | ------------------------ |
| options | { key: T; } |
Returns: Promise<Record<T, NativeConfiguration[T]>>
Interfaces
NativeConfiguration
| Prop | Type |
| ------------- | ------------------- |
| webhost | string |
Type Aliases
Record
Construct a type with a set of properties K of type T
{ [P in K]: T; }
