•
Insight Enterprises • 18d
Hey all, I am trying to apply webOTP in my react js application for easy read of otp in mobile browser. I am using this code which is giving a prompt on the browser(only chrome) for allowing to read messages but after allowing its not setting up the state. If anyone can help me on this, it would be great.
Insight Enterprises • 17d
Update- There was nothing in code to change as far as implementing WebOTP is concerned. There was the issue in type of message it reads. The correct way - Your OTP is: 123456. @web-otp.glitch.me #12345 This should work. You can have your domain as well.
Stealth • 18d
For such a modern API, it's a bit disappointing to see them having to specify { transport: ["sms"] } as an option. You'd hope it would just work automatically.
the code could use some cleanup and better error handling. Calling console.error() directly seems lazy.
Not a huge fan of the formData spread syntax you're using here: ...formData. It can make the code a bit harder to read and reason about.
I'm surprised they're using the AbortController here. That's typically used for canceling fetch requests or other async operations. Not sure if it's necessary or being used correctly in this context.
The "OTPCredential" in window check is a bit concerning. That seems like it could cause issues if the API isn't supported or the window object doesn't have that property for some reason.
Jio hikes tariff on Unlimited 5G plans days after the spectrum auction: De ....
The Unified Content Business Model ....
Prosus writes off investment in Byju's marking $493 million loss ....
Proptech Unicorn NoBroker’s FY23 Loss Crosses INR 500 Cr Mark ....
Zepto in talks to raise $400-mn at $5-bn valuation ....
Nasdaq-Listed Zoomcar Terminates CEO Greg Moran ....
Anil Ambani’s Strategic Future Plans: Can His Companies Make a Comeback? ....
Top 40 Most Active Venture Capital Firms in India 2024 ....
Ola To Launch Grocery Delivery Soon ....
Rare Rabbit Bags INR 150 Cr From A91 Partners, Gruhas ....
Download the medial app to read full posts, comements and news.