capacitor-plugin-frpc
v1.1.5
Published
Plugin for creating an FRPC for android and iOS
Downloads
10
Readme
capacitor-plugin-frpc
Plugin for creating an FRPC for android and iOS
Install
npm install capacitor-plugin-frpc
npx cap syncAPI
start(...)
start(options: StartOptions) => Promise<{ success: boolean; }>| Param | Type |
| ------------- | ----------------------------------------------------- |
| options | StartOptions |
Returns: Promise<{ success: boolean; }>
checkIfConnected()
checkIfConnected() => Promise<{ isConnected: boolean; }>Returns: Promise<{ isConnected: boolean; }>
getLogFileDirectory()
getLogFileDirectory() => Promise<{ directory: string; }>Returns: Promise<{ directory: string; }>
isRunning()
isRunning() => Promise<{ isRunning: boolean; }>Returns: Promise<{ isRunning: boolean; }>
stop()
stop() => Promise<{ success: boolean; }>Returns: Promise<{ success: boolean; }>
Interfaces
StartOptions
| Prop | Type |
| ---------------- | ------------------- |
| host | string |
| port | string |
| username | string |
| password | string |
| token | string |
| deviceId | string |
| userAgent | string |
| userId | string |
| deviceType | string |
| version | string |
