Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
[Android] FIX NP (#2670)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucky-chen authored and YorkShen committed Jul 10, 2019
1 parent 354c15d commit 74e98b0
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,10 @@ public void doInit() {
addProperty(KEY_PROPERTIES_ERROR_CODE, VALUE_ERROR_CODE_DEFAULT);
addProperty(KEY_PAGE_PROPERTIES_JSLIB_VERSION, WXEnvironment.JS_LIB_SDK_VERSION);
addProperty(KEY_PAGE_PROPERTIES_WEEX_VERSION, WXEnvironment.WXSDK_VERSION);
addProperty(KEY_PAGE_PROPERTIES_UIKIT_TYPE, instance.getRenderType());
addProperty(KEY_PAGE_PROPERTIES_WEEX_VERSION, WXEnvironment.WXSDK_VERSION);
if (null != instance){
addProperty(KEY_PAGE_PROPERTIES_UIKIT_TYPE, instance.getRenderType());
}

if (instance != null && (instance.getRenderStrategy() == WXRenderStrategy.DATA_RENDER
|| instance.getRenderStrategy() == WXRenderStrategy.DATA_RENDER_BINARY)) {
Expand Down

0 comments on commit 74e98b0

Please sign in to comment.