diff --git a/src/pages/plugins/plugins.js b/src/pages/plugins/plugins.js index 22b6c9c28..31687ac4f 100644 --- a/src/pages/plugins/plugins.js +++ b/src/pages/plugins/plugins.js @@ -355,13 +355,6 @@ export default function PluginsInclude(updates) { async function addSource(sourceType, value = "https://") { let source; - - const clipboardData = await getClipboardData(); - - if (clipboardData && clipboardData.startsWith("https")) { - value = clipboardData; - } - if (sourceType === "remote") { source = await prompt("Enter plugin source", value, "url"); } else { @@ -378,11 +371,4 @@ export default function PluginsInclude(updates) { addSource(sourceType, source); } } - - async function getClipboardData() { - return new Promise((resolve) => { - const { clipboard } = cordova.plugins; - clipboard.paste(resolve); - }); - } }