SDK Multi Mode

With the SDK Multi Mode you can create your own contentApp catalog/magazine in your own design. The contentDock Viewer App is an example of the features that the contentDock SDK provides. In this mode only the published contentApps from your contentDock user account are displayed and in the contentDock Viewer App these contentApps are no longer listed. This means that you can create a contentApp catalog/magazine App that has been created exclusively for your company/brand. All functions that are available in the contentDock Viewer App can also be used in the SDK Multi Mode.


contentDock Categories

Each contentApp is assigned to one or more categories in the contentDock Managmenet System. If you activate the SDK key in your contentDock user account, only your configured categories can be assigned to a contentApp.


Activating the Multi Mode

  1. Activate an SDK key in your contentDock account settings. Make sure that the SDK key is not given to unauthorized third parties.
  2. Create or use the file "CDockSettings.plist" and set the SDK key there.


CDockSettings.plist Multi Mode

Create the following XML file if you want to use Multi Mode
<plist version="1.0">
    <dict>
        <key>SDKMode</key>
        <string>multi</string>
        <key>Key</key>
        <string>Your Account SDK Key</string>
        <key>Account</key>
        <string>Your contentDock webaddress</string>
        <key>useLocationService</key>
        <false/>
        <key>buttonSitemap</key>
        <string>topRight</string>
        <key>buttonImprint</key>
        <string>topRight</string>
        <key>buttonComment</key>
        <string>bottomLeft</string>
        <key>buttonAudio</key>
        <string>topLeft</string>
        <key>buttonClose</key>
        <string>bottomRight</string>        
    </dict>
</plist>

Parameters

  • SDKMode: for the Multi Mode the value multi must be set.
  • Key: set here the SDK key that you have activated in your contentDock user account
  • Account: set your contentDock web address here. Please do NOT set '.contentdock.com'.
  • useLocationService: true= the GEO position of the user is determined when starting a contentApp. The user have to agree to this actively. The GEO position is saved anonymously for your contentDock apps and is displayed in the statistics area of your contentDock Account. Attention: If your contentDock app should to be placed in the Apple App Store, please comply your App with the Apple App Store location service guidelines. If you use the app in your Apple Enterprise Account as an in-house app, you can use the Location Service without hesitation.
    If the value is false, then the GEO position is not determined.
  • buttonSitemap: contentDock automatically generates the sitemap of your contentApp and displays it via tap on the "Sitemap" button. You can set this button to the positions: topLeft / topRight / bottomLeft / bottomRight for your users. Default is topLeft. You can hide the button with notShow.
  • buttonImprint: contentDock automatically generates a imprint layer of your contentApp and displays it via tap on the "Imprint" button. You can set this button to the positions: topLeft / topRight / bottomLeft / bottomRight for your users. Default is topLeft. You can hide the button with notShow.
  • buttonComment: contentDock provides a notice board for your users, with which they can write or draw comments per page. This notice board is opened by tap on the button "Notice board". You can set this button to the positions: topLeft / topRight / bottomLeft / bottomRight for your users. Default is topLeft. You can hide the button with notShow.
  • buttonAudio: One audio file can be stored per page, which starts automatically as soon as the page is opened. With the Audio Buttons the user can control the audio. You can set these buttons to the following positions for your users: topLeft / topRight / bottomLeft / bottomRight. Default is topLeft. These buttons can be hidden with notShow.
  • buttonClose: The close button exits a contentApp in the multi mode. You can set this button to the positions: topLeft / topRight / bottomLeft / bottomRight. Default is topLeft.

More information


Feedback or Questions

We are always happy to help you with questions about the code or other questions.

Was this page helpful? Yes No

Topics on this page