feat: enable Android Share Sheet for graphics & files; handle direct PDF/image clipping
This commit is contained in:
1 parent
338d388c2e
commit
3ed7fb8036
3 files changed
+217
-11
No files matched your search
+30
-4
@@ -47,13 +47,39 @@
|
||||
}
|
||||
],
|
||||
"share_target": {
|
||||
"action": "/",
|
||||
"method": "GET",
|
||||
"enctype": "application/x-www-form-urlencoded",
|
||||
"action": "/share",
|
||||
"method": "POST",
|
||||
"enctype": "multipart/form-data",
|
||||
"params": {
|
||||
"title": "title",
|
||||
"text": "text",
|
||||
"url": "url"
|
||||
"url": "url",
|
||||
"files": [
|
||||
{
|
||||
"name": "files",
|
||||
"accept": [
|
||||
"image/*",
|
||||
"application/pdf",
|
||||
"text/*",
|
||||
"audio/*",
|
||||
"video/*",
|
||||
".pdf",
|
||||
".jpg",
|
||||
".jpeg",
|
||||
".png",
|
||||
".webp",
|
||||
".gif",
|
||||
".svg",
|
||||
".enex",
|
||||
".md",
|
||||
".txt",
|
||||
".mp3",
|
||||
".m4a",
|
||||
".wav",
|
||||
".mp4"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"shortcuts": [
|
||||
|
||||
Reference in new issue
Block a user