Configure SOTI Surf as the Default Browser (Android)

Use device scripts to configure or remove SOTI Surf as the default browser on supported Android devices.

Before you begin

You must have Send Scripts permission enabled for the device group under Send Action Commands. See Device Group Permissions.
Attention: These scripts are deprecated and do not work on Android 11 or later. If a default browser is set before installing, users can override it. If it is set after installing, users cannot override it.

About this task

Apply device scripts to configure SOTI Surf as the default browser. This is useful for organizations that require controlled access to internal and external web content without compromising data security. See Using SOTI Surf for more details.

Supported platforms include:

  • Android Enterprise | Work Managed
  • Android Enterprise | Work Profile
  • Android Enterprise | Corporate Owned Personal Enabled (COPE)
  • Android Classic
  • Samsung ELM
Remember: Device settings do not display SOTI Surf (or any browser) as the default, even when set.

Procedure

  1. Open the Send Script dialog. See Sending Scripts to Devices.
  2. In the Script Type field, select Legacy.
    Selecting a script type.
  3. Send the script to configure SOTI Surf default browser settings. Choose from the following scripts by platform:
    Enrollment Platform Set as Default Remove as Default
    Android Enterprise | Work Managed Android Enterprise | Work Profile set_default_browser <packageName>/<activity>

    Example:

    set_default_browser net.soti.surf/net.soti.surf.ui.activities.DeeplinkActivity
    clear_preferred_activities <packageName>

    Example:

    clear_preferred_activities net.soti.surf
    Android Enterprise | COPE Profile insideagent set_default_browser <packageName>/<activity>

    Example:

    insideagent set_default_browser net.soti.surf/net.soti.surf.ui.activities.DeeplinkActivity
    clear_preferred_activities <packageName>

    Example:

    insideagent clear_preferred_activities net.soti.surf
    Android Classic Profile set_default_browser <packageName>

    Example:

    set_default_browser net.soti.surf
    clear_default_browser
    Samsung ELM Profile default_application set <intentString> <ComponentName>

    Example:

    default_application set OPEN_URL_TASK net.soti.surf/net.soti.surf.ui.activities.DeeplinkActivity
    default_application remove <intentString> <ComponentName>

    Example:

    default_application remove OPEN_URL_TASK net.soti.surf/net.soti.surf.ui.activities.DeeplinkActivity
  4. Select a delivery method from the Delivery dropdown list. For details, see Sending Scripts to Devices.
  5. Select Send Script.

Results

The selected devices apply the script, setting or removing SOTI Surf as the default browser.