Open 12nick12 opened 3 years ago
This feature is available if you build the current branch source code. In Android Studio, open the MainActivity.kt You will see instructions towards the top of the code.
this is correct, file MainActivity.kt
line 40(ish)
i believe you just scan the QR code from the web ui for the group you want,
then copy the URL from it to the string below
// You can hardcode a server connection string into this application by setting this string.
// Make sure to replace all $ with \$ if your link string contains the $ character
// Once set, the resulting APK will be hard coded and users can't unset this value.
val hardCodedServerLink : String? = null
//val hardCodedServerLink : String? = "mc://central.mesh.meshcentral.com,2ZNi1e2Lrqi\$nnQ7NLJCJWNwxGD9ZstiNzxs\$LIE1tcHQD45bPDvbcKzpC9zUTX9,7b4b43cdad850135f36ab31124b52e47c167fba055ce800267a4dc89fe0e581c"
Hi, how hard would it be to hardcode the server info into an APK so I can deploy company wide?
Thanks, Nick