Chooloo / koler

Just a phone app.
Other
953 stars 133 forks source link

Issue with country code numbers #520

Closed scottbetza closed 1 year ago

scottbetza commented 1 year ago

Checklist

Steps to reproduce the bug

  1. Use a non stock contacts app like Connect You v2.4
  2. Press on number of a contact such as +1 719-266-2837
  3. Expected outcome is default dialer app automatically calls the number. However koler crashes with numbers such as the above.

Actual behaviour

Koler crashes.

Expected behavior

Koler to dial number.

Screenshots/Screen recordings

N/A

Logs

03-18 19:24:38.498 E/AndroidRuntime(30223): Process: com.chooloo.www.koler, PID: 30223
03-18 19:24:38.498 E/AndroidRuntime(30223): java.lang.RuntimeException: Unable to resume activity {com.chooloo.www.koler/com.chooloo.www.koler.ui.main.MainActivity}: java.lang.IndexOutOfBoundsException: setSpan (13 ... 13) ends beyond length 12
03-18 19:24:38.503 I/am_crash( 1972): [30223,0,com.chooloo.www.koler,550026820,java.lang.IndexOutOfBoundsException,setSpan (13 ... 13) ends beyond length 12,SpannableStringBuilder.java,1326]
03-18 19:24:38.506 I/wm_finish_activity( 1972): [0,243437852,746,com.chooloo.www.koler/.ui.main.MainActivity,force-crash]

Device info

Android 13 stock rooted TQ1A.230205.002 Pixel 5a 5g

scottbetza commented 1 year ago

Hi @roeiedri . Any chance you all can include bug fix in next build to make the app compatible with the ITU E.123 standard?

roeiedri commented 1 year ago

The number you should works, there has been some fixes to the number system so if that happens again please reopen this issue