FAQ: Are there changes in iOS 13 that may impact my app?

Yes. Apple has introduced stricter permissions requirements in iOS 13 that enforce a tighter control for Bluetooth access.



Overview

With the release of iOS 13, we want to let you know about an important change. This change is not related to JW Player's SDK specifically, but we do want to make sure all of our customers aware of any third-party updates.

Apple has introduced stricter permissions requirements in iOS 13 that enforce a tighter control for Bluetooth access.

In order to prevent failed casting sessions and application crashes, we encourage all customers to make a small change to their iOS applications. This change does not require development changes or SDK updates. But, it does require resubmitting your app to the App Store.

After making the following change to your app, your app users will be required to provide Bluetooth access permissions. If a user declines to give permission to Bluetooth access, the casting button will disappear and casting functionality is disabled. Playback on the device is unchanged.


Implement the change

Bluetooth access request in Info.plistBluetooth access request in Info.plist

Bluetooth access request in Info.plist

Use the following steps to implement this change:

  1. In Xcode, open Info.plist for your app.
  2. Create a Key named NSBluetoothAlwaysUsageDescription. When added, this appears as Privacy - Bluetooth Always Usage Description.
  3. From the Type options, select String.
  4. Set a message noting that Bluetooth is needed to enable Google Cast as the Value.

You can also update the source code of Info.plist:

<key>NSBluetoothAlwaysUsageDescription</key>
    <string>Bluetooth is needed to enable Google Cast.</string>

📘

RELATED

Enable casting to Chromecast devices


Did this page help you?