Hi Ignacio,
You can create a nanoflow that feeds an entity with the following deviceinfo activity:
This activity returns the following device attributes in an object
I hope this helps you, regards
Hi Ignacio,
You seem to be mixing up some terms here. When you are running a native app, you are running it on a mobile device, such as a smartphone. To get the deviceID of the smartphone you can use a Javascript action from the NativeMobileResources module called ‘GetDeviceInfo’. This will return the deviceID for you.
An after startup event is a microflow that runs at the startup of the Mendix runtime on the server and not on the mobile device. In fact, you can't run Java code in a React Native app at all.