]> _ Git - fluidbook-html5.git/commitdiff
wip #1689
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 27 Sep 2017 12:23:29 +0000 (14:23 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 27 Sep 2017 12:23:29 +0000 (14:23 +0200)
js/main.js

index 5b6c2e595bce01ef1c5435bbf078b34127864cf2..c6683839ffe77d3278d128e51a048c4b1f944e46 100644 (file)
@@ -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') {
 
         }