提交 e38b10fd authored 作者: JarvanMo's avatar JarvanMo

fix ios compile issue

上级 cc2b8380
...@@ -2,13 +2,13 @@ PODS: ...@@ -2,13 +2,13 @@ PODS:
- Flutter (1.0.0) - Flutter (1.0.0)
- fluwx (0.0.1): - fluwx (0.0.1):
- Flutter - Flutter
- fluwx/no_pay (= 0.0.1) - fluwx/pay (= 0.0.1)
- fluwx/no_pay (0.0.1): - fluwx/pay (0.0.1):
- Flutter - Flutter
- "OpenWeChatSDKNoPay (~> 2.0.2+1)" - WechatOpenSDK-XCFramework (~> 2.0.2)
- integration_test (0.0.1): - integration_test (0.0.1):
- Flutter - Flutter
- OpenWeChatSDKNoPay (2.0.2) - WechatOpenSDK-XCFramework (2.0.2)
DEPENDENCIES: DEPENDENCIES:
- Flutter (from `Flutter`) - Flutter (from `Flutter`)
...@@ -17,7 +17,7 @@ DEPENDENCIES: ...@@ -17,7 +17,7 @@ DEPENDENCIES:
SPEC REPOS: SPEC REPOS:
trunk: trunk:
- OpenWeChatSDKNoPay - WechatOpenSDK-XCFramework
EXTERNAL SOURCES: EXTERNAL SOURCES:
Flutter: Flutter:
...@@ -29,9 +29,9 @@ EXTERNAL SOURCES: ...@@ -29,9 +29,9 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS: SPEC CHECKSUMS:
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854 Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
fluwx: f608fff0e3a8c30199b626fed590d83cdd820a52 fluwx: 26f146e29ad3fc4e5c41c82891b420adcdb2fb4d
integration_test: 13825b8a9334a850581300559b8839134b124670 integration_test: 13825b8a9334a850581300559b8839134b124670
OpenWeChatSDKNoPay: 59a9628a746352bb400329cb7f12e6dc7096bf6e WechatOpenSDK-XCFramework: acdeeda129efbef9532bca8a10c24e1b4b8c7d69
PODFILE CHECKSUM: beab77b38961de946f08660e554f80ac174dc842 PODFILE CHECKSUM: beab77b38961de946f08660e554f80ac174dc842
......
...@@ -586,9 +586,7 @@ FlutterMethodChannel *channel = nil; ...@@ -586,9 +586,7 @@ FlutterMethodChannel *channel = nil;
} }
#ifndef NO_PAY #ifndef NO_PAY
else if ([resp isKindOfClass:[WXPayInsuranceResp class]]) { else if ([resp isKindOfClass:[WXPayInsuranceResp class]]) {
if ([_delegate respondsToSelector:@selector(managerDidRecvPayInsuranceResponse:)]) {
[_delegate managerDidRecvPayInsuranceResponse:(WXPayInsuranceResp *) resp];
}
} else if ([resp isKindOfClass:[PayResp class]]) { } else if ([resp isKindOfClass:[PayResp class]]) {
PayResp *payResp = (PayResp *) resp; PayResp *payResp = (PayResp *) resp;
...@@ -602,7 +600,9 @@ FlutterMethodChannel *channel = nil; ...@@ -602,7 +600,9 @@ FlutterMethodChannel *channel = nil;
@"returnKey": [FluwxStringUtil nilToEmpty:payResp.returnKey], @"returnKey": [FluwxStringUtil nilToEmpty:payResp.returnKey],
}; };
[FluwxDelegate defaultManager].extData = nil; [FluwxDelegate defaultManager].extData = nil;
[fluwxMethodChannel invokeMethod:@"onPayResponse" arguments:result]; if(channel != nil){
[channel invokeMethod:@"onPayResponse" arguments:result];
}
} else if ([resp isKindOfClass:[WXNontaxPayResp class]]) { } else if ([resp isKindOfClass:[WXNontaxPayResp class]]) {
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论