[AC-5705] NSBluetoothPeripheralUsageDescription is required when include FB SDK module
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Not Our Bug |
Resolution Date | 2018-04-17T07:21:23.000+0000 |
Affected Version/s | Appcelerator Studio 4.5.0 |
Fix Version/s | n/a |
Components | Appcelerator Modules |
Labels | facebook, facebookSDK, ios |
Reporter | ardy wongso |
Assignee | Shak Hossain |
Created | 2018-04-17T02:19:30.000+0000 |
Updated | 2018-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}
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.
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.
[~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).