MeshCentralAndroidAgent icon indicating copy to clipboard operation
MeshCentralAndroidAgent copied to clipboard

Android App Preconfiguration and Autoconnect

Open prononext opened this issue 3 years ago • 4 comments

Is there any way to preconfigure the Android MeshCentral App to push it through a Mobile Device Management with following settings?

  1. Set MeshCentral Server Address
  2. Auto Connect to MeshCentral Server
  3. Auto Accept Streming + Recording
  4. Configure User Consent

That would be really nice.

prononext avatar May 09 '22 14:05 prononext

Not right now, but I have never used a Mobile Device Management software. If you know of a way this is typically done? let me know, I can look at adding support for it.

Ylianst avatar May 09 '22 21:05 Ylianst

You might be able to glean useful info from here on MDM

https://github.com/flyve-mdm/android-mdm-agent

silversword411 avatar May 15 '22 12:05 silversword411

I was thinking about a finished apk inside Meshcentral. Inside that APK the server and other settings are already set. Of course there are a ton of plugins to use. But for MDM normally the MDMs base API needs to be integrated into the non-system-app, in which you want to change settings. So preconfigured API would be much nicer and easier to update.

As for flyve mdm, its quite outdated, tried several times to get in contact with no success.

prononext avatar May 16 '22 10:05 prononext

you cant at the moment do alot of the things you want from the google play store or APK. BUT you can hardcode the URL, if you build/built the APK yourself and distribute it yourself, link below to the lines you need to change https://github.com/Ylianst/MeshCentralAndroidAgent/blob/main/app/src/main/java/com/meshcentral/agent/MainActivity.kt#L40-L44

si458 avatar Feb 14 '24 13:02 si458