Menu

Samsung Email

In this section, we explain how to enable the configuration of Samsung Email using managed configurations. Managed configurations is supported for Samsung Email beginning with v6.0.x.x.

Steps

  1. If you have a UEM solution that already uses Knox SDK APIs from the classes EmailPolicy, EmailAccountPolicy, and Exchange Account Sync , consider replacing them with managed configurations to minimize duplication and confusion.
  2. Follow the steps in General Steps to set up an HTTPS server if you do not already have one, display an iframe, and listen for user interaction.
  3. In your iframe, provide the package name for Samsung Email, com.samsung.android.email.provider, in addition to your web token, as shown below:
  4. <script src="https://apis.google.com/js/api.js"></script>
    <div id="container" style="width: 1000px; height: 1000px"></div>
    <script>
        gapi.load('gapi.iframes', function() {
        var options = {
        'url': 'https://play.google.com/managed/mcm?token=web_token&packageName=com.samsung.android.email.provider',
        'where': document.getElementById('container'),
        'attributes': {
        style: 'height:1000px',
        scrolling: 'yes' }
        }
        var iframe = gapi.iframes.getContext().openChild(options);
        });
    </script>

  5. Check that your iframe displays a schema like the one below: