Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5705] NSBluetoothPeripheralUsageDescription is required when include FB SDK module

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionNot Our Bug
Resolution Date2018-04-17T07:21:23.000+0000
Affected Version/sAppcelerator Studio 4.5.0
Fix Version/sn/a
ComponentsAppcelerator Modules
Labelsfacebook, facebookSDK, ios
Reporterardy wongso
AssigneeShak Hossain
Created2018-04-17T02:19:30.000+0000
Updated2018-04-17T07:22:27.000+0000

Description

There is no issue when in development stage, but once we want to push it to appstore, it get rejected with below message, but whenever we remove FB SDK, it works just fine {panel} Missing Info.plist key - This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSBluetoothPeripheralUsageDescription key with a string value explaining to the user how the app uses this data. {panel}

Comments

  1. Mostafizur Rahman 2018-04-17

    Hello [~dyan02], Thanks for sharing the problem. Check the [link](https://stackoverflow.com/questions/39415895/app-rejected-due-to-missing-usage-descriptions-xcode8). Hope this helps.
  2. ardy wongso 2018-04-17

    Yes, but i dont use any bluetooth tech on the application, so I should not be ask to fill NSBluetoothPeripheralUsageDescription if i downgrade the FB module to 5.4.0 it works just fine during submission to appstore.
  3. Hans Knöchel 2018-04-17

    [~dyan02] It looks like the native Facebook SDK recently added Bluetooth-capabilities to their SDK, making the flag required for all users. I suspect it to be an error though, since it a) dies not describe how it is used and b) should only require it once related methods are used. I'd open a [bug report at Facebook](https://developers.facebook.com/bugs/create/) to push for a fix. Unfortunately this is nothing we can influence, since we simply wrap the native SDK. Thank you and let us know your Facebook ticket number! P.S.: The latest Ti.Facebook iOS version is 5.8.0, available [via Github](https://github.com/appcelerator-modules/ti.facebook/releases).

JSON Source