1.0.2 • Published 2 years ago
@idpass/hotspot-file-transfer-capacitor v1.0.2
SmartScanner Capacitor
Capacitor plugin for Hotspot File Transfer.
Installation
This plugin can be installed from NPM:
# Using npm
npm install @idpass/hotspot-file-transfer-capacitor
# Using yarn
yarn add @idpass/hotspot-file-transfer-capacitorUsage
The plugin can be used by accessing LocalHotspotFileTransferPlugin from @idpass/hotspot-file-transfer-capacitor directly.
import { FileTransfer } from '@idpass/hotspot-file-transfer-capacitor';Sender example:
const result = await LocalHotspotFileTransferPlugin.executeFileTransfer({
role: 'SENDER',
theme_color: '#2196F3',
directory_path: '{path of the directory you want to transfer}'
});Receiver example:
const result = await LocalHotspotFileTransferPlugin.executeFileTransfer({
role: 'RECEIVER',
theme_color: '#2196F3',
});1.0.2
2 years ago
1.0.1
2 years ago
1.0.0-beta9
2 years ago
1.0.0-beta8
2 years ago
1.0.0-beta7
2 years ago
1.0.0-beta6
2 years ago
1.0.0-beta5
2 years ago
1.0.0-beta4
2 years ago
1.0.0-beta3
2 years ago
1.0.0-beta2
2 years ago
1.0.0-beta
2 years ago
1.0.0
2 years ago