Hello! I hope you all are doing great. It's my first time to post here hope to get a good response from the talented developers around the world.
What is my task?
First visit my website: Karwish.com its a Wordpress based website.
Theme: Adforest
i am using DIGITS plugin for login and sign up.
Ok, everything is working fine here. but now need one thing. If you register with phone number (only Pakistani number allowed) and visit Profile Page on karwish.com. you will see a phone number update input field with value="user current phone number" at the bottom. Now user can easily enter a new number and click update then an OTP will be sent to the user phone number he will enter that OTP and phone number will be updated.
Ok that's working very fine on website. But now come to mobile android app.
I am using Adforest native app. which is a native android app of Adforest Wordpress theme. So, I want to add that phone update field on my mobile app.
Now my android developer will add a new input field for phone number update on mobile app. than he will pass the parameters using API.
So, now what you have to do? (this is the only thing you have to do!)
You have to take that parameter of phone number, then check if that phone number is not registered with any other user then update the new phone number and return the parameter for android using API.