[ 
https://issues.apache.org/jira/browse/WEEX-649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16654991#comment-16654991
 ] 

ASF GitHub Bot commented on WEEX-649:
-------------------------------------

YorkShen closed pull request #1646: [WEEX-649][Android] add `isBundleRequest` 
flag to requestParams when downLoadBundle
URL: https://github.com/apache/incubator-weex/pull/1646
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/android/sdk/src/main/java/com/taobao/weex/WXSDKInstance.java 
b/android/sdk/src/main/java/com/taobao/weex/WXSDKInstance.java
index 386d0c19b6..b470d6d67e 100644
--- a/android/sdk/src/main/java/com/taobao/weex/WXSDKInstance.java
+++ b/android/sdk/src/main/java/com/taobao/weex/WXSDKInstance.java
@@ -755,6 +755,7 @@ private void renderByUrlInternal(String pageName,
     }
     wxRequest.instanceId = getInstanceId();
     wxRequest.paramMap.put(KEY_USER_AGENT, 
WXHttpUtil.assembleUserAgent(mContext,WXEnvironment.getConfig()));
+    wxRequest.paramMap.put("isBundleRequest","true");
     WXHttpListener httpListener =
             new WXHttpListener(pageName, renderOptions, jsonInitData, flag, 
System.currentTimeMillis());
     httpListener.setSDKInstance(this);


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> [Android] when downLoadBundle,add `isBundleRequest` flag in request paramsMap
> -----------------------------------------------------------------------------
>
>                 Key: WEEX-649
>                 URL: https://issues.apache.org/jira/browse/WEEX-649
>             Project: Weex
>          Issue Type: Bug
>          Components: Android
>            Reporter: peihan
>            Assignee: YorkShen
>            Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to