litecoin-foundation / litewallet-ios

iOS version of Litewallet , official SPV Wallet from the Litecoin Foundation. Maintained by the Litewallet Team & Charlie Lee (Creator of Litecoin)
MIT License
26 stars 15 forks source link

[Bug] QR Decoder failed to recognize Litecoin URI #19

Open kcw-grunt opened 4 years ago

kcw-grunt commented 4 years ago

Problem

When trying to Add LTC address, the QR code was rejected.

Reality

The QR includes an URI which includes a prefix "litecoin:" which causes the failure.

Recommendation

Referring to https://en.bitcoin.it/wiki/BIP_0021, the Litecoin Core app produces a similar URI and should be parsed accordingly.

Environment

Video Clips

Clip of Bug
ChangeNow-bech32

Environment

Video Clips

Clip of Bug
ChangeNow-bech32
kcw-grunt commented 4 years ago

UPDATE: The failure was detailed by @coblee and the solution is to add support for this input cc: @ProninPS , @ChangeNOW-lab

kcw-grunt commented 3 years ago

cc: @sirak201