Open craig-at-rsg opened 7 years ago
Issue: xcode fails to build AppPreferences.m
The message is: .../Plugins/cordova-plugin-app-preferences/AppPreferences.m:24:16: No visible @interface for 'UIView' declares the selector 'stringByEvaluatingJavaScriptFromString:'
Here's the function:
- (void)defaultsChanged:(NSNotification *)notification { NSString * jsCallBack = [NSString stringWithFormat:@"cordova.fireDocumentEvent('preferencesChanged');"]; [self.webView stringByEvaluatingJavaScriptFromString:jsCallBack]; }
Please specify your environment
Plugin version:
Toolchain:
Platforms affected:
What the scope of your problem:
Here's an example fix: https://github.com/Telerik-Verified-Plugins/PushNotification/commit/ddaa7a1548b01eccbc7f3fdd24f7356057c3931e
Issue: xcode fails to build AppPreferences.m
The message is: .../Plugins/cordova-plugin-app-preferences/AppPreferences.m:24:16: No visible @interface for 'UIView' declares the selector 'stringByEvaluatingJavaScriptFromString:'
Here's the function:
Please specify your environment
Plugin version:
Toolchain:
Platforms affected:
What the scope of your problem: