Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.2k views
in Technique[技术] by (71.8m points)

firebase - Swift: QR code that reset after a certain time period

I’m trying to make a QR code that expires after one time usage or after 60 seconds like the qr generated in eWallet payment type. But the qr code input data for my project is phone number and the firebase uuid.

I’m guessing that I have to create a hash string that periodically change after 60 seconds so that my qr code will self refresh. But I’m lack of coding experience to present this in my code

Does anyone have an idea on what approach I can add in my function to reset the qr code without changing the input?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...