Search code examples
iosangularjsionic-frameworkclipboardngcordova

Using $cordovaClipboard ng-cordova plugin in ionic for iOS


I am using $cordovaClipboard ng-cordova plugin in my ionic project. http://ngcordova.com/docs/plugins/clipboard/

The plugin works well on Android devices, but when building app for iOS this plugin does not work. Is there something i have missed out on or should consider?

Also, is there a way to run an ionic app on my iOS device or a simulator and at the same time the debug console should also show in terminal?


Solution

  • Debug iOS simulator with Safari

    Try removing the iOS platform and readding it. It will re-add every plugin.

    ionic platform remove ios
    ionic platform add ios