Skip Navigation

Security changes in
iOS
9 and later

Apple
introduced underlying security changes in
iOS
9 that can impact
BlackBerry Dynamics SDK
apps, depending on how the apps are deployed. The changes relate to service discovery and keychain sharing. Review the new requirements below and modify your apps as necessary:
Requirement
Description
Add an "enterprise" discovery scheme
In the
Xcode
project's
Info.plist
file (or via the
Xcode
UI), in the 
URL Schemes > CFBundleURLSchemes
 section, add the following line:
com.good.gd.discovery.enterprise
This scheme is in addition to the other required or optional schemes discussed in Build-time required declarations: URL type.
Keychain group sharing for multiple apps
Apple
's keychain group sharing allows groups of apps to share information that is stored on a device's keychain. Keychain group sharing is required when you are developing multiple inter-related apps. The setting is part of a project's build.
To enable keychain group sharing in an
Xcode
project:
  1. Open the app's project file.
  2. Click the application target >
    Capabilities
    tab.
  3. Turn on
    Keychain Sharing
    .
    You may be asked for your developer password and to choose a development team. The provisioning profiles for each app must come from the same team and must share the same App ID prefix (see below).
  4. In the 
    Keychain Group
    field, type
    com.good.gd.data
    .
If the settings for keychain group sharing change, it is recommended to do a fresh reinstall of the new version of the app, instead of upgrading the old version. This ensures that the new keychain settings take effect.
Common application identifier (App ID prefix)
An App ID prefix is a unique ID that groups a collections of apps and enables those apps to share keychain and UIPasteboard data. Apps that share keychain data must have a common App ID prefix from
Apple
.
If your enterprise applications do not share the same App ID prefix,
BlackBerry Dynamics
Easy Activation does not work because the apps cannot discover each other.
The
Apple
App ID prefix is completely independent of the
BlackBerry Dynamics
 entitlement ID
.