natintosh / intl_phone_number_input

MIT License
166 stars 510 forks source link

toString() throws exception when phonNumber is null #311

Closed jakub-cosmose closed 2 years ago

jakub-cosmose commented 2 years ago

Describe the bug phoneNumber is a nullable value, but the method toString calls phoneNumber!. This causes the problem that printing the PhoneNumber e.g. for debugging purposes can crash the app.

Package version v0.7.0+2

bynalab commented 2 years ago

Hi @jakub-cosmose, Thanks for reporting this. The issue has been resolved. Should be available on the next update.

I'll go ahead and close this issue now. Thanks