mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Implemented liveSync for iOS
This commit is contained in:
@@ -217,6 +217,10 @@ global.__onUncaughtError = function (error: Error) {
|
|||||||
definition.notify({ eventName: definition.uncaughtErrorEvent, object: <any>definition.ios, ios: error });
|
definition.notify({ eventName: definition.uncaughtErrorEvent, object: <any>definition.ios, ios: error });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
global.__onLiveSync = function () {
|
||||||
|
frame.reloadPage();
|
||||||
|
}
|
||||||
|
|
||||||
var started: boolean = false;
|
var started: boolean = false;
|
||||||
exports.start = function () {
|
exports.start = function () {
|
||||||
if (!started) {
|
if (!started) {
|
||||||
|
|||||||
Reference in New Issue
Block a user