Open vcrepin opened 8 years ago
I have same issue. Any movement on this?
I have same issue too. Any movement on this?
I encountered the same problem and found a solution on this thread: https://stackoverflow.com/questions/28850016/how-do-i-replace-the-deprecated-methods-tosuccesscallbackstring-and-writejavascr
Apparently the code has already been fixed in this repository (see this pull request) but the NPM package hasn't been updated. So many people may have the broken version installed.
I suggest re-installing the plug-in via the cordova command-line instead of npm.
$ cordova plugin add https://github.com/Viras-/cordova-plugin-powermanagement.git
Confirming @andre-arsenault - installing from git repo works.
ionic cordova plugin rm at.gofg.sportscomputer.powermanagement
ionic cordova plugin add https://github.com/Viras-/cordova-plugin-powermanagement.git
Hello. I'm using the latest version of ionic framework (1.2) and this plugin does not compile for IOS. Here are the errors:
/Users/vincentcrepin/ionicProjects/BlitzClock/platforms/ios/BlitzClock/Plugins/at.gofg.sportscomputer.powermanagement/PowerManagement.m:39:28: error: no visible @interface for 'CDVPluginResult' declares the selector 'toSuccessCallbackString:' jsString = [result toSuccessCallbackString:callbackId];