Plugin for creating an FRPC for android and iOS
npm install capacitor-plugin-frpcPlugin for creating an FRPC for android and iOS
``bash`
npm install capacitor-plugin-frpc
npx cap sync
* start(...)
* checkIfConnected()
* getLogFileDirectory()
* isRunning()
* stop()
* Interfaces
`typescript`
start(options: StartOptions) => Promise<{ success: boolean; }>
| Param | Type |
| ------------- | ----------------------------------------------------- |
| options | StartOptions |
Returns: Promise<{ success: boolean; }>
--------------------
`typescript`
checkIfConnected() => Promise<{ isConnected: boolean; }>
Returns: Promise<{ isConnected: boolean; }>
--------------------
`typescript`
getLogFileDirectory() => Promise<{ directory: string; }>
Returns: Promise<{ directory: string; }>
--------------------
`typescript`
isRunning() => Promise<{ isRunning: boolean; }>
Returns: Promise<{ isRunning: boolean; }>
--------------------
`typescript`
stop() => Promise<{ success: boolean; }>
Returns: Promise<{ success: boolean; }>
--------------------
#### StartOptions
| Prop | Type |
| ---------------- | ------------------- |
| host | string |
| port | string |
| username | string |
| password | string |
| token | string |
| deviceId | string |
| userAgent | string |
| userId | string |
| deviceType | string |
| version` | string |