-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RCTWeChatAPI.m compile error #20
Comments
by the way,my rn version is 0.35.0,react-native-wx version is 2.0.0 |
+1 |
@ToothLegend Any update? |
+1s |
+1 |
+1 s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mylocalpath/node_modules/react-native-wx/ios/RCTWeChatAPI/RCTWeChatAPI.m:208:30: error: no visible @interface for 'RCTImageLoader' declares the selector
'loadImageWithURLRequest:size:scale:clipped:resizeMode:progressBlock:completionBlock:'
[_bridge.imageLoader loadImageWithURLRequest:imageUrl size:size scale:1 clipped:true resizeMode:UIViewContentModeScaleToFill progressBlock:nil completionBlock:^(NSError *err...
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mylocalpath/node_modules/react-native-wx/ios/RCTWeChatAPI/RCTWeChatAPI.m:299:34: warning: 'sendAppEventWithName:body:' is deprecated: Subclass RCTEventEmitter
instead [-Wdeprecated-declarations]
[self.bridge.eventDispatcher sendAppEventWithName:@"WeChat_Resp" body:body];
^
In file included frommylocalpath/node_modules/react-native-wx/ios/RCTWeChatAPI/RCTWeChatAPI.m:14:
../../react-native/React/Base/RCTEventDispatcher.h:64:1: note: 'sendAppEventWithName:body:' has been explicitly marked deprecated here
^
1 warning and 1 error generated.
The text was updated successfully, but these errors were encountered: