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
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.