I'm being asked about NSBluetoothPeripheralUsageDescription when uploading my iOS app to store but I don't use the xtremepush iBeacon capability why?

This started with iOS 10 and XCode 8. NSBluetoothPeripheralUsageDescription is a required usage description to have to add to your app if it includes CoreBluetooth. The xtremepush iOS SDK currently requires you to do that.

However this usage description is only used when "Acts as a bluetooth LE accessory" is added to background modes (the xtremepush SDK doesn't need this mode and our Beacon capability only turns on if you add Beacons on the platform).  If you your app needs background mode "Acts as a bluetooth LE accessory" for some reason iOS will show a system dialog with text: 

  • "APP_NAME would like to make data available to nearby bluetooth devices even when you're not using the app. USAGE_DESCRIPTION". 

Otherwise the NSBluetoothPeripheralUsageDescription is not used and the user is not shown a bluetooth related prompt.

So if you add a description and make sure you don't have the background mode "Acts as a bluetooth LE accessory" switched on, iTunes will be happy and your users won't receive a system prompt RE bluetooth. And if you don't want to use the xtremepush Beacon capability as long as you don't add any Beacons on the platform our Beacon technology won't turn on client side either.


Have more questions? Submit a request


Please sign in to leave a comment.