Browse Source

MDM

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 2 years ago
parent
commit
7ca9367061
2 changed files with 1 additions and 48 deletions
  1. 0 47
      MDM/AppConfig/specfile.xml
  2. 1 1
      iOSClient/Brand/NCBrand.swift

+ 0 - 47
MDM/AppConfig/specfile.xml

@@ -1,47 +0,0 @@
-<managedAppConfiguration>
-	<version>1.0.0</version>
-	<bundleId>it.twsweb.Nextcloud</bundleId>
-	<dict>
-		<string keyName="serverUrl">
-			<defaultValue>
-				<value>https:&#x2F;&#x2F;cloud.nextcloud.com</value>
-			</defaultValue>
-		</string>
-		<string keyName="username">
-			<defaultValue>
-				<value>marino.faggiana</value>
-			</defaultValue>
-		</string>
-		<string keyName="password">
-			<defaultValue>
-				<value>password</value>
-			</defaultValue>
-		</string>
-	</dict>
-	<presentation defaultLocale="en-US">
-		<field keyName="serverUrl" type="input">
-			<label>
-				<language value="en-US">serverUrl</language>
-			</label>
-			<description>
-				<language value="en-US">Nextcloud server url</language>
-			</description>
-		</field>
-		<field keyName="username" type="input">
-			<label>
-				<language value="en-US">username</language>
-			</label>
-			<description>
-				<language value="en-US">User Name</language>
-			</description>
-		</field>
-		<field keyName="password" type="input">
-			<label>
-				<language value="en-US">password</language>
-			</label>
-			<description>
-				<language value="en-US">Password</language>
-			</description>
-		</field>
-	</presentation>
-</managedAppConfiguration>

+ 1 - 1
iOSClient/Brand/NCBrand.swift

@@ -31,7 +31,7 @@ import UIKit
         return instance
     }()
 
-    @objc public let configuration_bundleId: String = "it.twsweb.Nextcloud"
+    @objc public let configuration_bundleId: String = "com.apple.configuration.managed"
     @objc public let configuration_serverUrl: String = "serverUrl"
     @objc public let configuration_username: String = "username"
     @objc public let configuration_password: String = "password"