PiedTeam / NikeCloneTraining-BE-Project

0 stars 0 forks source link

[BO] Apply lib phone number API #171

Open lcaohoanq opened 2 weeks ago

lcaohoanq commented 2 weeks ago

https://github.com/PiedTeam/NikeCloneTraining-BE-Project/issues/137#issuecomment-2150482508 Based on research in the previous sprint, change all API related to phone number method to the new lib

[!note] Need to make sure this change not impact on FE

minhhy2801 commented 2 weeks ago

You haven't finished research solution, how could u inprocess this ticket?

lcaohoanq commented 2 weeks ago

You haven't finished research solution, how could u inprocess this ticket?

Ah, when open this issue and #137, I think both oh theme can do parallel, does i need to revert this to backlog or keep in current status

lcaohoanq commented 2 weeks ago

cc @minhhy2801

After discussion with @hoangday185 and @nnh53, we divide this issue to smaller feature:

Image

lcaohoanq commented 2 weeks ago

Frontend will not impact, Backend fixing the current function in api /send-otp-phone

Refs:

lcaohoanq commented 2 weeks ago

cc @minhhy2801

After discussion with @hoangday185 and @nnh53, we divide this issue to smaller feature:

  • @nnh53 will find many available firebase app, config them
  • @hoangday185 will handle when the app reach to the limit OTP send
  • I will refactor the current send otp module, ensure will send OTP to the client successfully (client will receive the sms message below)

Image

@hoangday185, @nnh53

lcaohoanq commented 1 week ago

trong truong hop no fail thi lam cach nao moi nhan duoc, hoac co cach nao do, nhin thay no that binh thuong nhat, neu thay verify cua authentication cua firebase no tot hon thi minh se dung hoac api hien tai tot hon

lcaohoanq commented 1 week ago

cc @minhhy2801

Image

Start sending total 7 request sms with +84934162561, all resolve, but come to 8th request, receive error:

Image

Image

Change to use other phone +84979083300, it's work, reolsve and i can receive the OTP

Image

@nnh53, in the time switch app configuration, how many time does it take? (in average)

lcaohoanq commented 5 days ago

[Continue to estimate]

[Overview result]

lcaohoanq commented 5 days ago

@nnh53 @Buicongbang04 I've update your task, Ms.Minh need to tell her the process of the task in your report tomorrow