This is an automated email from the ASF dual-hosted git repository. jianhan pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex.git
The following commit(s) were added to refs/heads/master by this push: new 7a8201c [iOS] fix bundleType (#2606) 7a8201c is described below commit 7a8201ca316680516d5b9fffbcf7b269ce968cc5 Author: Mario <myeveryhe...@qq.com> AuthorDate: Fri Jun 28 11:08:16 2019 +0800 [iOS] fix bundleType (#2606) * [iOS] fix bundleType bundleType can be Vue, Rax when the bundleType is "vue", the program goes bundleType = "other" * [iOS] fix bundleType [iOS] fix bundleType * Update WXBridgeContext.m --- ios/sdk/WeexSDK/Sources/Bridge/WXBridgeContext.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/sdk/WeexSDK/Sources/Bridge/WXBridgeContext.m b/ios/sdk/WeexSDK/Sources/Bridge/WXBridgeContext.m index c324794..240eacc 100644 --- a/ios/sdk/WeexSDK/Sources/Bridge/WXBridgeContext.m +++ b/ios/sdk/WeexSDK/Sources/Bridge/WXBridgeContext.m @@ -637,7 +637,7 @@ _Pragma("clang diagnostic pop") \ NSURLComponents * urlComponent = [NSURLComponents componentsWithString:instance.pageName?:@""]; if (@available(iOS 8.0, *)) { for (NSURLQueryItem * queryItem in urlComponent.queryItems) { - if ([queryItem.name isEqualToString:@"bundleType"] && [@[@"vue", @"rax"] containsObject:queryItem.value]) { + if ([queryItem.name isEqualToString:@"bundleType"] && [@[@"Vue", @"Rax", @"vue", @"rax"] containsObject:queryItem.value]) { bundleType = queryItem.value; return bundleType; }