Skip to content

Commit cbee066

Browse files
vchimevrigor789
authored andcommitted
fix: import frame module before __onLiveSyncCore override (#517)
Ensure `frame` module is loaded before overriding `global.__onLiveSyncCore` for Android. Fixes NativeScript/nativescript-dev-webpack#943 for Android.
1 parent 779821b commit cbee066

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: platform/nativescript/runtime/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
// Ensure `application` module is loaded
1+
// Ensure `application` and `frame` modules are loaded
22
// before overriding `global.__onLiveSyncCore`
33
import { run, on, launchEvent } from 'tns-core-modules/application'
4+
import 'tns-core-modules/ui/frame'
5+
46
import { warn } from 'core/util/index'
57
import { patch } from './patch'
68
import { mountComponent } from 'core/instance/lifecycle'

0 commit comments

Comments
 (0)