{"action":"created","issue":{"url":"https://api.github.com/repos/Telerik-Verified-Plugins/PushNotification/issues/71","repository_url":"https://api.github.com/repos/Telerik-Verified-Plugins/PushNotification","labels_url":"https://api.github.com/repos/Telerik-Verified-Plugins/PushNotification/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/Telerik-Verified-Plugins/PushNotification/issues/71/comments","events_url":"https://api.github.com/repos/Telerik-Verified-Plugins/PushNotification/issues/71/events","html_url":"https://github.com/Telerik-Verified-Plugins/PushNotification/issues/71","id":131275013,"number":71,"title":"PushPlugin.m error: no visible @interface for 'UIView' declares the selector 'stringByEvaluatingJavaScriptFromString:'","user":{"login":"09-dec-76","id":5135828,"avatar_url":"https://avatars.githubusercontent.com/u/5135828?v=3","gravatar_id":"","url":"https://api.github.com/users/09-dec-76","html_url":"https://github.com/09-dec-76","followers_url":"https://api.github.com/users/09-dec-76/followers","following_url":"https://api.github.com/users/09-dec-76/following{/other_user}","gists_url":"https://api.github.com/users/09-dec-76/gists{/gist_id}","starred_url":"https://api.github.com/users/09-dec-76/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/09-dec-76/subscriptions","organizations_url":"https://api.github.com/users/09-dec-76/orgs","repos_url":"https://api.github.com/users/09-dec-76/repos","events_url":"https://api.github.com/users/09-dec-76/events{/privacy}","received_events_url":"https://api.github.com/users/09-dec-76/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-02-04T08:12:57Z","updated_at":"2016-03-09T07:51:26Z","closed_at":null,"body":"Hi,\r\n\r\nI am getting the following error while building on iOS \r\n\r\nPlugins/com.phonegap.plugins.PushPlugin/PushPlugin.m:221:23: error: no visible @interface for 'UIView' declares the selector 'stringByEvaluatingJavaScriptFromString:'\r\n        [self.webView stringByEvaluatingJavaScriptFromString:jsCallBack];\r\n\r\nAny suggestions."},"comment":{"url":"https://api.github.com/repos/Telerik-Verified-Plugins/PushNotification/issues/comments/194167066","html_url":"https://github.com/Telerik-Verified-Plugins/PushNotification/issues/71#issuecomment-194167066","issue_url":"https://api.github.com/repos/Telerik-Verified-Plugins/PushNotification/issues/71","id":194167066,"user":{"login":"scamianbas","id":3215795,"avatar_url":"https://avatars.githubusercontent.com/u/3215795?v=3","gravatar_id":"","url":"https://api.github.com/users/scamianbas","html_url":"https://github.com/scamianbas","followers_url":"https://api.github.com/users/scamianbas/followers","following_url":"https://api.github.com/users/scamianbas/following{/other_user}","gists_url":"https://api.github.com/users/scamianbas/gists{/gist_id}","starred_url":"https://api.github.com/users/scamianbas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scamianbas/subscriptions","organizations_url":"https://api.github.com/users/scamianbas/orgs","repos_url":"https://api.github.com/users/scamianbas/repos","events_url":"https://api.github.com/users/scamianbas/events{/privacy}","received_events_url":"https://api.github.com/users/scamianbas/received_events","type":"User","site_admin":false},"created_at":"2016-03-09T07:51:26Z","updated_at":"2016-03-09T07:51:26Z","body":"@EddyVerbruggen Hi,\r\nI'm not sure it's related, but while trying to use the plugin https://github.com/EddyVerbruggen/HeadsetDetection-PhoneGap-Plugin you wrote with an ionic app, I'm getting the same kind of errors with cordova-ios-4 and it's working with iOS@3.9.2 with a deprecation warning (see details below).\r\nSorry not being able to help as I do not have any knowledge about objectiveC and fix your plugin, anyway this may be another clue for this current topic...\r\nMirko\r\n \r\n-------------------------------------------------------------------------------\r\nios@3.9.2\r\n/Users/mirko/myApp080316/platforms/ios/CPM App/Plugins/nl.x-services.plugins.headsetdetection/HeadsetDetection.m:9:9: warning: 'writeJavascript:' is deprecated: Deprecated in Cordova 3.6. Use the CDVCommandDelegate equivalent of evalJs:. This will be removed in 4.0.0 [-Wdeprecated-declarations]\r\n\r\n  [self writeJavascript:[result toSuccessCallbackString:callbackId]];\r\n\r\n        ^\r\n\r\n-------------------------------------------------------------------------------\r\nios@4.0.0 , ios@4.0.1 , ios@4.1.0\r\n\r\n/Users/mirko/myApp080316/platforms/ios/CPM App/Plugins/nl.x-services.plugins.headsetdetection/HeadsetDetection.m:9:33: error: no visible @interface for 'CDVPluginResult' declares the selector 'toSuccessCallbackString:'\r\n\r\n  [self writeJavascript:[result toSuccessCallbackString:callbackId]];\r\n\r\n                         ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n1 error generated.\r\n\r\n\r\n\r\n** BUILD FAILED **\r\n\r\n"}}