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

Commit

Permalink
[Android] close runtimeApi mode for performance issue. and will reope…
Browse files Browse the repository at this point in the history
…n when issue fixed (#2736)
  • Loading branch information
lucky-chen authored and YorkShen committed Jul 22, 2019
1 parent 72c51f0 commit 222cdce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion android/sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ android {

def android_project_dir = projectDir

def buildRuntimeApi = project.hasProperty('buildRuntimeApi') ? project.property('buildRuntimeApi') : true
def buildRuntimeApi = project.hasProperty('buildRuntimeApi') ? project.property('buildRuntimeApi') : false

defaultConfig {
buildConfigField "String", "buildJavascriptFrameworkVersion", "\"${jsfmVersion}\""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ public static void copyStartUpSo() {
}

public static void copyJssRuntimeSo(){
boolean tryUseRunTimeApi = WXUtils.checkGreyConfig("wxapm","use_runtime_api","100");
boolean tryUseRunTimeApi = WXUtils.checkGreyConfig("wxapm","use_runtime_api","0");
WXLogUtils.e("weex", "tryUseRunTimeApi ? "+ tryUseRunTimeApi);
if (!tryUseRunTimeApi){
return;
Expand Down

0 comments on commit 222cdce

Please sign in to comment.