MSG91 / sendotp-node

38 stars 24 forks source link

React Native Support #22

Open NJJ2 opened 5 years ago

NJJ2 commented 5 years ago

Hi,

currently I'm developing React Native where i need to use MSG91 for Use register OTP Verification. but I'm getting Current error while compiling

bundling failed: Error: Unable to resolve modulecryptofrom/Users/apple/Desktop/Projects/RN/REG/node_modules/request/lib/helpers.js: Modulecryptodoes not exist in the Haste module map

May be this npm package wont work in react native. please help me asap.

chinmaygit commented 5 years ago

It is not a secure practice to integrate SMS library on clients device, use intermediate backend for authentication and verification. Unless you have good reason to do so.