on-internet
← Community

How to get DeviceInfo and DeviceId in React js web application Not React-Native Application

Stack Overflow ·

I have Installed React-native-device-info API in my React js project. But when running npm start command in command prompt it was throwing error like " Module not found: Can't resolve 'react-native' in '\node_modules\react-native-device-info\lib\module' . I have tried all the solutions on google. But the implementations are related to react-native applications only. I need some help how to get deviceinfo and deviceid for REACTJS web application.

Comments

Sign in or sign up to comment and upvote.

No comments yet.