Quellcode durchsuchen

QRcode Scanner (LIFF)

Mike vor 3 Jahren
Ursprung
Commit
6cd4616b20
1 geänderte Dateien mit 8 neuen und 8 gelöschten Zeilen
  1. 8 8
      ArkCard-web/qrcode_scanner_liff.html

+ 8 - 8
ArkCard-web/qrcode_scanner_liff.html

@@ -31,15 +31,15 @@ $(document).ready(function() {
     .then(() => {
     .then(() => {
         alert('liff.init()'); // test
         alert('liff.init()'); // test
 
 
-        if (liff.isInClient()) {
-            if (liff.getOS() == "ios") {
-                window.location.replace("itms://itunes.apple.com/app/apple-store/id578186283?mt=8");              
-            } else if (liff.getOS() == "android") {
-                window.location.replace("market://details?id=com.nhiApp.v1");
-            }
+        // if (liff.isInClient()) {
+        //     if (liff.getOS() == "ios") {
+        //         window.location.replace("itms://itunes.apple.com/app/apple-store/id578186283?mt=8");              
+        //     } else if (liff.getOS() == "android") {
+        //         window.location.replace("market://details?id=com.nhiApp.v1");
+        //     }
 
 
-            setTimeout(function(){ liff.closeWindow(); }, 3000);
-        }
+        //     setTimeout(function(){ liff.closeWindow(); }, 3000);
+        // }
     })
     })
     .catch((err) => {
     .catch((err) => {
     });
     });