Devang Goswami
Devang Goswami

Reputation: 284

Route audio through bluetooth ios

I need some help from you ....

I have an app for VoIP calling and i need to route audio of call through bluetooth even in background (in case someone press home button while call is in progress ).. Do i need to set anything in info.plist file in background modes ??

enter image description here

This is what i have been set for background modes to use bluetooth and apple rejected app with given reason below :

2.16 Details

Your app declares support for bluetooth-central, and bluetooth-peripheral, in the UIBackgroundModes key in your Info.plist, but does not provide Bluetooth Low Energy functionality. The Bluetooth Background modes are for applications that communicate to other devices using Bluetooth Low Energy and the Core Bluetooth framework.

Next Steps

Please revise your app to add support for Bluetooth Low Energy communication through Core Bluetooth in your application or remove the bluetooth- values from the UIBackgroundModes key.

Please help me out .... Thanks in Advance !!!

Upvotes: 1

Views: 1371

Answers (1)

vivekDas
vivekDas

Reputation: 1288

This is because you are not using core Bluetooth functions in your app.Just check "Audio and Airplay" and "Voice over IP" check boxes under Background Modes and resubmit the app.

Upvotes: 3

Related Questions