We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cordova -v
cordova platform ls
Installed platforms: android 6.2.3 Available platforms: blackberry10 ~3.8.0 (deprecated) browser ~4.1.0 webos ~3.7.0 windows ~5.0.0
To copy some text in my phone clipboard
No text is added
I installed the plugin, added it to the imports in app.module.ts, added it in the providers.
Here is my home.ts code and the function called on button click :
... import { Clipboard } from '@ionic-native/clipboard'; export class HomePage{ constructor(public navCtrl: NavController, public modalCtrl: ModalController, private keyboard: Keyboard, public alertCtrl: AlertController, public storage: Storage, private clipboard: Clipboard) { } exportCards() { this.clipboard.copy("test"); } }
And then nothing is added to my clipboard ...
Thanks for your help !
The text was updated successfully, but these errors were encountered:
Same issue here. That's my code: https://stackoverflow.com/questions/46587607/cordova-clipboard-fails-to-paste?noredirect=1#comment80267098_46587607
Sorry, something went wrong.
No branches or pull requests
My Environment
cordova -v
): 7.0.1cordova platform ls
):Expected Behavior
To copy some text in my phone clipboard
Actual Behavior
No text is added
Code
I installed the plugin, added it to the imports in app.module.ts, added it in the providers.
Here is my home.ts code and the function called on button click :
And then nothing is added to my clipboard ...
Thanks for your help !
The text was updated successfully, but these errors were encountered: