Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Copy to clipboard #615

Closed
MarianCristian opened this issue Feb 28, 2018 · 2 comments
Closed

Copy to clipboard #615

MarianCristian opened this issue Feb 28, 2018 · 2 comments
Labels

Comments

@MarianCristian
Copy link

Expected Behaviour

After scanning a barcode, the plugin should not copy scanned contents to clipboard

Actual Behaviour

After scanning a barcode the plugin is copying the scanned barcode into clipboard

Reproduce Scenario (including but not limited to)

We have a ionic v1 project which uses the barcode plugin and everytime we scan a something, it is copied into the clipboard.

Steps to Reproduce

  • Scan any barcode with the plugin and check if the scanned value is copied into clipboard
  • There was a parameter named 'copyToClipboard' which we used to prevent this but it was removed in this change 25e00cd

Platform and Version (eg. Android 5.0 or iOS 9.2.1)

Android 5.0.1

(Android) What device vendor (e.g. Samsung, HTC, Sony...)

Any Device

Cordova CLI version and cordova platform version

cordova --version : Ionic v1
cordova platforms : Android

Plugin version

cordova plugin version | grep phonegap-plugin-barcodescanner 5.0.1

Sample Code that illustrates the problem

We have a clipboard changed event handler which is triggered every time the clipboard is changed, after each barcode scan, the event is triggered which means that the value scanned is stored into the clipboard.

image

We have to prevent the value scanned to be copied into the clipboard somehow since that parameter was removed.

Logs taken while reproducing problem

--

@stale
Copy link

stale bot commented Jun 7, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@lock
Copy link

lock bot commented Jul 14, 2018

This thread has been automatically locked.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

1 participant