34
Views
8
Comments
How do I get the device information in react web
Question
Application Type
Reactive

Hello everyone, 
I am trying to get the device information of the device that accesses a certain page on my app. I found the outsystem article below, which according to the description, it works for both mobile and web development. However, I am not getting the desired output.

https://success.outsystems.com/documentation/11/reference/outsystems_apis/javascript_api/device/#whenready

2026-01-28 16-57-48
Mihai Melencu
Champion

Hi @Parcidio Andre ,

Which information do you want, and is the app primarily inteded for web desktop or mobile? 

2025-03-01 08-39-03
Parcidio Andre

The application is a reactive web app and it is intented to be use by mobile user that will get to scan the QR code to the app´s page.
So the information that I would like to get are as follows:
- DeviceModel 
- UUID
- Serial Number 
- Manufacturer
- IsSimulator 

2026-01-28 16-57-48
Mihai Melencu
Champion


Reactive Web apps always run in the browser, so Cordova is never available there. Mobile apps, on the other hand, run inside a Cordova WebView, which means Cordova becomes available after the deviceready event.

Because of this, if you need to access device information such as device.uuid, you won’t be able to do it from a Reactive Web app.

As an alternative you can use Web APIs. I found these articles that can help you with some items on your list, as far as I searched I didn't found anything helpful for the UUID.

Device Model:

Retrieving Device Model Information with JavaScript from Browsers

Manufacturer:

How can I find the mobile phone manufacturer using javascript on mobile browser


2025-03-01 08-39-03
Parcidio Andre
2025-08-07 06-30-56
Amit J
Champion

Try below componant to get device information .

https://www.outsystems.com/forge/component-overview/5389/get-device-information-o11

2025-03-01 08-39-03
Parcidio Andre

@Amit Jain I see that all your suggestion a fit for mobile app. However, I am looking for webapp solutions

2025-08-07 06-30-56
Amit J
Champion


In Reactive Web Apps (which run inside the browser, regardless of device), you can’t directly access device-specific identifiers such as:

UUID / Device ID

Device Model

Serial Number

Manufacturer

These kinds of details are only accessible in native contexts (like OutSystems Mobile Apps built on Cordova/Capacitor) where plugins or APIs can fetch device information.

In a Reactive Web App:

You can only get what the browser allows (via JavaScript APIs): things like screen size, user agent, OS, browser type, maybe approximate location (with user permission), but not unique hardware identifiers.

2024-07-12 05-57-50
Gourav Shrivastava
Champion

Hello @Parcidio Andre 

I think in a Reactive Web App, you won’t be able to get details like UUID, device model, serial number, or manufacturer. Those values are only available in native mobile apps because they rely on device APIs that browsers don’t expose for security and privacy reasons.

In a web app, the only information you can get is what the browser allows, such as operating system, browser type, screen size, and language.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.