Get Application url (Runtime URL) in mendix native

I want to check to which enviornment my application is connected with so that i can modify my customized sharing url in Mendix native app. How i can access my current application url / runtime url from a nanoflow
1 answers

I don't know which Mendix version you use, but from a nanoflow it's possible to call a microflow in later versions. For example, you could create a microflow that returns the runtime url as a string and call it from your nanoflow. (I assume you're already aware of the java action in community commons)