Testing and debugging apps in the work space

If you develop enterprise apps, you can test your apps in the work space of a BlackBerry 10 device that is running BlackBerry 10 OS version 10.2 or later. In the development environment you use, set your launch configuration to run or debug on a device, and switch to the work space before you deploy the app.

There are a few considerations when you test apps in the work space:

  • You must be running BlackBerry 10 OS version 10.2 or later on your BlackBerry 10 device.
  • The Restrict Development Mode IT policy rule must be set to No.
  • The Development Mode Access to Work Space IT policy rule must be set to Allow.

    Only BlackBerry Enterprise Service 10 version 10.1.3 or later supports the Development Mode Access to Work Space IT policy.

  • If the Development Mode Access to Work Space rule is disabled, apps that you previously tested in the work space are removed.
  • You can overwrite an app that your administrator pushes, but if the Development Mode Access to Work Space rule is disabled, your app is removed and isn’t reinstalled.

Using Web Inspector in the work space

You can use Web Inspector to debug apps in the work space.

The following information applies to debugging apps in the personal space and the work space:

  • When you package your app, set the debug flag (-d). For more information, see Enabling Web Inspector.
  • Enable development mode on your device.
  • You can deploy your app to your device using a USB cable or over Wi-Fi.

When you debug apps in the work space, you must connect to your device using a Wi-Fi or VPN connection.

  • You can use a Wi-Fi profile that was pushed to your device by the BlackBerry Enterprise Server so that the network is recognized as a work network. You cannot use a Wi-Fi profile that was added manually to debug an app in the work space. You can find the Wi-Fi IP address under Settings > About > Network.
  • Alternatively, you can log in from a wireless network or from a personal or public Wi-Fi network if you use a VPN that was pushed to your device by the BlackBerry Enterprise Server. You need to use the VPN IP address. You can find the VPN IP address under Settings > About > Network.

Last modified: 2014-09-29



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus