codeborne / mobileid

Java Mobile-ID interface for Estonia/Lithuania
http://codeborne.com/
MIT License
21 stars 9 forks source link

mobileID does not work with Lithuanian numbers #10

Closed rrrluk closed 6 years ago

rrrluk commented 6 years ago

372 always gets added

if (phone != null) {
  if (phone.startsWith("+")) phone = phone.substring(1);
  if (!phone.startsWith("372")) phone = "372" + phone;
}
asolntsev commented 6 years ago

@rrrluk Wow, I didn't think that somebody uses our library in Lithuania! Thank you for reporting the issue.

Fixed and released version 1.4 (will appear in maven central repository in few hours).

rrrluk commented 6 years ago

Works, awesome, thank you!