From: Vincent Vanwaelscappel Date: Wed, 27 Sep 2017 12:23:29 +0000 (+0200) Subject: wip #1689 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=36c7130d0eafb91a263f390ad3f3ed1547380480;p=fluidbook-html5.git wip #1689 --- diff --git a/js/main.js b/js/main.js index 5b6c2e59..c6683839 100644 --- a/js/main.js +++ b/js/main.js @@ -131,11 +131,7 @@ try { PLATFORM = DATAS.phonegap; if (PLATFORM == 'ios') { - window.ExternalFileUtil = { - openWith: function (path, uti, success, fail, offset) { - return cordova.exec(success, fail, "ExternalFileUtil", "openWith", [path, uti, offset.left, offset.top]); - } - }; + window.ExternalFileUtil = cordova.require('com.techblue.cordova.plugin.externalfileutilios.ExternalFileUtilIos'); } else if (PLATFORM == 'android') { }