Add SSR mode and test on Android
This commit is contained in:
8
doric-web/dist/index.js
vendored
8
doric-web/dist/index.js
vendored
@@ -1483,9 +1483,10 @@ var doric = (function (exports) {
|
||||
};
|
||||
}
|
||||
const global$1 = Function('return this')();
|
||||
if (Environment.platform === 'Android'
|
||||
|| Environment.platform === 'iOS'
|
||||
|| Environment.platform === 'Qt') {
|
||||
if (global$1.Environment
|
||||
&& (Environment.platform === 'Android'
|
||||
|| Environment.platform === 'iOS'
|
||||
|| Environment.platform === 'Qt')) {
|
||||
Reflect.set(global$1, "console", {
|
||||
warn: logw,
|
||||
error: loge,
|
||||
@@ -1952,6 +1953,7 @@ class View {
|
||||
}
|
||||
set ref(ref) {
|
||||
ref.current = this;
|
||||
this._ref = ref;
|
||||
}
|
||||
doAnimation(context, animation) {
|
||||
return this.nativeChannel(context, "doAnimation")(animation.toModel()).then((args) => {
|
||||
|
2
doric-web/dist/index.js.map
vendored
2
doric-web/dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user