Forráskód Böngészése

QRcode Scanner (LIFF)

Mike 3 éve
szülő
commit
6cd4616b20
1 módosított fájl, 8 hozzáadás és 8 törlés
  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(() => {
         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) => {
     });