|
@@ -384,13 +384,13 @@ $(document).ready(function() {
|
|
|
if (!liff.isLoggedIn()) {
|
|
|
liff.login({ redirectUri: "https://ark.cards/collect.html?U171a225ef8a06a3491f1d94310b7b265" }); // test
|
|
|
|
|
|
- // scanCodeV2 call
|
|
|
- liff.scanCodeV2().then(result => {
|
|
|
- // e.g. result = { value: "Hello LIFF app!" }
|
|
|
- console.log('scanCodeV2()'); // test
|
|
|
- }).catch(err => {
|
|
|
- console.log(err);
|
|
|
- });
|
|
|
+ // // scanCodeV2 call
|
|
|
+ // liff.scanCodeV2().then(result => {
|
|
|
+ // // e.g. result = { value: "Hello LIFF app!" }
|
|
|
+ // console.log('scanCodeV2()'); // test
|
|
|
+ // }).catch(err => {
|
|
|
+ // console.log(err);
|
|
|
+ // });
|
|
|
}
|
|
|
});
|
|
|
</script>
|