Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

How to add parameters to iOS Info.plist

Dmitry_P_2
Beginner
694 Views

Hello,

In order to allow bluetooth applications work in the background on iOS devices, there are couple of parameters which need to be appended to the Info.plist. Here is the documentation:

https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/CoreBluetooth_concepts/CoreBluetoothBackgroundProcessingForIOSApps/PerformingTasksWhileYourAppIsInTheBackground.html#//apple_ref/doc/uid/TP40013257-CH7-SW6

I thought of using hooks with cordoba-custom-config plugin but apparently XDK doesn't support hooks. So, what would be a proper XDK way to achieve the same result? Can this be automated with the XDK builds in some other way?

Thank you in advance...

 

 

0 Kudos
2 Replies
PaulF_IntelCorp
Employee
694 Views

Generally, this can be done by creating a simple plugin that consists of a plugin.xml file with directives to add to your plist file. See this FAQ for some help > https://software.intel.com/en-us/xdk/faqs/general#android-manifest <

0 Kudos
Dmitry_P_2
Beginner
694 Views

@Paul - thank you very much for the reference, it works fine now!

I really appreciate quick response, saved us tons of time.

0 Kudos
Reply