File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -355,13 +355,6 @@ export default function PluginsInclude(updates) {
355355
356356 async function addSource ( sourceType , value = "https://" ) {
357357 let source ;
358-
359- const clipboardData = await getClipboardData ( ) ;
360-
361- if ( clipboardData && clipboardData . startsWith ( "https" ) ) {
362- value = clipboardData ;
363- }
364-
365358 if ( sourceType === "remote" ) {
366359 source = await prompt ( "Enter plugin source" , value , "url" ) ;
367360 } else {
@@ -378,11 +371,4 @@ export default function PluginsInclude(updates) {
378371 addSource ( sourceType , source ) ;
379372 }
380373 }
381-
382- async function getClipboardData ( ) {
383- return new Promise ( ( resolve ) => {
384- const { clipboard } = cordova . plugins ;
385- clipboard . paste ( resolve ) ;
386- } ) ;
387- }
388374}
You can’t perform that action at this time.
0 commit comments