Merge pull request #1060 from NativeScript/hhristov/livesync-ios

Implemented liveSync for iOS
This commit is contained in:
Hristo Hristov
2015-11-09 11:21:39 +02:00

View File

@@ -217,6 +217,10 @@ global.__onUncaughtError = function (error: Error) {
definition.notify({ eventName: definition.uncaughtErrorEvent, object: <any>definition.ios, ios: error });
}
global.__onLiveSync = function () {
frame.reloadPage();
}
var started: boolean = false;
exports.start = function () {
if (!started) {