Skip to content

Instantly share code, notes, and snippets.

@superj80820
Created November 28, 2019 14:31
Show Gist options
  • Save superj80820/38aee88bb33a4ac35140506d80cdecba to your computer and use it in GitHub Desktop.
Save superj80820/38aee88bb33a4ac35140506d80cdecba to your computer and use it in GitHub Desktop.
用Line來對發票吧!(限IOS)
# 用Line來對發票吧!(限IOS)
Hi 大家好 不知道大家是否最近有更新Line呢?
最近最新版的Line讓QR-Code掃描的功能變得更完整惹!
以前只能掃網址跟朋友的條碼 但現在也能掃描**發票**之類其他的QR-Code了(限IOS)!
正逢這幾天剛好又是對發票的日子 我想說把這新功能跟Line機器人做個整合好了 想說或許對平時沒有載發票軟體但是這幾天要對發票的人有幫助 於是就有了這個:
**發票大獅兄**
![](https://i.imgur.com/TL0j4r3.png)
點我加好友來掃發票: https://line.me/R/ti/p/@407jfphp
或者掃描QR-Code:
![](https://i.imgur.com/C4S4hKS.png)
如果有興趣也可看看我的原始碼:
https://github.com/superj80820/line_QR_reader
![](https://i.imgur.com/UCVNtEb.png)
使用方法很簡單 加入好友之後點選下方"點我開始對發票~"
![](https://i.imgur.com/yRd8agi.png)
然後點選"點我掃描發票「左側QR-CODE」"
![](https://i.imgur.com/LXSZfXj.png)
掃描發票「左側QR-CODE」就可以囉!簡單吧
但要注意只限定IPhone 目前Line官方還沒讓Android有掃發票的功能
![](https://i.imgur.com/DqMPCRw.png)
不過...沒有IPhone的朋友也沒關係 可以點選"手動輸入" 輸入發票末三碼來對發票
但還是希望Line官方趕快推出Android版本的掃發票功能😭
那另外大家可能會想 我的發票會不會傳出去給別人知道
這是不會的 因為現在Line在推廣的功能就是讓Line有辦法像App一樣開一個小App視窗
我們稱為LIFF(LINE Front-end Framework)
所以這個發票大獅兄並沒有連到對外的伺服器 就是像"載一個App這樣" 我一直覺得很酷很方便
如果有興趣也可以看看我的原始碼: https://github.com/superj80820/line_QR_reader
最後 希望大家能夠喜歡 並且能發票中滿滿🤗
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment