How to handle numbers in other languages?

jrahma 111 Reputation points
2021-02-09T20:23:51.76+00:00

Hi,

In iOS it writes the numbers in Arabic (hindi) and English formats which is fine for typing but it creates a major problem in development.

For example, hen the user sign in to my app using 0501234567 using English keyboard it will allow him to sign up as a new user because the number does not exists and if he tries later using the same number but in Arabic keyboard It will also allow him to sign up although it's the same number which causing a duplicate account for me here..

Here is the sample of the number for your reference

66061-img-1742.jpg

65964-img-1741.jpg

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,293 questions
{count} votes