Android app configurations and sending custom data, hardware serial number & MAC address to Android?

This is with respect to this article for another MDM: https://www.ws1inhawaii.com/2023/02/delivering-managed-configurations.html

Would like to know whether SOTI could do something similar for Android device deployments, to send over the Android device's hardware serial #s, hardware MAC address, and any custom data set from SOTI via an app configuration that an Android app would use that we can deploy with to the device. Data that is not normally exposed by Android API to Android Apps, to which we could supplement by having MDM provided that data to the app via the app configs.

Given that SOTI supports run intents like Workspace One, I assume this type of feature might also be supported? If yes, where can I find reference material for how to do the same type of thing as that blog post but for SOTI? I assume most of the steps are the same. What would vary is the config steps to do on the SOTI side.

a year ago
SOTI MobiControl
ANSWERS
RC
Raymond Chan Diamond Contributor
a year ago

Soti MobiControl can pass value for defined keys for managed configuration parameter implemented in any AppConfig COMPLIANT app, whether it is based on the your mentioned article or any other similar online documents about AppConfig.  Just set the required value(s) in the "Managed App Conifg" tab of the app in it associated "App Policy" in the web-console.   

For serial numbers and hardware MAC address, just use Mobicontrol standard macros %SERIALNUM% and  %MAC%  respectively in the value field.   If I remember correctly,  custom attributes were not supported about 18 months ago.  I have no idea if such support has been added or not in the latest releases.

Hi, 

I can just add you can use Custom attributes %CustomAttr:NAME% in managed app config. We are just testing this with success (on Mobicontrol 15.6).

MD
Matt Dermody Diamond Contributor
a year ago

Another mechanism that might possibly work is to use the JS based scripting to save these properties to a file in shared storage somewhere on the device and to then have your app read in the values from that configuration file. This is an obviously less secure method than leveraging Managed Configurations but it might technically work.

ZC
Zafer Cigdem
a year ago

Hi,

I did use either Custom Attribute or Custom Data earlier. As Rafael said,

Custom attributes %CustomAttr:NAME% would be an option or similarly Custom data version as below:

Custom Data: %MCCustomData:CustomdataName%

You can use Android JS APIs to send out some data to the devices here is the source: Namespace: device | Android Agent JavaScript (soti.net)

If you may need any help on the Android APIs, feel free to let us know. I hope it helps.

Thank you

S
SMMOD@SOTI
a year ago

Hi David,

I hope the suggestions provided by Raymond, Zafer, Rafael, and Matt have helped you answer your query. Please inform us if you require further assistance. 

Additionally, if any response has helped to address your inquiry, we kindly request you to mark it as "is solution" so that others may also benefit from this information.

Thank you Raymond, Zafer, Rafael, and Matt for your valuable suggestions.

Thank you for choosing SOTI.