You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by mo...@apache.org on 2019/05/30 02:04:06 UTC

[incubator-weex] branch master updated: [iOS] default bundleType is Vue on eagle

This is an automated email from the ASF dual-hosted git repository.

moshen 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 5019175  [iOS] default bundleType is Vue on eagle
     new f23b34d  Merge pull request #2497 from jianhan-he/master
5019175 is described below

commit 501917527179b476af4a146fd2e61fc475809890
Author: linghe.lh <li...@alibaba-inc.com>
AuthorDate: Thu May 30 09:47:59 2019 +0800

    [iOS] default bundleType is Vue on eagle
---
 weex_core/Source/core/network/ios/default_request_handler.mm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/weex_core/Source/core/network/ios/default_request_handler.mm b/weex_core/Source/core/network/ios/default_request_handler.mm
index e072d12..b2a741d 100644
--- a/weex_core/Source/core/network/ios/default_request_handler.mm
+++ b/weex_core/Source/core/network/ios/default_request_handler.mm
@@ -33,7 +33,8 @@ namespace network {
         NSURL* nsURL = [NSURL URLWithString:NSSTRING(url)];
         [[WXSDKManager bridgeMgr] DownloadJS:@(instance_id) url:nsURL completion:^(NSString *script) {
             WXPerformBlockOnBridgeThread(^{
-                callback([script UTF8String] ? : "", "");
+                NSString* bundleType = @"Vue";
+                callback([script UTF8String] ? : "", [bundleType UTF8String]);
             });
         }];
     }