try web share api
This commit is contained in:
parent
aa56216e76
commit
9294ecb09f
3 changed files with 68 additions and 2 deletions
|
@ -90,6 +90,7 @@ export default async function getCapabilities() {
|
|||
} catch (e) {
|
||||
account = false;
|
||||
}
|
||||
const share = !!navigator.share;
|
||||
|
||||
return {
|
||||
account,
|
||||
|
@ -98,6 +99,7 @@ export default async function getCapabilities() {
|
|||
streamUpload: nativeStreams || polyStreams,
|
||||
streamDownload:
|
||||
nativeStreams && serviceWorker && browserName() !== 'safari',
|
||||
multifile: nativeStreams || polyStreams
|
||||
multifile: nativeStreams || polyStreams,
|
||||
share
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue