Wish there was a way to check the users' login device so you could navigate to a specific screen based on how they are accessing the powerapps application.
Would be helpful to know the following as well:
* Actual device type
* OS version (for mobile devices)
* Screen physical size
* Current (real) screen orientation (portait/landscape)
* Whether the device has "locked" the orientation
FYI - in part you can do this with a Flow, by having PowerApps calls the Flow, and having the Flow parse triggerOutputs()['headers']
This will show the content of the web request that PowerApps made into Flow which has lots of useful info such as the User-Agent string, x-ms-user-agent, etc. I have the Flow parse this and return it back to the PowerApp, so it can finally know who it is. 🙂 x-ms-user-agent is particularly interesting as here is the only way I've found to get the AppId of the PowerApp (its a shame that a PowerApp can't get its own ID any other way), version of PowerApps the app was saved with, "interpreter" that PowerApps is running under (such as studio, etc), and other things.
I don't recall anything like device type, but it may be able to be inferred from these.
Note also that there are "PowerApps for App Makers" and "PowerApps for Admins" connectors now, that MAY give you the information you're looking for - I seem to recall device info in one of them, but have not tried it yet (and the docs are VERY vague, barely adequate at best). Not sure if you would be required to do this via Flow (most likely) or if a PowerApp could use the connector itself. Most likely Flow would be required if nothing else than because the user of the PowerApp (unless an App Maker or Admin) would not be able to execute it.
But I totally agree, we need to know the following form within the PowerApps:
etc... Shame that PowerApps doesn't provide ANY of this information to the application.
@BrianR I agree, I added that to the idea as well.
I have submitted a similar idea where I want to access mobile hardware information and sensor values. please vote on idea at: https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Access-Mobile-device-information-in-Canvas-app/...