nextcloud / ios

📱 Nextcloud iOS App
https://itunes.apple.com/us/app/nextcloud/id1125420102
GNU General Public License v3.0
1.95k stars 879 forks source link

Managed App Configuration #1408

Closed rkscon closed 1 year ago

rkscon commented 4 years ago

Expected behaviour

Deploy Config via Apple MDM

Actual behaviour

Does not accept config. App without config

Steps to reproduce

Use Apple MDM Server, use provided specfile.xml (and insert config), deploy

Reasoning or why should it be changed/implemented?

Better handling of IOS app for Business Customers

In my oppinon, the Managed App Configuration should also be able to manage all features that can be configured in the app, e.g. the autoupload

iOS version

13.6.1

App version

3.0.6.8

michaelstingl commented 4 years ago

duplicate for https://github.com/nextcloud/ios/issues/563 ?

rkscon commented 4 years ago

Yes it seems someone had this as feature request, because of the provided specfile i thought this would be a avaliable feature.

heinrich-foto commented 1 year ago

Should the spec file work (https://github.com/nextcloud/ios/blob/master/MDM/AppConfig/specfile.xml)? For me it doesn't. The MDM pushes the spec to the app, but it doesn't change any Server URI. Maybe a Provider Spec would be good to have?

marinofaggiana commented 1 year ago

The next 4.4 will be available.

heinrich-foto commented 1 year ago

Thanks for adding this issue to the 4.5 milestone.

Refering to this https://developer.jamf.com/developer-guide/docs/managed-app-configuration I also tried a config file like this:

<plist>
<dict>
    <key>serverUrl</key>
    <string>https://nextcloud.example.de</string>
    <key>username</key>
    <string>%Username%</string>
    <key>password</key>
    <string>%Password%</string>
</dict>
</plist>

The Jamf-School MDM pushes the config to the device with this log message: Change Settings (Set config for it.twsweb.Nextcloud using managed config: jsp)

This shows that the App Bundle ID is correctly transferred in the Config, so it does not have to be configured by the Admin.

But in the iPad OS app the NCAppConfigView doesn't appear. Do I need to set some values for this: NCBrandOptions.shared.use_configuration?

marinofaggiana commented 1 year ago

Use V 4.5

Schunk1337 commented 1 year ago

Unfortunately it doesn't work with version 4.5 either. I work for a school authority and we manage 15000 IOS devices via our MDM. It would be great if we could pre-configure Nextcloud via our MDM. Thanks

marinofaggiana commented 1 year ago

Hi @Schunk1337 you can contact our sales department for this kind of request.

mat-har commented 1 year ago

This is a very important feature for any company with perhaps more than 40 smartphones. We have 150 Android devices, and they all need to be managed without user interaction.

tobiasKaminsky commented 1 year ago

We support this via our branding: https://nextcloud.com/branding/

huibuhrwth commented 1 year ago

Tried the config above with my ten user Installation - doesn’t work eather. Can’t find the config file in the GitHub project?

RalfMZWT commented 1 year ago

@Schunk1337 Hello, do you have a solution to your problem in the meantime, because we have it too.

DocSnyderLiMA commented 1 year ago

@Schunk1337 or @heinrich-foto: have you managed to get the Jamf payload for "Server and Login credentials" to the iOS Nextcloud Client (higher than version 4.5) within the Community Version?

@tobiasKaminsky: or is this request not possible within the free plan of nextcloud?

Thanks for any reply.