-1

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?

S.A.Norton Stanley
  • 1,775
  • 2
  • 19
  • 37
philxtian
  • 99
  • 8
  • What did you try in iOS if you want to run the app in simulator?Did you follow any other procedure? – user3182143 Feb 16 '16 at 13:56
  • @user3182143 I tried testing the app in both simulator and iphone to verify that $cordovaClipboard plugin doesn't work at all. – philxtian Feb 16 '16 at 14:00
  • Did you try any other code? – user3182143 Feb 16 '16 at 14:01
  • @user3182143 Like I said, all works pretty well in android. I did not change any of my codes after my final android build. All features works fine after building the app for iOS except for the $cordovaClipboard plugin. – philxtian Feb 16 '16 at 14:03
  • @user3182143 the documentation shows that this is compatible to android, ios and windows http://ngcordova.com/docs/plugins/clipboard/ – philxtian Feb 16 '16 at 14:04
  • when you run the code what does it show? – user3182143 Feb 16 '16 at 14:05
  • @user3182143 you mean in the console? nothing shows in the console. That's why I am also asking how I can activate logging in the console. – philxtian Feb 16 '16 at 14:29
  • @user3182143 the application's user interface works as normal. only that the copy to clipboard function is not working. – philxtian Feb 16 '16 at 14:30

1 Answers1

1

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
brace110
  • 104
  • 1
  • 11