From 5879cea3646e2be460c8e4eebf3519b1d1712899 Mon Sep 17 00:00:00 2001 From: yaakua Date: Sun, 28 May 2017 11:43:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=BE=AE=E4=BF=A1=E5=88=86?= =?UTF-8?q?=E4=BA=AB=E6=88=90=E5=8A=9F=E5=90=8E=E6=B2=A1=E6=9C=89=E5=9B=9E?= =?UTF-8?q?=E8=B0=83=E6=96=B9=E6=B3=95=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ios/RCTWeChatAPI/RCTWeChatAPI.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ios/RCTWeChatAPI/RCTWeChatAPI.m b/ios/RCTWeChatAPI/RCTWeChatAPI.m index 720a1ba..3a5427e 100644 --- a/ios/RCTWeChatAPI/RCTWeChatAPI.m +++ b/ios/RCTWeChatAPI/RCTWeChatAPI.m @@ -102,12 +102,14 @@ - (void)dealloc :(RCTResponseSenderBlock)callback) { [self shareToWeixinWithData:data scene:WXSceneTimeline callback:callback]; + callback(@[[NSNull null]]); } RCT_EXPORT_METHOD(shareToSession:(NSDictionary *)data :(RCTResponseSenderBlock)callback) { [self shareToWeixinWithData:data scene:WXSceneSession callback:callback]; + callback(@[[NSNull null]]); } RCT_EXPORT_METHOD(pay:(NSDictionary *)data