Skip to content
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

Open
ToothLegend opened this issue Oct 14, 2016 · 6 comments
Open

RCTWeChatAPI.m compile error #20

ToothLegend opened this issue Oct 14, 2016 · 6 comments

Comments

@ToothLegend
Copy link

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

  • (void)sendAppEventWithName:(NSString *)name body:(id)body
    ^
    1 warning and 1 error generated.
@ToothLegend
Copy link
Author

by the way,my rn version is 0.35.0,react-native-wx version is 2.0.0

@lee1994522
Copy link

+1
Waiting for updates

@lee1994522
Copy link

@ToothLegend Any update?

@flowYogi
Copy link

flowYogi commented Nov 1, 2016

+1s

@Really-Abel
Copy link

+1

@hkc452
Copy link

hkc452 commented Nov 1, 2016

+1 s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants