nic-delhi / AarogyaSetu_Android

Aarogya Setu Android app native code
https://www.aarogyasetu.gov.in/
Other
2.89k stars 1.95k forks source link

can i add phone number verification feature #404

Open WaterHashira opened 4 years ago

WaterHashira commented 4 years ago

phone number verification feature can be added by using Regex like this:- (although this not the exact code, but it will sort of be like this. )

String regex = "^(.+)@(.+)$";
Pattern pattern = Pattern.compile(regex); Matcher matcher = pattern.matcher(email); System.out.println(email +" : "+ matcher.matches());

sreejeet commented 4 years ago

Consider adding your thoughts to issue #394 instead of creating a duplicate issue.

WaterHashira commented 4 years ago

got it!!👍