mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
feat(android app): add 'choose file' button to auto upload media to catbox in the background
more free and open web hosting services can be added later
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { registerPlugin } from '@capacitor/core';
|
||||
|
||||
export interface FileUploaderPlugin {
|
||||
pickAndUploadMedia(): Promise<{ url: string; fileName: string }>;
|
||||
}
|
||||
|
||||
const FileUploader = registerPlugin<FileUploaderPlugin>('FileUploader');
|
||||
|
||||
export default FileUploader;
|
||||
Reference in New Issue
Block a user