feat:fix when android excute js on same thread,cause stucked
This commit is contained in:
@@ -74,7 +74,7 @@ public class MainActivity extends AppCompatActivity {
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
DoricDev.getInstance();
|
||||
// DoricDev.getInstance();
|
||||
}
|
||||
|
||||
public class MyAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> {
|
||||
|
@@ -46,7 +46,7 @@ public class MyApplication extends Application {
|
||||
DoricSingleton.getInstance().setEnvironmentValue(map);
|
||||
}
|
||||
}, intentFilter);
|
||||
DoricNativeDriver.getInstance();
|
||||
// DoricNativeDriver.getInstance();
|
||||
Doric.enablePerformance(true);
|
||||
Doric.enableRenderSnapshot(true);
|
||||
}
|
||||
|
Reference in New Issue
Block a user